@media (max-width: 900px) {
    body {
        background-position: center center;
    }

    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 20px;
    }
}










@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) {
    .about__hero {
        aspect-ratio: 340/200;
        max-width: 340px;
    }

    .hero__img {
        width: 100%;
        height: auto;
        border-radius: 16px;
        border-width: 1px;
    }

    .hero__logo {
        aspect-ratio: 41/51;
        max-width: 41px;
        left: 10px;
        top: 10px;
    }

    .about__title {
        font-size: clamp(40px, 11vw, 58px);
        line-height: 74px;
        margin-top: 15px;
    }

    .about__text {
        max-width: 320px;
        margin-top: 20px;
        font-size: 16px;
        line-height: 19px;
        text-align: center;
    }

    .about__container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 0;
    }

    .container__rectangle {
        width: 262px;
        margin-left: 24px;
        margin-right: 24px;
        padding: 20px;
        gap: 8px;
    }

    .container__rectangle_more {
        width: 262px;
        margin-left: 24px;
        margin-right: 24px;
        padding: 20px;
        gap: 8px;
    }

    .container__rectangle:nth-child(odd),
    .container__rectangle_more:nth-child(odd) {
        justify-self: start;
    }

    .container__rectangle:nth-child(even),
    .container__rectangle_more:nth-child(even) {
        justify-self: end;
    }


    .container__rectangle_title {
        font-size: 22px;
        line-height: 25px;
        margin-bottom: 4px;
    }

    .container__rectangle_subtitle {
        font-size: 15px;
        line-height: 19px;
    }
}