 
* {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

html {
    background: linear-gradient(0deg, #272727 0px, rgb(90, 90, 90) 0px, #272727 270px, rgb(90, 90, 90) 380px, rgb(90, 90, 90) 110px);
    height: 100%;
}

.header {
    position: relative;
    height: 170px;
    background: linear-gradient(to right, transparent 1%, rgb(0, 169, 251)), url(vdopic1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.logo img {
    position: absolute;
    height: 140px;
    right: 30px;
    top: 10px;
}



.navtraka {
    list-style-type: none;
    margin: 0; 
    display: flex;
    justify-content: space-around;
    position: relative;
    cursor: pointer;
    box-shadow: #222222;
    width: 100%;
    min-height: 60px; 
    z-index: 12;
    background-color: hsl(0, 0%, 19%);
}


 
.odabir {
    margin: 0 60px;
    position: relative;
    font-size: 1.2em;
    padding: 15px;
}

.odabir a {
    color: white;
    text-decoration: none;
    font-size: 1.4EM;
    font-weight: 700;
    flex: 1;
    
}

.odabir a:hover {
    background-color: rgb(66, 66, 66);
    border-radius: 3px;
    transform: scale(2.05);
    transition: background-color 0.3s ease;
}

.dropdown li a {
    margin: 1%;
    color: white;
    text-decoration: none;
    list-style-type: none;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 230%;
    padding: 10px;
}

.dropdown a:hover {
    background-color: rgb(48, 48, 48);
    border-radius: 1px;
    padding-left: 3px;
    transition: background-color 0.5s ease;
}

.dropdown {
    display: none;
    position: absolute;
    min-width: 540px;
    padding: 0px;
    background-color: rgb(70, 70, 70);
    border-radius: 6px;
    border: 2px solid #242424;
    box-shadow: 0 4px 12px;
    top: 60px;
    padding-left: 0%;
    text-decoration: none;
    list-style-type: none;
    margin-left: 2%;
    margin: 0;
}

.PMENU:hover .dropdown {
    display: block;
    width: 100%;
    z-index: 10;
}

main {
    position: relative;
    flex: 1;
     
    padding-top: 10px; 
}

.SADRAZAJ2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ljevo {
    width: 50%;
    font-size: 1em;
    padding-left: 0.8%;
}

.O_NAMA {
    width: 100%;
    font-size: 1.45em;
    font-weight: 500;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 0 1EM 0em 0em;
     
    
}



.vozilo {
    width: 50%;
    padding-right: 0.2%;
    margin-top: 1%;  
     
   
}

.vozilo img {
    width: 100%;
    border-radius: 22px;
   
}
.box34{
    display: flex;
    margin-top: 2%;
}
 .BOX3{
    left: 0;
    width: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: justify;
    font-size: 1.2EM;
    margin-left: 1%;
    font-weight: 700;

 }
.box4{
    width: 50%;
}


.PODNOZJE {
    min-height: 100%;
    background-color: hsl(0, 0%, 19%);
    width: 100%;
    position: relative;
    margin: 0;
    font-style: italic;
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 2%;
    justify-content: space-around;
    border-top: 2px solid rgb(32, 32, 32);
    list-style-type: none;
    text-decoration: none;
    color: white;
    font-size: 1em;
    font-weight: 600;
}

.link {
    text-decoration: none;
    color: rgb(13, 5, 129);
    
}

 
.O_NAMA{
    font-size: 1em;
    padding: 0 1em
}
 

@media (max-width: 1200px) {
    .navbar {
        padding: 0px;
         
    }
    .odabir {
        margin: 0 0px;
        
    }
    .navtraka a{
        font-size: 1.2em;
    }
    .PODNOZJE{
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .header {
        height: 120px;
    }
    .logo img {
        height: 100px;
        right: 15px;
        top: 10px;
    }
    .navbar {
        padding: 0px;
    }
    .navtraka {
        flex-direction: column;
        align-items: center;
        height: auto; 
    }
    .odabir {
        margin: 0 0;
    }
    .dropdown {
        min-width: 120px;
    }
    .PODNOZJE{
        flex-direction: column;
    }
    .SADRAZAJ2 {
        flex-direction: column;
        align-items: center;
}
.O_NAMA {
    font-size: 1.4em;
    padding: 10px;
    width: 100%;}

.ljevo{
    width: 100%;
}
.vozilo{
    width: 100%;
}

}



@media (max-width: 480px) {
    .header {
        height: 100px;
    }
    .logo img {
        height: 60px;
    }
    .navbar {
        padding: 0px;
    }
    .odabir a {
        font-size: 15px;
    }
    .SADRAZAJ2 {
        flex-direction: column;
        align-items: center;
         
        
    }
    .O_NAMA {
        font-size: 1.4em;
        padding: 10px;
        width: 100%;
        
         
    }
    .ljevo{
        width: 100%;
    }
    .vozilo{
        width: 100%;
    }

    .partneri img, .vozilo img {
        width: 100%;
    }

     .BOX3{
        margin-right: 12em;
     }
    .navtraka {
        flex-direction: column;
        align-items: center;
        margin: 0px; 
    }
    .PODNOZJE{
        flex-direction: column;
    }
    .dropdown li a{
        font-size: 0.8em;
        
    }

    .box4{
        margin-left: -100px;
    }
   .box4 img{
    width: 200px;
    height: 30px;
   }
    .dropdown{
        position: absolute;
        left: 0;
         right: 0;
        text-align: center;
        margin: 0;
        width: 100vw;
        
        
        
    }
  
}