*{
  margin:0px;
  padding:0px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  letter-spacing: 1px;
  scroll-behavior: smooth;
}
h1{
  font-size: calc(21px + 1vw);
  z-index: 2;
  position: relative;
  padding-bottom: 10px;
  text-shadow: 1px 1px #1a1a1a;
  max-width: 700px;
}
a{
  color:#fff;
}

/***Navbar***/
.nav{
  position: fixed;
  width:100%;
  height: 65px;
  z-index: 9999;
  background-color:#2F3841;
  padding: 0 calc(8px + 1.5vw);
}
.nav-container{
  display:flex;
  justify-content:space-between;
  align-items: center;
  height: 100%;
  width:100%;
}
.logo{
  width:180px;
  padding-top: .4em;
}
.nav-links{
  display:flex;
}
.nav-links li{
  list-style: none;
}
.nav-links a{
  font-size: 15px;
  color:#fff;
}
.nav-links a:hover{
  color: #5ACF88;
  transition:400ms;
}
.burger{
  display:none;
  cursor: pointer;
}
.burger div{
  width:25px;
  height:3px;
  margin:5px;
  background-color:#fff;
  transition: all 400ms ease;
}
.toggle .line1{
   transform:rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    opacity:0;
}
.toggle .line3{
    transform:rotate(45deg) translate(-5px,-6px);
}
/***End-navbar***/

/***Hero***/
.hero{
  height:100vh;
  min-height: 450px;
  width:100%;
  padding: 0 calc(10px + 1.5vw);
  position:relative;
  display:flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color:#fff;
  animation: heroAnimation  18000ms ease-in-out infinite;
}
.hero::after{
  content: "";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.hero p{
  margin: 15px 0 50px;
  text-shadow: 1px 1px #1a1a1a;
  font-size: 17px;
  line-height: 1.5;
  max-width: 550px;
}
.hero-text{
  z-index: 1;
}
.cta{
  background-color: #336F8D;
  border: 0;
  border-radius: 56px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 500;
  outline: 0;
  padding: 14px 38px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.cta:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 7%;
  opacity: .5;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 87%;
}
.cta:hover {
  box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
  transform: scale(1.05);
}
/***End-hero***/

/***Uvod***/
#uvod{
  padding:65px calc(10px + 1.5vw);
}
.uvod-container{
  width:100%;
}
#uvod p{
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}
#uvod h2{
  color:#21364a;
  font-size: 21px;
  font-weight: 700;
  padding-bottom: 25px;
}
#uvod h3{
  color:#21364a;
  font-size: 18px;
  margin-bottom: 10px;
}
.uvod1{
  margin-bottom: 25px;
}
/***End-uvod***/

/***Usluge-cards***/
#usluge-container{
  padding:65px calc(10px + 1.5vw);
  background: #E4EEF4;
}
#usluge-container h2{
  color:#21364a;
  font-size: 21px;
  margin-bottom: 50px;
}
 .usluge-card{
   position:relative;
   overflow: hidden;
   display:flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background: #336F8D;
   height:250px;
   margin-bottom: 30px;
   border-radius: 15px;
 }
 .card-ani h3,
 .card-ani .ikona{
   z-index: 2;
 }
 .card-ani .layer{
   z-index: 1;
   position: absolute;
   top: calc(100% - 6px);
   height: 100%;
   width: 100%;
   left: 0;
   background: #214D63;
   transition: 0.5s;
 }
 .usluge-card.card1{
   background: #214D63;
 }
 .usluge-card.card6{
   background: #214D63;
 }
 .usluge-card h3{
   font-size: 19px;
   color:#fff;
   width:280px;
   text-align: center;
   margin-top: 20px;
 }
 .usluge-card.card1 h3,
 .usluge-card.card6 h3{
   font-size: 22px;
   margin:0;
 }
 .besplatna-ponuda{
   margin-top: 30px;
   padding:15px 35px;
   font-size: 15px;
   border-radius: 30px;
   border:1px solid #5ACF88;
 }
 .usluge-card .ikona{
   font-size: 50px;
   color:#5ACF88;
 }
/***End-usluge-cards***/

/***Usluge***/
#usluge{
  width:100%;
  padding: 65px calc(10px + 1.5vw);
}
#usluge h2{
  padding-bottom: 40px;
  font-size: 21px;
  color:#21364a;
  max-width: 600px;
}
#usluge h3{
  color: #21364a;
  font-size: 18px;
}
.suha-gradnja{
  padding-bottom: 30px;
}
.suha-gradnja-text{
  line-height: 1.5;
  color: #424242;
  margin:10px 0 30px;
}
.suha-gradnja li,
.soboslikarski-radovi li{
  padding-bottom: 10px;
  font-weight: 500;
  font-size: 15.2px;
  list-style: none;
  color:#424242;
}
.soboslikarski-radovi-wrapper{
 display:flex;
 flex-direction: column;
 padding-top: 70px;
}
.soboslikarski-radovi{
  order:1;
  padding-bottom: 30px;
}
.soboslikarski-radovi-slika-wrapper{
  order:2;
}
.soboslikarski-radovi p{
  line-height: 1.5;
  color: #424242;
  margin:10px 0 30px;
}
.suha-gradnja-slika,
.soboslikarski-radovi-slika{
 max-width: 100%;
 max-height:100%;
 border-radius: 20px;
 box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.fa-check{
  color: #3f8bb1;
  margin-right: 5px;
}
.veci-projekti{
  font-weight: 600;
  color: #424242;
}
/***End-usluge***/

/***Paralax***/
.paralax{
  position: relative;
  width:100%;
  background-image:url(img/paralax.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.paralax::after{
  content: "";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.paralax-container{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding:70px 0;
  margin: 0 auto;
  width:90%;
  max-width: 800px;
}
.paralax p{
  color:#fff;
  text-align: center;
}
.para-clanova{
  margin:80px 0;
  display:flex;
  flex-direction: column;
}
.para-iskustvo,
.para-uspjeh{
  display:flex;
  flex-direction: column;
}
.para-broj{
  font-size: 35px;
  padding-bottom: 10px;
  font-weight: 500;
  z-index: 2;
}
.para-text{
  font-size: 16px;
  z-index: 2;
}
/***End-paralax***/

/***O-nama***/
#o-nama{
  padding: 0 calc(10px + 1.5vw);
}
#o-nama .nas-tim{
  color:#21364a;
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}
.o-nama-container{
  padding: 65px 0;
}
.text{
  padding-bottom: 30px;
}
.text p{
  line-height: 1.5;
  color: #424242;
}
.text1{
  margin-bottom: 20px;
}
.kombi{
  width:100%;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
/***End-O-nama***/

/***Odaberi-nas***/
#odaberi-nas{
 background: linear-gradient(90deg, #003D69 0%, #1AA4CA 100%);
 padding: 65px calc(10px + 1.5vw);
}
#odaberi-nas h2{
  color:#fff;
  font-size: 21px;
  margin-bottom: 60px;
}
.odaberi{
  display:flex;
  flex-direction: column;
  align-items: flex-start;
}
.odaberi .ikona{
  font-size: 50px;
  color: #5ACF88;
  padding-bottom: 25px;
  animation: iconAnimation 9000ms linear infinite;
}
.tehnike{
  margin:70px 0;
}
.odaberi h3{
  padding-bottom: 12px;
  font-size: 19px;
  color:#fff;
  text-align: left;
}
.odaberi p{
  line-height: 1.5;
  color:#fff;
  font-size: 15.1px;
}
/***End-odaberi-nas***/

/***Projekti***/
#projekti{
  padding: 65px calc(10px + 1.5vw) 35px;
}
#projekti h2{
  padding-bottom: 10px;
  font-size: 21px;
  color: #21364a;
}
.projekti-text{
  color: #424242;;
  font-size: 17px;
  line-height: 1.4;
}
.projekti-container{
  max-width: 1300px;
  margin:0 auto;
  margin-top: 10px;
}
.projekti-container h3{
  padding-top: 70px;
  padding-bottom: 5px;
  color: #424242;
  font-size: 18px;
}
.projekt-items{
  width:100%;
  padding-top: 20px;
}
.projekt-item{
  margin-bottom: 30px;
  border-radius: 15px;
}
.projekt-item img{
  width:100%;
  height:100%;
  border-radius: 15px;
}
/***End-projekti***/

/***Kontakt***/
#kontakt{
  background: linear-gradient(90deg, #003D69 0%, #1AA4CA 100%);
  padding:65px 0;
}
.kontakt-wrapper{
  padding: 0 calc(10px + 1.5vw);
  max-width: 1300px;
  margin:0 auto;
}
#kontakt h3{
  color: #5ACF88;
  font-size: 16px;
  text-transform: uppercase;
  padding-bottom: 10px;
}
#kontakt h2{
  font-size: 21px;
  color:#fff;
  padding-bottom: 15px;
}
#kontakt h4{
  font-size: 18px;
  color:#fff;
  padding-bottom: 5px;
}
#kontakt p{
  color:#fff;
  line-height: 1.5;
}
.kontakt{
  margin-top: 40px;
}
.ured-wrapper,
.tel-wrapper,
.mail-wrapper{
  display:flex;
  flex-direction: row;
  align-items: center;
  margin-top: 50px;
}
.mail,
.tel,
.ured{
  border-left: 1px solid #9a9b9c;
  padding-left: 15px;
}
.fas-wrapper {
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;

}
#kontakt .fas {
  font-size: 30px;
  color: #5ACF88;
}
.broj,
.Mail{
  color: #5ACF88;
  font-weight: 500;
}
/***End-kontakt***/

/***Futer***/
 footer{
  height: 70px;
  background-color:#2F3841;
  color:#fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.fut-container p{
  line-height: 1.5;
  font-size: 15px;
}
span{
  color:#3f8bb1;
}
/***End-futer***/

/***Media***/
@media screen and (max-width:1023px) {
  body{
    overflow-x: hidden;
  }
  .nav-links{
    position:absolute;
    right:0px;
    top:0px;
    height:100vh;
    padding-top:90px;
    background-color: #2F3841;
    display:flex;
    flex-direction: column;
    width:60%;
    transform: translateX(100%);
  }
  .nav-links li{
    margin:25px 0 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #3f8bb1;
  }
  .nav-links a{
    padding:10px 70px 5px 10px;
  }
  .burger{
    display:block;
    margin-right: 10px;
  }
  .nav-active{
    transform: translateX(0%);
    transition:transform 500ms ease-in;
  }
}
@media screen and (min-width: 768px) {
  .nav{
    height:80px;
  }
  .nav{
    padding: 0 calc(22px + 1.5vw);
  }
  .logo{
    width:250px;
  }
  .hero{
    padding: 0 calc(30px + 1.5vw);
  }
  h1{
    font-size: 35px;
    max-width: 600px;
  }
   .hero-text {
    padding: 80px 0;
  }
   .uvod-container{
    max-width: 1300px;
    margin:0 auto;
  }
  #uvod{
    padding: 85px calc(30px + 1.5vw);
  }
  #uvod h2{
    font-size: 28px;
    max-width: 600px;
    padding-bottom: 40px;
  }
  .uvod-text-wrapper{
    display:flex;
    justify-content: space-between;
  }
  .uvod1{
    width:47%;
    margin:0;
  }
  .uvod2{
    width:48%;
  }
  #usluge-container{
    padding: 85px calc(30px + 1.5vw);
  }
  .usluge-card-container{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .usluge-card{
    margin:0 0 30px 0;
    width:48%;
  }
  #usluge {
    padding: 85px calc(30px + 1.5vw);
  }
  #usluge-container h2{
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 28px;
  }
  #usluge h2{
    font-size: 28px;
    max-width: 800px;
  }
  #usluge h3{
    font-size: 20px;
  }
  .paralax-container{
    flex-direction: row;
    justify-content: space-between;
  }
  #o-nama{
    padding: 0 calc(30px + 1.5vw);
  }
  .o-nama-container{
    padding: 80px 0;
  }
  #o-nama .nas-tim{
    font-size: 28px;
  }
  #odaberi-nas h2{
    text-align: center;
    margin-bottom: 80px;
    font-size: 28px;
  }
  #odaberi-nas{
    padding: 80px calc(30px + 1.5vw);
  }
  .odaberi-nas-container{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .odaberi{
    width:30%;
  }
  .tehnike{
    margin:0;
  }
  .suha-gradnja-slika,
  .soboslikarski-radovi-slika{
    max-height: 500px;
    width: 100%;
    object-fit: cover;
  }
  #projekti{
    padding: 80px calc(30px + 1.5vw) 50px;
  }
  #projekti h2{
    font-size: 28px;
    text-align: center;
  }
  .projekti-text{
    text-align: center;
    max-width: 700px;
    margin:0 auto;
  }
  .projekt-items{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .projekt-item{
    width:48%;
  }
  .kontakt-wrapper{
    padding: 15px calc(30px + 1.5vw);
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .kontakt{
    margin:0;
  }
  .kontakt-text{
    width:50%;
    order:2;
  }
  .ured-wrapper,
  .mail-wrapper{
    margin:0;
  }
  .tel-wrapper{
    margin:25px 0;
  }
  .fut-container{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:350px;
  }
}
@media screen and (min-width: 1024px) {
  .nav-container{
    max-width: 1300px;
    margin:0 auto;
  }
  .nav-links{
    width:500px;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav-a-spec{
    border:1px solid #336F8D;
    padding:12px 35px;
    border-radius: 20px;
  }
  .hero-text{
    max-width: 1300px;
    margin:0 auto;
    width:100%;
  }
  h1{
    max-width: 700px;
  }
  .uvod-container{
    display:flex;
    justify-content: space-between;
  }
  .uvod-naslov{
    width:31.5%;
  }
  .uvod-text-wrapper{
    width:65%;
  }
  #uvod h3{
    font-size: 20px;
  }
  .usluge-card-container{
    max-width: 1300px;
    margin:0 auto;
  }
  .usluge-card{
    width:31.5%;
  }
  .card-ani:hover .layer{
    top:0;
  }
  #usluge h2{
    text-align: center;
    margin: 0 auto 30px;
  }
  .suha-gradnja-wrapper{
    display:flex;
    justify-content: space-between;
    max-width: 1300px;
    margin:0 auto;
  }
  .suha-gradnja{
    width:47%;
  }
  .suha-gradnja-slika-wrapper{
    width:50%;
  }
  .soboslikarski-radovi-wrapper{
    flex-direction: row;
    justify-content: space-between;
    max-width: 1300px;
    margin:0 auto;
  }
  .soboslikarski-radovi-slika-wrapper{
    order:1;
    width:50%;
  }
  .soboslikarski-radovi{
    width:47%;
  }
  .o-nama-container{
    display:flex;
    justify-content: space-between;
    max-width: 1300px;
    margin:0 auto;
  }
  .text{
    width:47%;
  }
  .slika{
    width:50%;
  }
  .odaberi-nas-container{
    max-width: 1200px;
    margin:0 auto;
  }
  .projekt-item{
    overflow: hidden;
  }
  .projekt-item:hover img{
    transform: scale(1.2);

  }
  .projekt-item img{
      transition:transform 400ms;
  }
  #kontakt h2{
    font-size: 23px;
  }
}
@media screen and (min-width: 1440px) {
  .nav-links{
    width:550px;
  }
  h1{
    font-size: 40px;
    max-width:800px;
  }
  .hero p{
    font-size: 19px;
    max-width: 650px;
  }
  .cta{
    font-size: 16px;
    padding:17px 50px;
  }
  .cta:before{
    width: 90%;
    left: 5%;
  }
  #uvod h2{
    font-size: 30px;
  }
  #usluge-container h2{
    font-size: 30px;
    margin: 0 auto 80px;
    max-width: 700px;
  }
  #usluge h2{
    font-size: 30px;
    min-width: 800px;
    padding-bottom: 80px;
  }
  #o-nama .nas-tim{
    font-size: 30px;
    width:500px;
  }
  .suha-gradnja li, .soboslikarski-radovi li{
    font-size: 16px;
  }
  #odaberi-nas h2{
    font-size: 30px;
  }
  .odaberi h3{
    font-size: 20px;
  }
  .odaberi p{
    font-size: 16px;
  }
  #projekti h2{
    font-size: 30px;
  }
  .projekt-item{
    width:31.5%;
  }
  .para-broj{
    font-size: 40px;
  }
  #kontakt h2{
    font-size: 27px;
  }
}
/***End-media***/

/***Keyframes***/
@keyframes navLinkFade {
   from{
     opacity:0;
     transform:translateX(50px);
   }
   to{
     opacity:1;
     transform:translateX(0px);
   }
}
@keyframes heroAnimation {
  0%{
    background-image: url("img/hero1.jpg");
  }
  33%{
    background-image: url("img/hero2.jpg");
  }
  66%{
    background-image: url("img/hero3.jpg");
  }
  100%{
    background-image: url("img/hero1.jpg");
  }
}
@keyframes iconAnimation {
  0%,100%{
    transform: rotateY(0deg);
  }
  50%{
    transform: rotateY(360deg);
  }
}
