*{
    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{
    font-family: roboto;
}

.flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


#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;
    left:0;
  
  }

.container{
    width: 80%;
    margin: 70px auto;
}

p{
    text-align: justify;
}

.preloader{
    background: #ffffff url('../img/loader.gif') no-repeat center center;
    background-size: 20%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 99999;
    top: 0;
  
  }


/*Header*/



.contact-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #4c4c4c;
    padding: 10px;
}

.phone a{
    color: white;
}

.social-header a i{
    color: white;
    margin-right: 5px;
}


/*MENU TOGGLE*/


  .social{
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 10px;
  }

  .social ul{
    display: flex;
    flex-direction: row;
    margin-left: 15px;
}

.social ul li{
    margin-right: 15px;
}

.social a{
    color: #353535;
}

.social img{
    max-width: 50px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.social>a{
    display: block;
    position: absolute;
    right: 0;
}

/*NAVIGACIJA*/

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background:#fffffF;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 0 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header img{
   max-width: 200px;
   margin: 20px 30px;
}

.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(11px) rotate(45deg);
    background-color: #333;
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: #333;
  }




  header .navbar{
    margin-right: 100px;
  }

header .navbar ul li{
   position: relative;
   float: left;
   text-transform: uppercase;
   
}

header .navbar ul li a{
    font-size: 12px;
    padding: 12px;
    color: #333;
    display: block;
    transition: .5s;

}

header .navbar ul li ul li{
    display: inline-block;
}

header .navbar ul li ul li img{
    max-width: 20px;
}

header .navbar ul li a:hover{
   background: #333;
   color: #fff;
   transition: .7s;
}

header .navbar ul li ul{
    position: absolute;
    left: 0;
    width: 200px;
    background: #fff;
    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;
}




/*SLIDER*/
.slajder{
    position: relative;
    height: 700px;
    overflow: hidden;
}
.slider-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80vh;
    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:10px;
    width: 100%;
    height: 100%;
}

.slide .item:nth-child(3){
    left: 90%;
}

.slide .item:nth-child(4){
    left: calc(90% + 220px);
}

.slide .item:nth-child(5){
    left: calc(90% + 440px);
}

.slide .item:nth-child(n + 6){
    left: calc(90% + 660px);
    opacity: 0;
}

.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 600px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    display: none;
}

.slide .item:nth-child(2) .content{
    display: block;
}

.content .name{
    font-size: 40px;
    text-transform: uppercase;
    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.2em;
}

.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{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
    background-color: rgba(255, 255, 255, .4);
}

.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/bridge-car.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    height: 700px;
    background-position: bottom;
    background-attachment: fixed;
    position: relative;
}

.parralax h2{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    color: white;
    font-weight: bolder;
    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: 90px auto;
}

.onama-text{
    flex-basis: 60%;
    
}

.onama-text h2{
    font-weight: 900;
}

.onama-usluge{
    flex-basis: 30%;
}

.onama-content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px auto;
}

.onama-content-left, .onama-content-right{
    flex-basis: 40%;
    margin:0 auto;
}

.onama-content-single{
    height: 300px;
    margin: 10px auto;
}


.onama-content-single p{
    padding: 10px;
    text-align: justify;
}

.onama-content-single h3{
    text-align: center;
    font-weight: 900;
    margin: 30px 0;
    text-transform: uppercase;
}
.onama-content-single img{
    max-width: 70px;
    display: block;
    margin: auto;
}



.brojac{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-attachment: fixed;
    border-bottom: 1px solid #da0300;
}

.brojac i{
    margin: auto;
    font-size: 1.5em;
    color: #da0300;
    
}

.brojac i span{
    color: white;
    font-size: 3em;
    display: contents;
    width: 100px;
    font-weight: bolder;
    color: #da0300;
}

.onama-usluge{
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
}

.onama-usluge img{
   max-width: 100%;
   display: block;
   margin: auto;
}

.main-offer-label h2{
    text-align: center;
}

#single2 img{
    max-width: 200px;
}

/*ALL CARS*/

.all_cars_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.car_navigation {
    flex-basis: 20%;
    flex-direction: column;
    padding-right: 20px;
}
.car_navigation button {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    transition: transform 0.7s, background-color 0.7s;
    border: 1px solid #333;
    background-color: transparent;
}
.car_navigation button:hover {
    transform: scale(1.1);
    background-color: #ababab;
}
.car_view {
    flex-basis: 75%;
    display: flex;
    flex-wrap: wrap;
}
.car_view a {
    flex-basis: calc(30% - 20px);
    margin: 10px;
}
.car_view a img {
    max-width: 100%;
}
.card-body1 {
    position: relative;
}

.car_navigation_mobile{
    display:none;
}

.cars-dolazak{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.dolazak-card{
    flex-basis: 20%;
    position: relative;
}

.dolazak-card-img img{
    max-width: 100%;
}



/*CARS*/
.cars{
    display: flex;
    flex-wrap: wrap;
    justify-content:flex-start ;
}



.car-header{
    margin-top: 110px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.car-header img{
    width: 100px;
    height: fit-content;
}

.card-body{
    overflow: hidden;
    position: relative;
}

.card-body img{
    max-width: 100%;
    transition: .5s;
}

.dostupno{
    position: absolute;
    right: 0;
    bottom: 4px;
    background-color: green;
    padding: 10px 20px;
    color: white;
}
.prodano{
    position: absolute;
    bottom: 4px;
    right: 0;
    background-color: rgba(254, 53, 3, 0.9);
    padding: 10px 20px;
    color: white;
    text-align: center;
    
}

.u-dolasku{
    position: absolute;
    background-color: rgb(255, 166, 0);
    bottom: 4px;
    right: 0;
    padding: 10px 20px;
    color: white;
}


.card-body:hover>img{
    transform: scale(1.2);
    transition: .7s;
}

.card-header span{
    position: absolute;
    top: 0;
    right: 0;
}




.card-header{
    height: 30px;
}

.cars a{
    flex-basis: 20%;
    margin: 20px;
    position: relative;
}

.card-header h5, .car-info-pic h5{
    position: absolute;
    top: 0;
    background-color: rgb(255, 166, 0);
    color: white;
    padding: 10px 20px;
}

.cars button{
    border: 1px solid #333;
    text-align: center;
    padding: 5px 10px;
    display: block;
    margin: auto;

}

.card-header h4, .dolazak-info h4{
    font-size: .8em;
    font-weight: 300;
}

.card-footer a{
    border: 1px solid green;
    color: #333;
    display: block;
    text-align: center;
    padding: 10px 0;
    margin: 20px auto;
}

/*CAR INFO MAIN*/

.car-info-main{
    display: flex;
    flex-direction: row;
}

.car-info-pic{
    flex-basis: 50%;
    margin: auto;
    position: relative;
}

.car-info-pic img{
    width: 100%;
}

.car-info-spec{
    flex-basis: 40%;
    margin-left: 30px;
}

.car-info-spec img{
    max-width: 30px;
    margin-right: 20px;
    border: 1px solid #ababab;
    padding: 3px;
}

.car-info-spec ul li{
    display: flex;
    align-items: center;
    margin: 2px auto;
    border: 1px solid #ababab;
    padding: 10px;
    transition: .5s;
    
}

.car-info-spec ul li:hover{
    transform: scale(1.1);
    transition: .7s;
    background-color: #d6d1d1;
}







/*KONTAKT*/

.kontakt-naslovna{
    margin-top: 90px;
}

.kontakt-info{
    display: flex;
    flex-direction: row;
}

.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;
}

.radno{
    text-align: center;
}

.kontakt-info i{
    margin-right: 5px;
    color: #000066;
}


.poslovnice1{
    display: none;
}



.kontakt-info ul li a{
    color: #333;
}

.kontakt-info img{
    max-width: 50px;
}

/*Footer*/


.footer{
    display: flex;
    flex-direction: row;
    background-color: #111111;
    padding: 70px 100px;
    justify-content: space-between;
    color: white;
}

.footer-single img{
    max-width: 300px;
}

.footer-single{
    flex-basis: 20%;
}

.footer ul li img{
    max-width: 30px;
}

.footer-single ul li:first-child{
    border-bottom: 1px solid white;
    padding-bottom: 10px;
}


.footer li a{
    color: white;
}



.prava p{
    text-align: center;
}












@media only screen and (max-width: 991px){

    .flex{
        flex-direction: column;
    }

    .container, .container1{
        width: 90%;
        margin: 20px auto;
    }

    .menu-toggle{
        display:flex;
        right: 20px;
        top: 10px;
        z-index: 9999;
        transition: .7s;
      }

      .toggleNavi{
        left: 0;
        transition: .7s;
      }

      header{
        padding: 20px;
      }

      

       .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;

      }

      header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
      }

      .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;
      }



      /*SLAJDER*/

      .item .content{
        width: 90%;
        left: 10px;
      }

      .slide .item:nth-child(3) {
        left: 79%;
        top: 94%;
    }

    .cars{
        display: flex;
        flex-direction: column;
    }

    .parralax h2{
        font-size: 1.5em;
    }

    .name h1{
        font-size: 1em;
    }
    .parralax{
        height: 200px;
    }

    .ocjena-single{
        margin: 20px auto;
    }

   
    .brojac{
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }

    .onama-naslovna{
        margin: 30px auto;
    }

    .brojac{
        padding: 0;
    }

    .brojac i{
        margin: 20px auto;
    }

    #single2 img{
        max-width: 100%;
    }

    .onama-content-single{
        height: auto;
    }

    .onama-usluge img{
        max-width: 100%;
    }

    .onama-text{
        margin-top: 100px;
    }

    

    /*CARS*/
    .car_navigation_mobile{
        display: block;
        width: 100%;
    }

    .car_navigation{
        display: none;
    }
    .car-info-main{
        flex-direction: column;
    }

    .car-info-spec{
        margin: 10px 0;
    }

    .all_cars_container{
        display: flex;
        flex-direction: column;
    }
    select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #fff;
        font-size: 16px;
    }

    select option {
        font-weight: bold;
        background-color: #333;
        color: #fff;
        font-size: .6em;
    }

    .card1{
        width: 100%;
    }

    .car_view{
        display: flex;
        flex-direction: column;
    }




  

    .kontakt-naslovna{
        margin-top: 90px;
    }

    .kontakt-info{
        flex-direction: column;
    }

    .kontakt-info img{
        max-width: 30px;
    }

    .kontakt-info h5{
        width: 100%;
        margin: 20px 0;
        padding: 0;
    }


    .footer{
        flex-direction: column;
        padding: 10px;
    }

    .footer-single{
        margin:20px 0;
    }
}