body {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 1fr 60px;
    grid-template-rows: auto 175px auto 80px;
    min-height: 100vh; 
    margin: 0;
    padding: 0;
    background-image: url('background_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.left_column, .right_column {
    background-color: white;
}

header, #title_container, .image_gallery, footer {
    padding-left: 20px;
    padding-right: 20px;
}

.left_column {
    grid-column: 1;
    grid-row: 1 / -1;
}

.right_column {
    grid-column: 5;
    grid-row: 1 / -1;
}

header {
    grid-column: 2 / 5;
    grid-row: 1 / 2;
}

.header_top, .header_bottom {
    display: flex;
    background-color: rgb(164, 62, 32);
    height: 5px;
}

.header {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header img {
    max-height: 50px; 
    width: auto;
    margin-right: 20px;
}

.menu-icon {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    cursor: pointer;
    font-size: 30px;
    color: white;
}

.navigation {
    display: flex;
    flex-direction: column;
    background-color: rgb(164, 62, 32);
    position: absolute;
    top: 80px; 
    left: 60px; 
    right: 60px; 
    width: calc(100% - 120px); 
    padding: 10px 0;
    display: none;
}

.menu-toggle:checked + .menu-icon + .navigation {
    display: flex;
}

.navigation div {
    padding: 10px;
    font-size: 20px;
    text-align: center;
    color: white;
}

#title_container {
    grid-column: 2 / 5;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 50px;
    color: white;
}

#website_name h2 {
    font-size: 3em;
    margin: 0;
    padding: 0;
}

#featured_dishes h3 {
    font-size: 2em;
    margin: 40px 0 0 0;
    padding: 0;
}

.image_gallery {
    grid-column: 2 / 5;
    grid-row: 3 / 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.image_item_top, .image_item_bottom {
    position: relative;
    height: 200px;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden; 
}

.image_item_top img, .image_item_bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 10px; 
}

.image_box {
    position: absolute;
    bottom: -20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 80%; 
    height: 40px;
    background-color: rgba(164, 62, 32, 0.8);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    body {
        grid-template-columns: 60px 1fr 1fr 1fr 60px;
    }

    .image_gallery {
        grid-template-columns: 1fr;
        grid-gap: 30px;
        margin: 0 auto;
    }

    header {
        grid-column: 2 / 5;
        width: 768px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navigation {
        left: 0; 
        right: 0; 
        width: auto; 
    }

    .image_gallery {
        grid-template-columns: 1fr;
        grid-gap: 30px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    body {
        min-width: 768px;
    }

    #title_container {
        margin-top: 20px;
    }
}

footer {
    grid-column: 2 / 5;
    grid-row: 4 / 5;
    background-color: rgba(164, 62, 32, 0.8);
    padding: 10px;
    text-align: center;
    margin-bottom: -10px;
}

footer p {
    margin: 5px 0;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
