html, body {
    margin: 0;
    padding: 0;
    
}

.banner {
    height: 500px;
    width: 100%;
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.banner-logo {
    height: 200px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.info-box {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
    z-index: 3; 
}

.info-icon {
    height: 50px;
    width: 50px;
    top: -10px;
    left: 50%;
}

.menu-container {
    display: flex;
    flex-direction: column;
}

.menu {
    flex: 1;
    align-items: center;
    padding-left: 15%;
    padding-right: 15%;
    height: 500px;
}

.dish-category {
    display: flex;
    flex-direction: column;
    border-width: 2px;
    border-style: solid;
    border-color: red;
    justify-content: center;
    margin-top: 20px;
    padding-left: 8px;
    padding-right: 8px;
}

.item-information {
    display: flex;
    padding-bottom: 10px;
}

.category-title {
    text-align: center;
    font-weight: bold;
}

.information-section {
    flex: 0.05 1 300px;
}

.item-name-price {
    display: flex;
    font-size: 18px;
    font-weight: bold;
    justify-content: space-between;
    margin-top: 0px;
    margin-bottom: 2px;
}

.item-description {
    font-size: 14px;
    margin-bottom: 2px;
    margin-top: 0;
    white-space: normal;
    word-break: break-word;
    word-wrap: break-word;
}

.item-disclaimer {
    font-size: 10px;
    margin-top: 0;
    opacity: .6;
}

.allergens-image-section {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
}

.allergens-section {
    flex: 0.05 1 135px;
    margin-left: 5px;
}

.allergens-section img {
    max-width: 30px;
    max-height: 30px;
}

.image-section {
    position: relative;
    margin-left: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-preview-text {
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-80%, -50%);
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 10px;
    opacity: .8;
    cursor: pointer;
    z-index: 2;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
               1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.image-preview-button {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 60px;
    width: 60px;
    cursor: pointer;
    z-index: 1;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 50;
}

#image-preview {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    background: white;
    z-index: 100;
}

.contact-info {
    background-color: #333;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    height: fit-content;
    padding-left: 5%;
    padding-right: 5%;
    gap: 20px;
}

.contact-info > div {
    color: #fff;
    background-color: #333;
    flex: 1;
    border: 5px solid #555;
    box-sizing: border-box;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
}

.opening-hours, .address, .contact-address, .reservation-info {
    text-align: center !important;
}

.footer {
    background-color: #333;
    margin-top: 5px;
    padding-top: 5px;
}

.info-field  {
    margin: 1px;
}

.info-field a {
    color: #36a4ee;
}

.footer-info {
    margin: 0px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
}

.social-media-button {
    height: 40px;
    width: 40px;
    margin: 5px;
    cursor: pointer;
}

/* Media query for mobile devices */
@media (max-width: 749px) {
    .menu {
        padding-left: 5%;
        padding-right: 5%;
      }
    .item-information {
        flex-direction: column;
        padding-bottom: 25px;
    }
    .information-section {
        flex: 1 1 100%;
        min-width: 100%;
        padding-bottom: 2px;
    }
    .item-name-price {
        font-size: 16px;
    }
    .item-description {
        font-size: 12px;
    }
    .image-section {
        margin-left: auto;
    }
    .item-disclaimer {
        font-size: 8px;
    }
    .image-preview-text {
        transform: translate(-80%, -32.5%);
    }
    .image-preview-button {
        transform: translate(-50%, -32.5%);
    }
    .item-listing p {
        flex: 1 1 calc(33%) !important; /* Ensures 3 items per row with spacing */
        font-size: 13px !important;
    }
}

.item-listing {
    display: flex;
    flex-wrap: wrap;
}
.item-listing p {
    flex: 1 1 calc(30% - 10px); /* Ensures 3 items per row with spacing */
    text-align: center  ;
    font-size: 14px !important;
    padding: 5px;
}