@media (max-width: 900px) {
    body {
        background-position: center center;
        width: 100%;
    }

    header {
        width: 100dvw;
        height: 72px;
        padding: 0 24px;
        flex-direction: row;
        align-items: center;
        justify-content: left;
        z-index: 10;
    }

    .header__logo {
        margin: 0 auto;
        font-size: 18px;
    }

    .header__nav,
    .header__social-links,
    .header__language {
        display: none;
    }

    main {
        margin-left: 0;
        padding-top: 72px;
        width: 100%;
        min-height: 100dvh;
        display: block;
    }

    .container {
        width: 100%;
        max-width: none;
        min-height: 100dvh;
        aspect-ratio: auto;
        margin: 0 auto 0;
    }
}










@media (max-width: 768px) {
    .header__burger {
        display: flex;
        width: 24px;
        height: 24px;
        cursor: pointer;
        background: none;
        border: none;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100dvh;
        background-color: rgba(22,22,22,.8);
        padding: 40px 0 40px 40px;
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 20;
        font-family: 'Literata', serif;
        font-weight: 600;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu__logo {
        display: flex;
        font-size: 28px;
        color: #ffffff;
    }

    .header__language {
        display: none;
    }

    .mobile-header__language {
        display: flex;
        position: fixed;
        left: 24px;
        top: 96px;
        width: 98px;
        height: 27px;
        border: 1px solid rgba(255,255,255,.55);
        border-radius: 7px;
        overflow: hidden;
        background: rgba(22,22,22,.8);
    }

    .mobile-header__language .language__slider {
        position: absolute;
        width: 32px;
        height: 25px;
        background: #fff;
        border-radius: 7px;
    }

    .mobile-header__language button {
        position: relative;
        z-index: 1;
        width: 32px;
        height: 25px;
        padding: 0;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        font-family: inherit;
        color: rgba(255,255,255,.75);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
    }

    .mobile-header__language button.active {
        color: #000;
        font-size: 18px;
        font-weight: 600;
    }

    .mobile-menu .mobile-menu__language {
        display: flex;
        position: relative;
        margin-top: 24px;
        width: 98px;
        height: 27px;
        border: 1px solid rgba(255,255,255,.55);
        border-radius: 7px;
        overflow: hidden;
    }

    .mobile-menu .mobile-menu__language .language__slider {
        position: absolute;
        width: 32px;
        height: 25px;
        background: #fff;
        border-radius: 7px;
    }

    .mobile-menu .mobile-menu__language button {
        position: relative;
        z-index: 1;
        width: 32px;
        height: 25px;
        padding: 0;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        font-family: inherit;
        color: rgba(255,255,255,.75);
        font-size: 14px;
        cursor: pointer;
    }
    
    .mobile-menu .mobile-menu__language button.active {
        color: #000;
        font-size: 18px;
    }

    .mobile-menu__nav {
        display: flex;
        flex-direction: column;
        gap: 35px;
        padding: 0 0 0 32px;
        margin-top: 80px;
        font-size: 14px;
    }

    .mobile-menu__nav a {
        display: block;
        color: rgba(255,255,255,.55);
        text-decoration: none;
    }

    .mobile-menu__nav a.mobile-menu__nav_selected {
        color: rgba(255,255,255,1);
    }

    .mobile-menu__social-links {
        display: flex;
        gap: 17px;
        position: absolute;
        bottom: 40px;
        left: 40px;
        margin: 0;
    }

    .mobile-menu__social-links img {
        width: 24px;
        height: 24px;
    }
}










@media (max-width: 768px) {
    .background__blur { 
        display: block;
        position: fixed;
        width: 100%;
        height: 100dvh;
        inset: none;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        filter: none;
        z-index: -1000;
    }

    .background__blur.active {
        inset: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        filter: blur(10px);
        z-index: 11;
    }
}










@media (max-width: 768px) {
    .collab__hero {
        aspect-ratio: 340/200;
        max-width: 340px;
        margin: 0 auto 0;
    }

    .collab__img {
        aspect-ratio: 340/200;
        max-width: 340px;
    }

    .collab__logo {
        aspect-ratio: 41/51;
        max-width: 41px;
        left: 10px;
        top: 10px;
    }

    .collab__title {
        font-size: 35px;
        line-height: 52px;
        margin: 26px auto 0;
    }

    .collab__descr {
        max-width: 340px;
        gap: 14px;
        margin: 23px auto 0;
    }

    .collab__descr p {
        font-size: 16px;
        line-height: 22px;
    }

    .contacts {
        aspect-ratio: 340/972;
        max-width: 340px;
        margin: 20px auto 0;
    }

    .contacts__title {
        font-size: 35px;
        line-height: 52px;
    }

    .contacts__container {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 0px;
    }

    .contacts__hero {
        grid-column: 1;
        aspect-ratio: 340/440;
        max-width: 340px;
        margin: 30px auto 0;
    }

    .contacts__img {
        aspect-ratio: 340/440;
        max-width: 340px;
    }

    .contacts__logo {
        aspect-ratio: 71/89;
        max-width: 71px;
        left: 10px;
        top: 10px;
    }

    .contacts__links {
        grid-column: 1;
        aspect-ratio: 300/415;
        max-width: 300px;
        margin: 0 auto 0;
        gap: 20px;
    }

    .link__rectangle {
        aspect-ratio: 300/67;
        min-width: 300px;
        font-size: 22px;
        line-height: 16px;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0 auto 0;
    }

    .link__rectangle img {
        width: 30px;
        height: 30px;
    }
}