/*
.playfair-display-<uniquifier> {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.manrope-<uniquifier> {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/



* {
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #fffdf9;
    font-family: "Manrope";
}


/*--------text_styles--------*/

h1 {
    font-family: "Playfair Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 98%;
    color: #2C2A28;
}

h2 {
    font-family: "Playfair Display";
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #2C2A28;
}

h3 {
    font-family: "Playfair Display";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    color: #2C2A28;

}

p {
    font-family: "Manrope";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #2C2A28;
}

.larger-text-under-h1-tag-that-i-cant-remember-the-name-of-or-if-it-even-has-a-name {
    font-size: 18px;
    font-weight: 300;
    color: #2C2A28;
}



/*--------navigation---------*/

nav {
    background-color: #b0be97;
    height: 64px;

    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;

    align-items: center;
    padding: 0 32px;
}

#nav-left {
    display: flex;
    justify-content: left;
}

nav div h3 a{
    color: #2C2A28;
    text-decoration: none;
}

nav div h3 a:hover {
    color: #75685b;
}

#nav-right {
    display: flex;
    justify-content: right;
    gap: 24px;
}

nav div p a {
    text-decoration: none;
    color: #2C2A28;
}

nav div p a:hover {
    color: #75685b;
}


/*--------header---------*/

header {
    background-image: url(images/restaurant-header.jpg);
    background-size: cover;
    background-position: 35%;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(75vh - 64px);
    background-color: rgba(255, 253, 249, 0.85);
    background-blend-mode: overlay;
}

.menu_text {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 880px;
    justify-content: center;
    padding: 0 36px 0 36px;
    gap: 16px;
}


/*--------menu_content---------*/

.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 36px;
    gap: 64px;
}

/*--------menu_text---------*/

.menu_content {
    display: flex;
    flex-direction: column;
}

.menu_content h2 {
    text-align: center;
    padding-bottom: 32px;
}


/*--------menu_grid---------*/

.menu_grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    column-gap: 16px;
    row-gap: 20px;
    justify-content: center;
    align-content: center;
}


/*--------menu_item---------*/

.menu_item {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    padding: 16px;

    max-width: 624px;

    outline: #D9A441 solid 1px;
    background-color: #F4EFE6;
    border-radius: 4px;
}

/*--AI helped with "last-child"--*/
.menu_item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

.menu-images {
    width: 142px;
    height: 142px;
    border-radius: 8px;
    align-self: center;

    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 4;
}

.menu_item h3 {
    grid-column: 2/3;
    grid-row: 1/2;
    padding: 8px 0;
}

.menu-description {
    grid-column: 2/3;
    grid-row: 2/3;
    font-weight: 200;
}

.menu-price {
    grid-column: 2/3;
    grid-row: 3/4;
    text-align: right;
    font-family: "Manrope";
    font-size: 28px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    padding-right: 8px;
}


@media (max-width: 904px) {
    .menu_grid {
        grid-template-columns: auto;
    }
}

@media (max-width: 505px) {

    .menu_item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;

    }

    .menu-images {
        grid-column: 1/2;
        grid-row: 1/2;
        justify-self: center;
        margin: 8px 0 16px 0;
    }

    .menu_item h3 {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .menu-description {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    .menu-price {
        grid-column: 1/2;
        grid-row: 4/5;
    }
}