/* Mobile < 601px */
  
@media (max-width: 1023px) {

/* Typography */

    h1, .menu-links > li {
        font-size: 32px;
    }

    h2{
        font-size: 28px;
    }

    h3{
        font-size: 24px;
        text-align: center;
    }

    body{
        font-size: 16px;
    }

    footer{
        font-size: 14px;
    }

    a{
        color: inherit;
        text-decoration: none;
    }

    p{
        margin: 0;
    }

    .underline{
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }

/* Menu */

    .menu-open, .menu-close{
        top: 16px;
        right: 16px;
    }

    .menu-background, .outro-background{
        top: 16px;
        right: 16px;
    }

    @keyframes menuTransitionIn {
        0% {
            width: 0;
            height: 0;
            top: 28px;
            right: 28px;
        }
        100% {
            width: 300vh; 
            height: 300vh;  
            top: -150vh;
            right: -150vh;
        }
    }

    .menu-content{
        height: 100svh !important;
    }


/* Layout */

    header{
        height: 100svh;
    }

    .headline{
        padding: 16px;
    }

/* Teaser */

    .teaser-wrapper{
        padding-bottom: 64px;
    }

    .teaser{
        width: calc((100vw - 32px) * 0.75);
        align-self: center;
    }

    .teaser-visual video,
    .teaser-visual img {
        border-radius: 32px !important;
    }

/* Contact */

    .contact-text{
        padding-bottom: 24px;        
    }

    .contact-text > span > a {
        text-decoration: underline; 
        text-decoration-thickness: 1px; 
        text-underline-offset: 4px;
    }

    .contact{
        min-height: 100lvh;
    }

    .contact-logo{
        padding-top: 24px;
    }

    .contact-footer{
        padding: 0 !important;
    } 

/* Project */

    /* .gallery{
        gap: 48px;
    } */

    .gallery > img{
        width: 100%;
        height: auto;
    }

    .ui-toggle{
        padding-top: 16px;
        gap: 8px;
        justify-content: center;
    }

    figure{
        min-height: 100lvh;
        width: 100%;
        margin-inline: 0 !important;
        margin-block: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        gap: 48px;
        padding: 24px 0; 
    }

    .visual {
        gap: 24px;
        width: 100% !important;
    }

    .switchable.desktop {
        width: 100% !important; 
        height: auto !important; 
        max-height: 100%;
        border-radius: 16px;
    }

    .switchable.mobile{
        /* max-width: calc(100% - 96px);  */
        width: calc((100vw - 32px) * 0.75);
        max-height: 100%; 
        border-radius: 32px;
    }

    .project-text{
        gap: 24px;
        padding: 24px 0;
    }

    .project-text > p {
        padding-bottom: 24px;
    }

    li > span{
        min-width: 72px;
    }

    .other-projects{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 48px 16px;
    }

    .other-projects h2{
        font-size: 32px !important;
    }

/* Lightbox */

    .lightbox {
        gap: 24px;
        padding: 16px;
    }

    .lightbox .lb-close {
        top: 16px; 
        right: 16px;
    }

}