*{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

button{
    padding: 5px 10px;
    cursor: pointer;
    color: #333;
    margin-top: 30px;
    border: none;
}

button:hover{
    transform: scaleX(100%);
    background-color:var(#ef7a34) ;
}



h1, h2, h3, h4, h5, a, li, p{
    font-family: font;
}

@font-face {
    font-family: font;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf);
  }

.container-fluid{
    width: 100%;
}

.container{
    width: 80%;
    margin: 0 auto;
}
section{
    overflow: hidden;
}


#preloader{
  background: #ffffff url('../img/preloader.gif') no-repeat center center;
  background-size: 20%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;

}

html{
  scroll-behavior: smooth;
}

/*HOME*/

/*HEADER*/

.navigacija{
    display: flex;
    flex-direction: row;
    position: fixed;
    z-index: 9990;
    background-color: rgba(250, 250, 250, 0.9);
    width: 100%;
    transition: .7s;
}

.menu{
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
}

.menu li{
    flex-basis: 20%;
    text-transform: uppercase;
    color: #333;
}

.logo img{
    max-width: 150px;
    margin-left: 50px;
}

.sticky{
  background-color: rgb(250, 250, 250);
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: .7s;
}


/*MENU TOGGLE*/

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: fixed;
    right: 50px;
    top: 50px;
    display: none;
  
  }


  
  .bar {
    width: 100%;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: #333;
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background-color: #333;
  }

  .toggleNavi{
    left: 0;
    transition: .7s;
}


/* SLAJDER */

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 7s linear alternate infinite;
    -webkit-animation: zoom 7s linear alternate infinite;
  }


  @keyframes zoom{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(1.2);
    }
}
  
  .slide.active {
    opacity: 1;
  }


  .slide-text {
    position: absolute;
    width:70%;
    bottom: 10%;
    right: 2%;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 50px;
    box-shadow: 0 0 20px black;
    border: 3px solid white;
  }

  .slide-text h1{
    font-size: 4em;
    font-weight: 700;
  }



  .slide-text p{
    font-size: 1.5em;
    color: white;
    font-weight: 100;
    letter-spacing: 5px;
  }



  /*MAIN OFFER*/

  .main-offer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 150px auto;
  }

  .main-offer-single{
    flex-basis: 20%;
    text-align: center;
  }

  .main-offer-single img{
    max-width: 70px;
    margin: 30px auto;
  }

  .main-offer-single p{
    height: 250px;
    display: block;
  }

  .main-offer-single a{
    padding: 5px 10px;
    display: block;
    border: 1px solid #ef7a34;
    margin-top: 20px;
  }

  .main-offer-single h4{
    text-transform: uppercase;
    margin: 10px auto;
    color: #ef7a34;
  }



  .about-main{
    display: flex;
    flex-direction: row;
    justify-content:center;
    margin: 50px auto;
  }

  .about-main-img{
    flex-basis: 50%;
  }

  .about-main-img img{
    margin: auto;
  }

  .about-main-text{
    flex-basis: 50%;
    margin: auto;
  }

  .about-main-text h2{
    margin: 20px auto;
  }

  .parralax{
    background-image: url('../img/colorhouse.jpg');
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 400px;
    position: relative;
  }

  .parralax h2{
    position: absolute;
    top: 50%;
    left: 10%;
    color: #333;
    font-size: 2.5em;
    background-color: rgba(250, 250, 250, 0.9);
    padding: 30px;
  }


  /*FOOTER*/

  footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
  }

.footer-info ul li{
  font-size: .7em;
  padding: 5px 0;
}

.footer-info ul li a{
  color: white;
}

  .footer-logo{
    flex-basis: 20%;
  }

  .footer-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 70%;
  }

  .back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 2em;
    -webkit-text-stroke: 1px black;
    cursor: pointer;
    display: none;
  }

  .call{
    position: fixed;
    font-size: 3em;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 9991;
    -webkit-text-stroke: 1px white;
    background-color: #ef7a34;
    padding: 10px 15px 10px 15px;
    border-radius: 55px 55px 55px 55px;
   
  }



  .prava{
    text-align: center;
    background-color:rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 0;
    border-top: 1px solid white;
  }

  .prava a{
    color: #ef7a34;
  }


  /*O NAMA*/
.parralax-onama{
  background: url('../img/town.jpg');
  background-attachment: fixed;
  height: 400px;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}

.parralax-onama h2{
  position: absolute;
  bottom: 5%;
  left: 5%;
  font-size: 3em;
  color: white;
  font-weight: 900;
}
  .onama{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 50px auto;
    border-bottom: 3px solid #ef7a34;
  }

  .onama-img{
    flex-basis: 45%;
    margin: auto;
  }

  .onama-text{
    flex-basis: 45%;
    margin: auto;
    text-align: justify;
  }

  .onama-text h2{
    font-size: 2em;
    font-weight: 300;
  }

  .tim{
    margin: auto;
    text-align: center;
    width: 80%;
    color: white;
    padding-top: 120px;
    font-size: 1.3em;
  }
.tim h2{
  margin: 30px 0;
  font-size: 3em;
  font-weight: 100;
}

.tim-fluid{
  background: url('../img/team1.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
  height: 500px;
}


.brojke{
  display: flex;
  flex-direction: row;
  height: 400px;
  justify-content: space-between;
  margin: 100px auto;
}
.globe-img{
  flex-basis: 20%;
  margin: auto;
}

.globe-img img{
  max-width: 100%;
  margin: auto;
}
.brojke-naslov{
  flex-basis: 30%;
  margin: auto;
}

.brojke-content{
  flex-basis: 40%;
  margin: auto;
}

.brojke-naslov h2{
  font-weight: 900;
  font-size: 4em;
  color: #333;
}

.brojke-content-single h3{
  font-size: 1.5em;
  padding: 20px 0;
  font-weight: 100;
}

.brojke-content-single i{
  color: transparent;
  font-size: 1.5em;
  font-weight: 100;
  -webkit-text-stroke: 1px #333;
}

.brojke-content-single h3 span{
  font-weight: 300;
  color: #333;
  font-size: 1.8em;
}



/*USLUGE*/
.usluge-top{
  background: url('../img/team.jpg');
  background-size: 100%;
  height: 600px;
  background-attachment: fixed;
  position: relative;
  background-repeat: no-repeat;
}

.usluge-top h2{
  display: block;
  color: white;
  position: absolute;
  bottom: 10%;
  left: 10%;
  font-size: 3.5em;
  width: 30%;

}
.usluge{
  display: flex;
  flex-direction: row;
  margin-top: 100px;
}

.usluge-side{
  display: flex;
  flex-direction: column;
  flex-basis: 30%;
  margin: 0 20px 20px 0;
}

.usluge-side h4{
  text-align: center;
}

.usluge-side img{
  max-width: 50%;
 margin: 0 auto;
}

.usluge-content{
  display: flex;
  flex-wrap: wrap;
  flex-basis: 70%;
  justify-content: space-between;
}

.usluge-content-single h2{
  margin: 7px 0;
}

.usluge-content-single{
  flex-basis: 45%;
  text-align: justify;
  margin-bottom: 30px;
}

.usluge-content-single img{
  max-width: 100%;
}

.usluge-side p{
  padding: 50px;
  text-align: justify;
}


/*PROIZVODI*/

.proizvodi{
  display: flex;
  flex-direction: row;
  margin-top: 150px;
  text-align: justify;
}
.proizvodi-side{
  display: flex;
  flex-direction: column;
  flex-basis: 20%;
  margin-right: 30px;
}

.proizvodi-side img{
  max-width: 100%;
}

.proizvodi-content{
  display: flex;
  flex-wrap: wrap;
  flex-basis: 70%;
}

.proizvodi-content-single{
  flex-basis: 26%;
  text-align: justify;
  margin-bottom: 30px;
  margin-right: 30px;
}

.proizvodi-content-single img{
  max-width: 100%;
}

/*KONTAKT*/

#forma{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 50px 0;
  background: url('../img/contactbg.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  background-attachment: fixed;
  
}

.contact-info{
  flex-basis: 40%;
  list-style: none;
  padding: 20px;
  margin: auto;
  border-right: 1px solid black;
  background-color: rgba(250, 250, 250, 0.9);
}

.forma{
  border-radius: 5px;
  flex-basis: 40%;
  padding: 30px;
  z-index: 500;
  margin: auto;

}

input{
  width: 100%;
  height: 50px;
  margin: 5px 0;
  text-align: center;
  border: 1px solid #f5b517;
  border-radius: 10px;
  z-index: 500;
}

textarea{
  width: 100%;
  border: 1px solid #f5b517;
  margin: 10px 0;
  border-radius: 10px;
  text-align: center;
}

.posalji{
  background-color: #0c76a8;
  color: white;
  cursor: pointer; 
  transition: .7s;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.2em;
  width: 100%;
  border-radius: 10px;
}

.posalji:hover{
  background-color: #f5b517;
  color: #0c76a8;
  transition: .7s;
}

.contact-info ul li{
  font-size: 1.2em;
  font-weight: 300;
  font-style: italic;
  margin: 5px 20px;
  color: #333;
}

.contact-info h3{
  margin: 20px 0;
  color: #333;
  font-weight: 500;
}



@media only screen and (max-width: 767px){

  .logo img {
    margin-left: 10px;
  }
  .slide-text{
    left: 5%;
    width: 90%;
    padding: 30px 15px;
    bottom: 20%;
    background-color: rgba(0, 0, 0, 0.7);
    
  }

  .social{
    display: none;
    
  }

  .menu-toggle{
    display:flex;
    right: 20px;
    top: -10px;
    z-index: 9999;
    transition: .7s;
  }

  .menu{
    flex-direction: column;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100vh;
    width: 100%;
    z-index: 10000;
    text-align: center;
    padding-top: 50px;
    right: 100%;
    transition: .7s;
  }

  .toggleNavi{
    left: 0;
    transition: .7s;
  }

  .menu a{
    color: white;
  }

  .menu i{
    color: #ef7a34;
  }

  .slide-text h1{
    font-size: 2em;
    margin-bottom: 30px;
  }

  .main-offer{
    flex-direction: column;
    margin: 10px auto;
  }

  .parralax{
    background-size: cover;
  }

  .parralax h2{
    left: 3%;
    font-size: 1.7em;
    padding: 16px;
    top: 30%;
  }

  .about-main{
    flex-direction: column-reverse;
    width: 100%;
  }

  .about-main-text{
    padding: 20px;
  }

  .about-main-img{
    flex-basis: 100%;
  }

  .about-main-img img{
    margin: 0;
  }

  footer{
    flex-direction: column;
    padding: 20px;
  }

  .footer-info{
    flex-direction: column;
    width: 100%;
  }

  .footer-info ul{
    margin: 15px 0;
    text-align: center;
  }

  .call{
    font-size: 2em;
    left:10px ;
  }

  /*O NAMA*/

  .parralax-onama{
    background-size: cover;
    background-position: center;
    height: 550px;
  }

  .onama{
    flex-direction: column;
  }

  .onama-img{
    flex-basis: 100%;
  }

  .onama-img img{
    max-width: 100%;
  }

  .tim-fluid{
    background-size: cover;
  }

  .tim{
    padding-top: 0;
    width: 95%;
  }

  .tim h2{
    font-size: 1.7em;
  }
  .brojke{
    flex-direction: column;
    height: auto;
    margin: 20px auto;
  }

  .brojke-naslov h2{
    font-size: 2.9em;
  }

  /*PROIZVODI*/

  .proizvodi{
    flex-direction: column;
    margin-top: 100px;
  }
  .proizvodi-content{
    flex-basis: 100%;
  }
  .proizvodi-content-single{
    flex-basis: 100%;
    margin-right: 0;
    margin-top: 20px;
  }


  .proizvodi-side{
    margin-right: 0;
  }

  .usluge-top{
    background-size: cover;
    background-position: right;
    height: 350px;
  }

  .usluge-top h2{
    font-size: 1.6em;
    width: 55%;
  }

  .usluge{
    flex-direction: column;
    margin-top: 20px;
  }

  .usluge-side{
    flex-basis: 100%;
    margin: 0;
  }

  .usluge-side img{
    max-width: 100%;
  }

  .usluge-side p{
    padding: 20px 0;
  }

  .usluge-content{
    flex-basis: 100%;
  }

  .usluge-content-single{
    flex-basis: 100%;
  }


}






