*{
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f0f8ff;
}

header {
    background-color: rgb(90, 189, 235);
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #0a8ad4;
    padding: 10px;

}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    padding: 10px;
    flex-grow: 1;
    text-align: center;

}

nav a:hover {
    background-color: #5bbdf5;
    
}
.container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100dvh;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
    padding: 20px;
    gap: 20px;
}
.videji, .slike{
    display: flex;
    gap: 8px;
}

.slika {
    flex-basis: 300px;
    flex-shrink: 1;
    background-color: white;
    border-radius: 10px;
    text-align: center;
}


.slika img {
    max-height: 250px;
    height: auto;
    border-bottom: 2px solid #26c3f3;
}

.slika p {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: #333;
}

.slika .description {
    padding: 15px;
    font-size: 14px;
    color: #666;
    text-align: justify;
}

.video .description {
    padding: 15px;
    font-size: 14px;
    color: #666;
    text-align: justify;
}

footer {
    background-color:rgb(90, 189, 235);
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
    
  
}


.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
   
}
 
.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
}
 
 
 
@media only screen and (min-width: 320px) and  (max-width: 899px){
    .container {
        background-color: rgb(20, 20, 20);
        width: 100%;
    }
 
}
 
 
