.nav-box button {
    font-size: var(--nav-size);
    color: inherit;
    background-color: inherit;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0;
    text-wrap: none;
    white-space: nowrap;
}

@media (orientation: landscape) {
    :root {
        --name-size: max(2vw, 1.5rem);
        --description-size: max(1.5vw, 1.15rem);
    }

    body {
        max-width: none;
        width: fit-content;
    }

    .title-box h2 {
        font-style: normal;
    }

    .container {
        display: flex;
        flex-direction: row;
        gap: 3rem;
        width: fit-content;
    }

    .menu {
        min-width: max-content;
    }

    .nav-box button:hover {
        color: #a7a7a7;
    }

    .text-wall {
        min-width: 20vw;
    }

    .photos {
        /* width: 75%; */
        display: flex;
        flex-direction: row;
        gap: 1rem;
        width: auto;
        align-items: center;
        height: calc(100dvh - 10rem);
    }

    .photos img {
        /* width: 100%; */
        height: calc(100dvh - 12rem);
        width: auto;
    }
}

@media (orientation: portrait) {
    :root {
        --name-size: 4.5vw;
    }

    .menu {
        display: grid;
        grid-template-columns: 1fr min-content;
        grid-template-rows: repeat(2, min-content);
    }

    .nav-box {
        order:unset;
        grid-column: span 2 / span 2;
        grid-column-start: 1;
        grid-row-start: 1;
        height: fit-content;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .title-box {
        order: unset;
        grid-column-start: 1;
        grid-row-start: 2;
        margin-top: 1rem;
        width: 100%;
    }
    
    .title-box h2 {
        visibility: hidden;
        display: none;
    }

    .lang-select {
        order: unset;
        grid-column-start: 2;
        grid-row-start: 2;
        margin-top: 1rem;
        width: fit-content;
    }

    .text-wall::before {
        content: var(--page-title);
        display: block;

        font-size: var(--page-title-size);
        font-style: italic;
        margin: .5rem 0;
    }

    .photos {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .photos img {
        width: 100%;
        height: auto;
    }
}