 
* {
    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: 3 px;
     
    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;
    
}

.ttx{
    width: 100%;
    top: 0%;
    left: 0%;
    width: 45VW;
    height: 12VW;
    color: white;
    font-size: 0.95VW;
    line-height: 1.2em;
    text-align: justify;
    padding: 0 1em;
     

}

.SADRAZAJ2 img{ 
    width: 50%;
    height: 33em;
    margin-bottom: 1%;
    border-radius: 22px;
    margin-left: 0.4%;
}


.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;
}
    
    @media (max-width: 1500px){
    .navtraka a{
        font-size: 1.4em;
    }
    .PODNOZJE li{
        font-size: 0.7em;
        
    }
    .SADRAZAJ2 p{
        font-size: 1.4em;
        line-height: 0.9em;
    } 
}
@media (max-width: 1200px) {
    .navbar {
        padding: 0px;
    }
    .odabir {
        margin: 0 0px;
    }
.SADRAZAJ2 img{
    height: 500px;
}

.SADRAZAJ2 p{
    font-size: 1.6em;
    line-height: 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: 0px 0;
    }
    .dropdown {
        min-width: 120px;
    }
    .SADRAZAJ2 img{
        height: 390px;
}
.navtraka li{line-height: 0.9em;}
.PODNOZJE li{
    font-size: 0.65em;

}
}

@media (max-width: 480px) {
    .header {
        height: 100px;
    }
    .logo img {
        height: 60px;
    }
    .navbar {
        padding: 0px;
    }
    .odabir a {
        font-size: 20px;
    }
    .SADRAZAJ2 {
        flex-direction: column;
        align-items: center;
    }
    .ttx {
        font-size: 0.7em;
        padding: 10px;
        line-height: 1.1em;
        width: 100%;
    }
    .SADRAZAJ2 img {
        width: 100%;
    }
    .navtraka {
        flex-direction: column;
        align-items: center;
        margin-top: 0px; 
    }
    .PODNOZJE{
        flex-direction: column;
    }
}