*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

section{
    overflow: hidden;
}

a{
    text-decoration: none;
}

@font-face {
    font-family: roboto;
    src: url('../Roboto/Roboto-Regular.ttf');
}

marquee{
    z-index: 10000;
}

h1,h2,h3,h4,h5,a,li,span,p, label, textarea, i{
    font-family: roboto;
}

.flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
}


.container{
    width: 80%;
    margin: 70px auto;
}



.preloader{
    background: #ffffff url('../img/loader.gif') no-repeat center center;
    background-size: 20%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
  
  }

  .language{
    position: relative;
    width: 100%;
    height: 100vh;

  }

  #fullscreen-video {
    position: fixed;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    width: fit-content;
    height: auto;
    z-index: -1;
    margin: auto;
    
  }

.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: 50px;
    margin: 0 5px;
    transition: .5s;
}

.language-text a img:hover{
    transform: scale(1.2);
    transition: .7s;
}

.language-text h1{
    font-size: 1em;
}


/*Header*/




.contact-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    padding: 10px;
}

.phone a{
    color: white;
}

.social-header a i{
    color: white;
    margin-right: 5px;
}


/*MENU TOGGLE*/




/*NAVIGACIJA*/

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .7);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 0 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 9998;
}

header img:first-of-type{
    max-width: 300px;
 }



header img{
   max-width: 200px;
   display: block;
   margin: 10px auto;

}

.navbar ul li a img{
    margin: 0;
}

.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: white;
    margin: 4px 0;
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background-color: white;
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: white;
  }




  header .navbar{
    margin: auto;
  }

header .navbar ul li{
   position: relative;
   float: left;
   text-transform: uppercase;
   
}

header .navbar ul li a{
    font-size: 15px;
    padding: 20px;
    color: white;
    display: block;
    transition: .5s;

}

header .navbar ul li a:hover{
   background: #333;
   color: #ce2c37;
   transition: .7s;
}

header .navbar ul li ul{
    position: absolute;
    left: 0;
    width: 200px;
    background-color: rgba(0, 0, 0, .7);
    display: none;
}

header .navbar ul li ul li{
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .1);
}
header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul{
    display: initial;
}


.navbar ul li a img{
    max-width: 20px;
}

/*SLIDER*/
.slajder{
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.slider-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}
.item{
    position: relative;
}
.lejer{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, .5);
    border-radius:20px ;
   
}

.slider-container .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 0 50px white;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.slide .item:nth-child(3){
    left: 70%;
    
}

.slide .item:nth-child(4){
    left: calc(70% + 220px);
    
}



.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 60%;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    display: none;
}

.slide .item:nth-child(2) .content{
    display: block;
}

.content .name{
    font-size: 40px;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.name h1{
    font-weight: 900;
    font-size: 1.5em;
}

.des h3{
    font-weight: 100;
}



.content button, .content a{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate{
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.content a{
    margin-left: 30px;
    color: #333;
    background-color:rgba(240, 170, 19, 0.7);
    border-radius: 10px;
    font-weight: 900;  
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
    
}

.button button{
    
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: none;
    background: none;
    transition: 0.3s;
    font-size: 3em;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}


/*OCJENA*/
.ocjena-naslov{
    text-align: center;
    margin: 30px auto;
    text-transform: uppercase;
}
.ocjena{
    margin: 50px auto;
}

.ocjena-single{
    flex-basis: 30%;
    text-align: center;
}

.ocjena-single img{
    max-width: 70px;
    margin-bottom: 30px;
}

.ocjena-single h3{
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.parralax{
    background: url('../img/osmijeh.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    height: 700px;
    position: relative;
}

.parralax h2{
    position: absolute;
    top: 50%;
    left: 20%;
    font-size: 3em;
}







/*O NAMA POCETNA*/
.container1{
    width: 60%;
    margin: 50px auto;
}







.onama-slika img{
    max-width: 100%;
    display: block;
    margin: auto;
}



/*O NAMA MAIN*/

.onama-naslovna{
    margin-top: 190px;
}

.onama-text{
    flex-basis: 40%;
    margin: auto;
    
}

.onama-text h2{
    font-weight: 900;
}

.onama-usluge{
    flex-basis: 50%;
}








.brojac{
    width: 100%;
    background: url(../img/fermentor.jpg);
    height: 600px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-attachment: fixed;
}

.brojac i{
    margin: auto;
    font-size: 3em;
    color: #dcad67;
    background-color: rgb(0, 0, 0, .5);
    padding: 20px;
    
}

.brojac i span{
    color: #dcad67;
    font-size: 3em;
    display: contents;
    width: 100px;
    font-weight: 900;
}

.onama-usluge{
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
}

.onama-usluge img{
   max-width: 100%;
   display: block;
   margin: auto;
}



.dio-slika{
    flex-basis: 40%;
    transition: .3s;
}

.dio-slika img{
    max-width: 100%;
}

.dio-slika:hover{
    transform: scale(1.1);
    transition: .5s;
}

.dio-text{
    flex-basis: 50%;
    margin: auto;
}

.odjel{
    
    position: relative;
    height: 300px;

}

.odjel h2{
    position: absolute;
    bottom: 10%;
    left: 10%;
    color: #333;
    font-size: 2em;
    padding: 10px 50px;
    border-bottom: 1px solid #333;
}





  /*BLOG*/

  .blog-flex{
    display: flex;
    flex-direction: row;
  }



  .blog-flex a{
    flex-basis: 30%;
    margin: 30px;
    color: #333;
  }

  .card-body img{
    max-width: 100%;
  }

  .blog-header{
    margin-top: 400px;
  }






/*KONTAKT*/

.kontakt-naslovna{
    padding: 90px 0;
    background-color: #161616;
    color: white;
    margin-top: 190px;
}

.kontakt-info{
    display: flex;
    flex-direction: row;
}

.kontakt-naslovna img{
    max-width: 200px;
}

.kontakt-info h5{
    font-size: 1.2em;
    font-weight: 100;
    display: block;
    width: 50%;
    padding: 50px;
    margin: auto;
}

.kontakt-info ul{
    flex-basis: 45%;
}

.kontakt-info ul li{
    margin: 10px 0;
    font-size: 1.1em;
}






form button{
    width: 100%;
    padding: 15px ;
}





input, textarea{
    padding: 10px;
    width: 100%;
}


.kontakt-info i, .footer-single i{
    margin-right: 5px;
    color: #ce2c37;
}


.poslovnice1{
    display: none;
}



.kontakt-info ul li a{
    color: white;
}

/*Footer*/


.footer{
    display: flex;
    flex-direction: row;
    padding: 100px 50px;
    justify-content: space-between;
    margin: auto;
    border-top: 1px solid #333;
    position: relative;
    background-color: #333;
}

.footer-single{
    flex-basis: 15%;
    margin: auto;
    color: white;
}

.footer-single ul li{
    margin: 5px 0;
    color: white;
}

.footer-single img{
    max-width: 100%;
}

.footer-single ul li a{
    color: white;
    
}

.footer-single hr{
    background-color: #dcad67;
}


.prava p{
    text-align: center;
}












@media only screen and (max-width: 991px){


   
    .flex, .blog-flex{
        flex-direction: column;
    }

    .container, .container1{
        width: 90%;
    }

    .menu-toggle{
        display:flex;
        right: 20px;
        top: 10px;
        z-index: 9999;
        transition: .7s;
      }

      .toggleNavi{
        left: 0;
        transition: .7s;
      }

      header{
        padding: 20px;
        
      }

      header .navbar ul li a {
        color: #333;
      }

      

       .navbar{
        position: absolute;
        top: 100%;
        left: 100%;
        height: 100vh;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, .1);
        transition: .7s;
        text-align: center;
        width: 100%;
        
      }

      .toggleNavi{
        left: 0;
        transition: .7s;
      }

      header .navbar ul li{
        width: 100%;
      }

      header .navbar ul li ul{
        position: relative;
        width: 100%;
      }

      header .navbar ul li ul li{
        background: #eee;
        height: 55px;

      }

      header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
      }

      header img:first-of-type {
    max-width: 150px;
}

      .content a{
        display: block;
        margin: auto;
        width: 150px;
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        text-align: center;
      }

      #menu-bar:checked ~ .navbar{
        display: initial;
      }
      .brojac i span{
        font-size: 2em;
      
      }


      /*SLAJDER*/

      .item .content{
        width: 90%;
        left: 10px;
      }

      .slide .item:nth-child(3) {
        left: 79%;
        top: 94%;
    }

    .name h1{
        font-size: .6em;
    }
    .parralax{
        height: 200px;
    }
    .parralax h2{
        font-size: 2em;
        transform: translateY(-50%);
    }

    .ocjena-single{
        margin: 20px auto;
    }

    .marketi{
        margin: 50px auto;
    }
    .brojac{
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }

    .market-parralax img:first-of-type{
        left: 50%;
        width: 100px;
    }

    .market-parralax img:nth-of-type(2){
        left: 10%;

    }

    .market-parralax {
    background-size: cover;
    background-position: center;
    }

    .market-parralax h2{
        padding: 20px 0;
        font-size: 2em;
    }

    .brojac i{
        margin: 20px auto;
    }

   .odjel h2{
    font-size: 1.5em;
    left: 4%;
    padding: 5px 10px;
    width: 90%;
   }

   .dio-text{
    padding: 20px 0;
   }

   

    .parralax-stocna h2{
        width: 91%;
    }

    .onama-content-single{
        height: auto;
    }

    .onama-usluge img{
        max-width: 100%;
    }

    .onama-text{
        margin: auto;

    }

    .karijera{
        background-size: cover;
        background-position: right;
    }

    .karijera h2{
        background-color: rgba(255, 255, 255, .8);
        padding: 30px;
        left: 0;
        bottom: -5px;
    }

    .karijera-poslovi{
        flex-direction: column;
    }

    .karijera-single{
        width: 100%;
    }

    table{
        display: none;
    }

    

    .gorivo{
        height: auto;
    }

    .gorivo img{
        top: 100px;
    }

    .gorivo-single h5{
        font-size: 5em;
    }

    .solar-parralax h2{
        font-size: 3em;
        top: 82%;
    }

    .solar-parralax{
        background-size: cover;
        background-position: center;
    }

    .kontakt-naslovna{
        margin-top: 90px;
    }

    .kontakt-info{
        flex-direction: column;
    }

    .kontakt-info h5{
        width: 100%;
        padding: 0;
    }

    .poslovnice1{
        flex-direction: column;
        padding: 10px;
    }

    .poslovnice1{
        margin-top: 100px;
        display: flex;
    }

    .poslovnice1 ul{
        border-bottom: 1px solid #333;
        margin-bottom: 30px;
    }

 
   .radno{
    position: relative;
    color: #333;
   }

   .radno button{
    display: none;
   }

   #slideWindow{
    position: relative;
    right: 0;

   }
   input{
    width: 100%;
    padding: 10px;
    text-align: center;
   }
   textarea{
    width: 100%;
    height: 100px;
   }


   

    .footer{
        flex-direction: column;
        padding: 10px;
    }

    .footer-single{
        margin:20px 0;
    }
}