/*Slajd od tri slike sa naslovima na početku stranice*/
.linear {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  margin-top: 4%;
}
.linear:after {
  content: "";
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(68, 109, 172, 0.9),
    rgba(68, 109, 172, 0.1)
  );
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.slides {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide {
  position: absolute;
  height: 100%;
  opacity: 0;
  inset: 0;
  animation: slide-show 12s infinite;
}

.slide-2 {
  animation-delay: 4s;
}

.slide-3 {
  animation-delay: 8s;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes slide-show {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20%,
  30% {
    opacity: 1;
    scale: 1.03;
  }
  50% {
    opacity: 0;
  }
}
/*Naslovi za slajd u gornjem desnom uglu*/
.first-title {
  color: #333;
  font-size: 1.5em;
  font-weight: 300;
  border-bottom: 4px solid rgb(118, 151, 190);
  position: absolute;
  top: 50px;
  right: 40px;
}

.first-title p {
  padding: 15px 20px;
}
/*Naslovi za slajd u donjem desnom uglu*/
.alu-title {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -60%);
  font-size: 5em;
  color: #fff;
  width: 70%;
  text-align: end;
}

.container-galerija,
.container-usluge,
.container-proizvodi,
.container-uniform,
.container-fasade {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  background: #f0efef;
  padding: 10px 10px 10px 10px;
  box-shadow: 100px 0px 50px rgba(0, 0, 0, 0.8);
}

.container-fasade:after {
  position: absolute;
  z-index: 5;
  background-color: inherit;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform-origin: top left;
  transform: skewY(-2deg);
  box-shadow: 5px -10px 10px rgba(0, 0, 0, 0.2);
}

.container-inoks,
.container-prozori {
  height: 100%;
  padding: 10px;
  box-shadow: 100px 0px 50px rgba(0, 0, 0, 0.8);
}

.container-prozori .right-text {
  width: 100%;
  height: 100%;
  z-index: 6;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7)),
    url(../img/prozoriivrata.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  background-clip: content-box;
}

.container-inoks .right-text {
  width: 100%;
  height: 100%;
  z-index: 6;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7)), url(../img/inoks.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  background-clip: content-box;
}

.container-fasade .right-text {
  width: 50%;
  height: 100%;
  z-index: 6;
  padding: 3vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.container-inoks .right-text .text,
.container-prozori .right-text .text {
  padding: 4rem;
}

.container-inoks .right-text .second-title,
.container-prozori .right-text .second-title {
  font-size: 2em;
  border-bottom: 4px solid rgb(254, 255, 255);
  width: 80%;
  margin-top: 40px;
  margin-bottom: 40px;
  letter-spacing: 20px;
  text-align: center;
}

.container-inoks .right-text .second-title p,
.container-prozori .right-text .second-title p {
  color: #fff;
}

.container-inoks .right-text .text,
.container-prozori .right-text .text {
  color: #fff;
}

.container-galerija .left-text .second-title,
.container-proizvodi .right-text .second-title,
.container-uniform .left-text .second-title,
.container-fasade .right-text .second-title {
  color: #333;
  font-size: 2em;
  border-bottom: 4px solid rgb(118, 151, 190);
  width: 80%;
  margin-bottom: 40px;
  letter-spacing: 20px;
}

.container-inoks .right-text .firstbtn1,
.container-prozori .right-text .firstbtn1,
.container-galerija .left-text .firstbtn1,
.container-proizvodi .right-text .firstbtn1,
.container-uniform .left-text .firstbtn1,
.container-fasade .right-text .firstbtn1 {
  background-color: rgb(118, 151, 190);
  padding: 15px 15px;
  border: none;
  border-radius: 5px;
  margin-top: 30px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 250px;
  transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s, color 0.5s;
}

.container-inoks .right-text .firstbtn1 a,
.container-prozori .right-text .firstbtn1 a,
.container-galerija .left-text .firstbtn1 a,
.container-usluge .left-text .firstbtn1 a,
.container-proizvodi .right-text .firstbtn1 a,
.container-uniform .left-text .firstbtn1 a,
.container-fasade .right-text .firstbtn1 a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.5s;
}

.container-inoks .right-text .firstbtn1:hover,
.container-prozori .right-text .firstbtn1:hover,
.container-galerija .left-text .firstbtn1:hover,
.container-usluge .left-text .firstbtn1:hover,
.container-proizvodi .right-text .firstbtn1:hover,
.container-uniform .left-text .firstbtn1:hover,
.container-fasade .right-text .firstbtn1:hover {
  transform: scale(1.1);
  opacity: 0.9;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.container-inoks .right-text .firstbtn1 .fa,
.container-prozori .right-text .firstbtn1 .fa,
.container-galerija .left-text .firstbtn1 .fa,
.container-usluge .left-text .firstbtn1 .fa,
.container-proizvodi .right-text .firstbtn1 .fa,
.container-uniform .left-text .firstbtn1 .fa,
.container-fasade .right-text .firstbtn1 .fa {
  color: #fff;
}

.container-fasade .left-img {
  width: 50%;
  background: url(../img/AlucoBondFasade.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 6;
}

.container-fasade .left-img img {
  height: 350px;
}

.container-galerija .left-text,
.container-proizvodi .right-text,
.container-uniform .left-text {
  width: 50%;
  height: 100%;
  padding: 3vh;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.container-uniform .right-img {
  width: 50%;
  background: url(../img/Uniform_theWM-4.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-uniform .right-img .images {
  max-width: 20%;
  max-height: 20%;
  margin: 10px;
}

.container-uniform .right-img .images img {
  width: 200px;
  transition: transform 0.5s ease-in-out;
}

.container-proizvodi .left-img {
  width: 50%;
  background: url(../img/glazing_hero.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-proizvodi .left-img img {
  height: 350px;
}

.container-usluge .left-text {
  width: 50%;
  height: 100%;
  padding: 3vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: url(../img/fasada1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.container-usluge .left-text .text {
  color: #fff;
}

.container-usluge .left-text .second-title p {
  color: #fff;
}

.container-usluge .left-text .second-title {
  font-size: 2em;
  border-bottom: 4px solid rgb(118, 151, 190);
  width: 80%;
  margin-bottom: 40px;
  letter-spacing: 25px;
}

.container-usluge .left-text .firstbtn1 {
  background-color: rgb(118, 151, 190);
  padding: 15px 15px;
  border: none;
  border-radius: 5px;
  margin-top: 30px;
  cursor: pointer;
  width: 250px;
  transition: transform 0.5s, opacity 0.5s, box-shadow 0.5s, color 0.5s;
}

.container-usluge .right-img {
  width: 50%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0efef;
  position: relative;
}

.container-usluge .right-img div {
  width: 60%;
  height: 100%;
  background: rgb(27, 27, 27);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
}

.container-usluge .right-img button {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 15px 0;
  justify-content: center;
  cursor: pointer;
  background: rgb(27, 27, 27);
  border: none;
  transition: border-bottom 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.container-usluge .right-img button img {
  padding-left: 20px;
}

.container-usluge .right-img button:hover {
  border-bottom: 1px solid rgb(118, 151, 190);
}

.container-usluge .right-img button a {
  text-decoration: none;
  color: #fff;
  transition: color 0.5s, transform 0.5s;
}

.container-usluge .right-img button:hover > a {
  color: rgb(118, 151, 190);
  transform: scale(1.1);
}

.container-usluge .right-img div img {
  padding: 0 20px;
}
.container-galerija .right-img {
  width: 50%;
  background: url(../img/front.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  outline: none;
  background-color: rgb(218, 164, 92);
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  rotate: 45deg;
  border: 2px solid black;
  transition: background-color 0.5s ease-in-out;
  box-shadow: 10px 0px 10px rgba(0, 0, 0, 0.2);
}
/*Dugme za vraćanje stranice na početak*/
#myBtn:hover {
  background-color: rgba(218, 164, 92, 0.8);
}

.inner {
  border: 2px solid black;
  border-radius: 4px;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner img {
  rotate: -45deg;
  width: 30px;
}

/*Parallax*/
.parallax {
  /* pozadinska slika za parallax */
  background-image: linear-gradient(rgba(255, 255, 255, 0.8)),
    url("../img/AlucoBondFasade.jpg");

  /* visina parallax-y */
  height: 20vh;

  /* efekat parallax */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/*footer*/
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0efef;
  position: relative;
  height: 100%;
  box-shadow: 100px 0px 50px rgba(0, 0, 0, 0.8);
}

footer .leftcol {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .leftcol img {
  width: 200px;
}

footer .midcol {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .midcol img {
  width: 100px;
  display: none;
}

footer .midcol a {
  text-decoration: none;
  color: #333;
  padding: 5px;
}

footer .midcol a:hover {
  font-weight: 700;
}

footer .rightcol {
  line-height: 2em;
  width: 30%;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

@media (max-width: 991px) {
  .first-title {
    font-size: 1em;
  }

  /*Naslovi za slajd u donjem desnom uglu*/
  .alu-title {
    font-size: 3em;
  }
  .slide {
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .alu-title {
    font-size: 2em;
  }

  .container-fasade .left-img,
  .container-uniform .right-img,
  .container-proizvodi .left-img,
  .container-usluge .right-img,
  .container-galerija .right-img {
    display: none;
  }
  .container-galerija .left-text .second-title,
  .container-proizvodi .right-text .second-title,
  .container-uniform .left-text .second-title,
  .container-fasade .right-text .second-title,
  .container-usluge .left-text .second-title {
    font-size: 1em;
  }

  .container-fasade .right-text,
  .container-galerija .left-text,
  .container-proizvodi .right-text,
  .container-usluge .left-text,
  .container-uniform .left-text {
    width: 100%;
  }

  footer .leftcol {
    display: none;
  }
  footer .midcol,
  footer .rightcol {
    width: 100%;
  }

  footer .midcol img {
    width: 100px;
    display: block;
  }
}
