* {
    box-sizing: border-box;
} /*osigurava nam da širina i visina elementa uključuju `padding` i `border`, sprječavajući neželjene povećanja dimenzija. */

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
    background-color: #C0D1DE  /*pravilan oblik, boja, detalji i konstrukcija cijele stranice*/
}

header {
    background-color: #80ABBE;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #80ABBE;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /*boja, detalji i konstrukcija zaglavlja*/
}

header .a {
    display: flex;
    font-family: Georgia, 'Times New Roman', Times, serif;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    flex-grow: 1; /*boja, detalji za linkove u zaglavlju*/
}

header .a a {
    background-color: #80ABBE;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #000000;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    white-space: nowrap;
}

.lutka {
    text-align: center;
}

header .a a:hover {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #6c98a8; /*pseudoklasa hover za promjenu boje kad prijeđemo preko*/
}

.logo {
    flex-basis: 400px;
    display: flex;
    flex-grow: 1;
    justify-content: center;
}


header div:first-child {
    display: flex;
    align-items: center;
}

header h1 {
    margin: 45px;
    font-family: Georgia, 'Times New Roman', Times, serif;


}

main {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.slider {
    display: flex;
    max-height: 400px;
    background-color: #eee;
    flex-wrap: wrap;
}

.slider img {
    max-width: 700px;
    max-height: 400px;
    object-fit: cover;
    scroll-snap-align: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 10px;

    justify-content: center;
    align-items: center;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.content h2 {
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.gallery-container img {
    width: 30%;
    margin-bottom: 20px;
    border-radius: 5px;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Razmak između boxova */
    flex-wrap: wrap; /* Omogućuje da se boxovi prebacuju u sljedeći red ako nije dovoljno mjesta */
}

.menu-box {
    background-color: #D9D9D9;
    padding: 20px;
    width: 30%; /* Svaki box zauzima 30% širine */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Dodaje sjenu za bolje odvajanje boxova */
    border-radius: 8px; /* Zaobljeni rubovi */
    text-align: center; /* Centriranje teksta unutar boxa */
}

.menus img {
    max-width: 100%; /* Slika se širi na cijeli box */
    height: auto;
    border-radius: 8px; /* Zaobljeni rubovi na slici */
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px; /* Razmak između svakog stavka */
}

h2 {
    font-size: 21px;
    margin-bottom: 15px;
    color: #000000; 
}


footer {
    background-color: #80ABBE;
    color: #000000;
    text-align: center;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-container img {
    margin: 0 auto;
}

h2 {
    font-size: 25px;
    text-align: center;
    color: #000000;
}
h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 30x;
    color: #000000;
}