
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    background-color: burlywood;
    font-size: 15px;
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

.container, .row-1, .row-3, .dva, .link, article {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body {
        font-size: 12px;
    }
    .row-1 {
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .row-1 img {
        width: 80px;
        height: auto;
        margin-bottom: 10px;
    }
    .row-1 h1 {
        font-size: 20px;
        margin: 0 0 10px 0;
    }
    .row-1 ul {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
    }
    .row-1 ul li a {
        width: auto;
        padding: 5px 10px;
        font-size: 12px;
    }
    .container, .row-3, .dva, .link, article {
        flex-direction: column;
        width: 100%;
    }
    article img {
        width: 100%;
        height: auto;
    }
}
header{
    background-color: rgb(255, 251, 246);
    color: white;
    
    height: 100px;
    margin: 0 auto;
    top: 20px;
    margin-top: 5px;
    border-radius: 5px;
  
}
.row-1{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.row-1 img{
    width: 100px;
    
}
.row-1 ul{
    display: flex;
    margin-right: 25px;
}
.row-1 ul li{
    list-style-type: none;
    margin: 5px;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.row-1 ul li a{
    text-decoration: none;
    color:rgb(151, 114, 44);
    background-color: rgb(255, 251, 246);
    width: 75px;
    height: 30px;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
    

}



.row-1 ul li a{
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}


.row-1 ul li a:hover{
    text-decoration: none;
    color: rgb(255, 251, 246);
    background-color: rgb(151, 114, 44);
    width: 75px;
    height: 30px;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
}
.row-1 h1{
    color: rgb(255, 255, 255);
    font-size: 25px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.container{
    flex-basis: 960px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
}
.link ul{
    display: flex;
    flex-basis: 48%;
    max-width: 960px;
    margin: 0 auto;
}
.link ul li{
    list-style-type: none;
    display: flex;
    align-items: center;
    font-size: 15px;
    margin: 0 auto;
    margin-top: 10px;
}
.link ul li a{
    text-decoration: none;
    color:black;
    background-color: orange;
    width: 450px;
    height: 30px;
    text-align: justify;
    border-radius: 10px;
    padding: 5px;

}
.link ul li a:hover{
    text-decoration: none;
    color:black;
    background-color: rgb(71, 216, 71);
    width: 450px;
    height: 30px;
    text-align: justify;
    border-radius: 10px;
    padding: 5px;

}

/* Make gallery images small and stacked vertically */
.galerija-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.galerija-container img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-bottom: 6px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: rgb(216, 187, 108);
    color: rgb(0, 0, 0);
    border-top: 3px solid rgb(143, 123, 59);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    z-index: 1000;
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: rgb(216, 187, 108);
    color: rgb(0, 0, 0);
    border-top: 3px solid rgb(143, 123, 59);
    display: flex;
}