*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}



a{
    text-decoration: none;
    color: #333;
}

@font-face {
    font-family: font;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf);
  }

  @font-face {
    font-family: font1;
    src: url(../brotherland-signature-font/BrotherlandsignatureBold-rg7jA.otf);
  }

h1, h2, h3, h4, h5, a, li, span, button, p, label, input, textarea {
    font-family: font;
}



button{
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: #1170c8 ;
    margin: 20px auto;
    color: white;
    cursor: pointer;
    display: block;
    
}

#preloader{
    background: white url('../img/loader.gif') no-repeat center center;
    background-size: 30%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10001;
}

.sticky{
    position: fixed;
    top: 0;
    background: white;
    z-index: 999;
    padding:10px;
    margin: 0;
    transition: .7s;
    opacity: 1;
}

section{
    overflow: hidden;
    margin: 100px auto;
}

.container{
    width: 80%;
    margin: 0 auto;
}

.flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.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 {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: #333;
    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;
  }




 /*NASLOVNA*/

 .language{
    position: relative;
    width: 100%;
    height: 100vh;
  }

  #fullscreen-video {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    
  }

.language-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background-color: rgb(211, 211, 211, .5);
    padding: 30px;
    width: 100%;
}

.logo-language img{
    width: 300px;
}

.language-text a img{
    max-width: 40px;
    margin: 0 5px;
    transition: .5s;
}

.language-text a img:hover{
    transform: scale(1.2);
    transition: .7s;
}

.language-text h1{
    font-size: 1em;
    font-weight: 300;
}

header{
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #333;
    padding: 20px;
    z-index: 999;
    background-color: rgba(255, 255, 355, .6);
    box-shadow: 0 0 125px white;
}

.social-bar ul{
    display: flex;
    flex-direction: row;
    position: relative;
}

.social-bar ul li{
    margin: 0 3px;
}

.social-bar ul li:last-of-type{
    position: absolute;
    right: 50px;
}

.social-bar ul li a img{
    max-width: 18px;
}

.navi{
    display: flex;
    justify-content: center;
}



.navi ul{
    display: flex;
    flex-direction: row;
    margin: auto;
}

.navi ul li{
    margin: 0 20px;
    text-transform: uppercase;
    transition: .5s;
}

.navi ul li:hover{
    transform: scale(1.1);
    transition: .7s;
    color: white;
}

.logo{
    width: 100%;
}

.logo img{
    display: block;
    max-width: 200px;
    margin: auto;
}

.center-h2{
    text-align: center;
    font-weight: 200;
    display: block;
}



/*NASLOVNA SLAJDER*/

.slider{
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider-naslovna{
    background: url('../img/zena-zubar.jpg');
}


.slider-text{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 100%;
}

.slider-text h1{
    font-size: 3em;
    text-transform: uppercase;
}



.slider-text {
    transition: opacity 0.5s ease-out;
}


/*REZERVACIJA*/

#slideWindow {
    position: absolute;
    bottom: 10%;
    right: -500px; /* Hide it off-screen */
    width: 400px;
    background-color: rgba(255, 255, 255, .6);
    color: #333;
    padding: 50px;
    box-shadow: -2px 0 5px rgba(255, 255, 255, 0.5);
    transition: right 0.3s ease;
}



input, textarea{
    width: 100%;
    padding: 5px;
}

#slideWindow.hidden {
    right: -500px;
}

#slideWindow.visible {
    right: 50px;
}
.forma-naslovna{
    position: relative;
}
.forma-naslovna i {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    
}


/*NASLOVNA USLUGE*/

.usluge-naslovna{
    margin: 50px auto;
}

.usluge-naslovna-single{
    flex-basis: 40%;
    text-align: center;
}

.usluge-naslovna-single img{
    max-width: 100px;
    display: block;
    margin: auto;
}

.onama-naslovna h2{
    border-bottom: 1px solid #333;
    text-align: center;
    font-size: 3em;
    font-family: font1;
}

.usluge-naslovna-single h3{
    font-weight: 400;
}

.onama-naslovna-text{
    flex-basis: 45%;
    margin: auto;
    text-align: justify;
}

.onama-naslovna-text p{
    margin-top: 30px;
}

.onama-naslovna-slika{
    flex-basis: 45%;
}

.onama-naslovna-slika img{
    max-width: 80%;
}

.lejer{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(#e66465, #9198e5);
    opacity: .6;
    
}

.parralax{
    background: url('../img/parr.jpg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    background-attachment: fixed;
    position: relative;
   
}

.parralax h2{
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 4em;
    color: #333;
    text-shadow: 0 0 20px white;

}

.parralax i{
    color: white;
}

.parralax2{
    background: url('../img/parr2.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    height: 400px;
    position: relative;
    background-position: center;
}

.parralax2-text{
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translateY(-50%);
}

.parralax2-text h2{
    color: white;
    text-shadow: 0 0 20px white;
    font-size: 2em;
}








/*O NAMA MAIN*/


.slider-onama{
    background: url('../img/girl-smiling.jpg');
}

.onama-text{
    flex-basis: 45%;
    text-align: justify;
}

.onama-slika{
    flex-basis: 45%;
    margin: auto;
}

.onama-slika img{
    max-width: 100%;
}
.onama-main{
    margin: 50px auto;
    border-bottom: 1px solid #333;
    padding: 20px;
}

.onama-text h2{
    text-align: center;
    margin: 30px 0;
}

.sektor-single{
    flex-basis: 20%;
    margin: auto;
    text-align: center;
    overflow: hidden;
}

.sektor-single-img{
    overflow: hidden;
    
    border: 1px solid #333;
}

.sektor-single-img img{
    max-width: 100%;
    margin: auto;
    transition: .5s;
    
}

.sektor-single-img:hover img{
    transform: scale(1.1);
    transition: .7s;
}







/*USLUGE*/

.slider-usluge{
    background: url('../img/123.jpg');
}

.usluge-side{
    flex-basis: 20%;
    
    margin:10px;
    padding-right: 10px;
}

.usluge-main-single{
    flex-basis: 75%;
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid #333;
}



.usluge-side img, .usluge-single img{
    max-width: 100%;
    transition: .5s;
    
}

.usluge-single img:hover{
    transform: scale(1.1);
    transition: .7s;
}

.usluge-single h3{
    margin: 40px 0;
}

.usluge-single{
    flex-basis: 45%;
    margin: 20px;
    overflow: hidden;
}


/*KONTAKT*/

.kontakt-info{
    margin: auto;
}

.kontakt-info ul li{
    font-size: 1.2em;
    margin: 5px 0;
}

.kontakt-info{
    flex-basis: 40%;
}

.rezervacija{
    flex-basis: 40%;
}

/*FOOTER*/

footer{
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 20px 0;
}

.footer-single{
    flex-basis: 20%;
    margin: auto;
}

.footer-single img{
    max-width: 100%;
}

.footer-single ul li{
    margin: 5px 0;
}

.prava p{
    text-align: center;
    padding: 5px 0;
}










@media only screen and (max-width: 991px){
 

    .flex{
        flex-direction: column;
    }

    .container{
        width: 95%;
    }

    .social-bar ul li:last-of-type{
        right: 0;
    }

    .menu-toggle{
        display:flex;
        right: 20px;
        top: 30px;
        z-index: 9999;
        transition: .7s;
      }

      .slider-naslovna{
        background-position: 37%;
      }

      #slideWindow{
        bottom: 5%;
        background-color: rgba(255, 255, 255, .8);
        width: 100%;
        z-index: 999;
      }

      #slideWindow.hidden {
        right: -100%;
    }

    #slideWindow.visible {
        right: 0;
    }

      

      .navi{
        position: absolute;
        top: 100%;
        left: 100%;
        height: 100vh;
        background: rgba(47, 47, 47, 1);
        border-top: 1px solid rgba(0, 0, 0, .1);
        transition: .7s;
        text-align: center;
        width: 100%;
      }

      .navi ul li a{
        color: white;
      }

      .toggleNavi{
        left: 0;
        transition: .7s;
      }

    .navi ul{
        flex-direction: column;
        padding: 20px;
        width: 100%;
        height: 100vh;
       
    }

    .navi ul li{
        height: 15% ;
    }

    .slider-text{
        top: 40%;
    }

    .slider-text h1{
        font-size: 2em;
        width: 100%;
    }

    .usluge-naslovna-single {
        margin: 20px auto;
    }

    .onama-naslovna-slika img{
        max-width: 100%;
    }

    .parralax h2{
        font-size: 2em;
    }

    .parralax2{
        height: 140px;
    }
    .parralax2 h2{
        font-size: .8em;
    }

    .slider-onama{
        background-position-x: 50%;
    }

    .onama-main{
        margin: 0;
        overflow: hidden;
    }

    .sektor-single{
        flex-basis: 100%;
    }

    .usluge-side{
        flex-basis: 100%;
    }

    .usluge-main-single{
        flex-basis: 100%;
    }

    .usluge-single{
        flex-basis: 100%;
    }

    .kontakt-info{
        margin-bottom: 50px;
    }

    textarea{
        height: 150px;
    }

    footer{
        text-align: center;
    }

    .footer-single img{
        max-width: 50%;
    }

    .footer-single{
        margin: 20px auto;
        flex-basis: 100%;
    }



}

