.text-and-slides {
    height: calc(100vh - 12em);
    display: flex;
    justify-content: center;
    margin-bottom: calc(1.5vh + 1.5em);
}

.text-and-slides .text {
    flex-grow: 1;
    box-sizing: border-box;
    position: relative;
    max-width: 50%;
    padding: 4vh 2.9vw 0 calc(50% - 33.1rem);
    line-height: 2;
    aspect-ratio: 960/760;
}

.text-and-slides .text h2 {
    position: relative;
}

.text-and-slides .text p {
    font-size: clamp(12px, calc(24.5vh * 0.105), max(22px, 1.1vw));
}

.slideshow-flexible {
    height: 100%;
    width: 50%;
}

.background-sketch {
    position: absolute;
    z-index: -1;
    height: 33rem;
    top: 28vh;
    right: min(calc(calc(30vw - 12rem) * 1.7), 30rem);
}

.menus-list {
    box-sizing: border-box;
    margin: 0.9em auto 2.2em;
    width: min(40em, 100%);
    border: 2px solid var(--gray);
    padding: 2.5em 1.5em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2.5em;
    grid-column-gap: 1.5em;
    background: var(--cream) url('/assets/Linen-tablecloth-GH30.jpg');
}

.menus-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    border: 2px solid var(--gray);
    padding: 0.65em 0.5em;
    background-color: var(--white);
    color: var(--gray);
    text-decoration: none;
    box-shadow: 0.1em 0.1em 0.4em rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.menus-list a:hover {
    background-color: var(--orange);
    border-color: rgba(0, 0, 0, 0);
    color: var(--white);
}

/* Tablet */
@media (max-width: 1128px), (max-height: 620px) {
    .text-and-slides {
        height: auto;
        flex-direction: column;
    }

    .text-and-slides .text {
        max-width: 100%;
        padding: 4vh 6vw 3vh 6vw;
        aspect-ratio: auto;
    }

    .text-and-slides .text p {
        font-size: max(22px, 1.1vw);
    }

    .background-sketch {
        height: 25rem;
        top: auto;
        bottom: -4vh;
        right: 2rem;
    }

    .slideshow-flexible {
        width: 100%;
        height: 60vh;
    }

    .menus-list {
        margin-top: calc(2.5vh + 1.5em);
        padding: 2em 1.25em;
        grid-row-gap: 2em;
        grid-column-gap: 1.25em;
    }

    .menus-list a {
        font-size: 1.15em;
    }
}

@media (max-width: 662px) {
    .menus-list {
        grid-template-columns: 1fr;
    }
}
