html {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden; /* Отключает горизонтальный скролл */
}

* {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Отключает горизонтальный скролл */
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

@font-face {
    src: local("Inter"),
        url(./Inter.ttf) format("truetype");
    font-family: "Inter";
}


.h1 {
    font-family: "Inter", sans-serif;
    font-size: 6.25vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    color: #1A1A1A;
    margin: 2vh 0;
}

h2 {
    font-family: "Inter", sans-serif;
    font-size: 4.2vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: white;
    margin: 4vh 0;
    max-width: 30vw;
}

.h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.2vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #1A1A1A;
    max-width: 30vw;
    text-transform: uppercase;
}


.t1 {
    font-family: "Inter", sans-serif;
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #1A1A1A;
    max-width: 30vw;
    margin: 7.4vh 0;
}

.kk {
    margin: 0;
}

.white {
    color: white;
}

.link {
    font-family: "Inter", sans-serif;
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #1A1A1A;
    max-width: 30vw;
    margin: 0;
    text-decoration: underline;
}

section {
    padding: 0;
}


.gr {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    padding: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2000;
    gap: 0;
}



.menu {
    width: 100%;
    height: 5vh;
    background-color: white;
    z-index: 1000;
    margin: 0;
    padding: 0 40px;
    border-bottom: 1px solid #1A1A1A;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 10px;
}

.menu-main {
    display: flex;
    justify-content: center;
    gap: 1vw;
    list-style: none;
    font-size: 0;
    padding: 0;
    margin: 0;
    min-height: 3vh;
}

.menu-main a {
    position: relative;
    text-decoration: none;
    color: rgba(26, 26, 26, 0.8);
    font-size: 12px;
    padding-bottom: 10px;
    transition: color 0.3s ease-in-out;
}

.menu-main a.active {
    color: #1A1A1A;
    font-weight: 700;
    text-decoration: underline;
}


.menu-main li {
    display: flex;
    margin: 0;
    padding: 0;
}

.dropbtn {
    background: none;
    padding: 8px;
    border-radius: 100px;
    font-size: 1vw;
    width: max-content;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 5vh;
}

.menu.white .dropbtn {
    color: #1A1A1A;
    background-color: white;
}

.menu.dark .dropbtn {
    color: white;
    background-color: #1A1A1A;
}


.dropbtn:hover, .dropbtn:focus {
    background-color: #1A1A1A;
    color: white;
}

.dropdown {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: white;
}

.dropdown-content {
    display: none;
    position: fixed;
    width: 100px;
    height: 100px;
    margin-top: 20px;
    top: 20px;
    left: 50%;
    background-color: white;
    font-size: 12px;
    padding: 10px 6px;
    border: 1px #1A1A1A solid;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0 ,0, 0.2); */
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.dropdown-content.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) !important; 
    z-index: 11000;
}


.dropdown-content a {
    position: relative;
    color: #1A1A1A;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background-color: #1A1A1A; /* Цвет линии */
}

.dropdown-content a:hover {
    text-decoration: underline;
}

.menu-main a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px; /* Толщина линии */
    text-underline-offset: 4px; /* Отступ от текста */
    text-decoration-color: #1A1A1A; /* Цвет подчёркивания */
}


.burger {
    display: none;
    flex-direction: column;
    gap: 9px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    z-index: 110;
    overflow: hidden;
}

.burger span {
    display: block;
    width: 40px;
    height: 4px;
    background: #1A1A1A;
    transition: 0.3s ease-in-out;
}


.burger.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}



.link-accent {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.7vw;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    line-height: normal;
    color: #1A1A1A; 
    padding: 0;
    letter-spacing: 0;
    text-align: center;
}

.screen {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    width: 100vw;
    padding: 10vh 80px;
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
    background-color: white;
    overflow: auto;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 2vh;
    z-index: 10;
}


.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10vh;
}

img {
    width: 30vw;
}

.grid-1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 100px;
    gap: 100px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 20vw;
}

.grid-2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 100px;
    gap: 100px;
}

footer {
    position: relative;
    left: 0;
    bottom: 0;
    background-color: #1A1A1A;
    color: white;
    padding: 4vh 40px;
    text-align: left;
    z-index: 100;
    border-top: 1px solid white;
}

.footer-container {
    width: 100%;
    margin: 0;
}

.footer-menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2vw;
    text-align: left;
    font-size: 12px;
    margin-bottom: 30px;
    pointer-events: auto;
}

.footer-menu div {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    flex-grow: 1;
    margin-left: 40px;
}

.footer-menu a {
    position: relative;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    text-align: left;
    z-index: 10;
}

.accent {
    position: relative;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    text-align: left;
    z-index: 10;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-menu a:hover {
    text-decoration: underline;
}

.footer-form {
    display: flex;
    justify-content: center;
    font-size: 12px;
    gap: 120px;
    margin: 80px 0;
    padding: 0 40px 0;
    height: 40px;
}

.footer-form input {
    display: flex;
    align-items: center;
    padding: 16px;
    width: 40%;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-size: 12px;
    line-height: 1;
}

.footer-form input::placeholder {
    color: gray;
    font-size: 12px;
}

.footer-button {
    background: white;
    color: #1A1A1A;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    max-width: 20vw;
    font-size: 12px;
}

.footer-bottom {
    width: 100%;
    font-size: 12px;
    border-top: 2px solid white;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-bottom div {
    flex-grow: 1;
    text-align: center;
    margin-top: 40px;
}

.firma {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: white;
    text-transform: uppercase;
    margin: 0;
    text-wrap: nowrap;
}

@media screen and (min-width: 320px) and (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .overlay-text {
        display: none;
        visibility: hidden;
        opacity: 0;
    }
    
    .h1 {
        display: block;
        font-family: "Inter", sans-serif;
        font-size: 12vw;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        text-align: center;
        color: #1A1A1A;
        margin: 0;
    }

    .h2 {
        display: block;
        font-family: "Inter", sans-serif;
        font-size: 7vw;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        text-align: center !important;
        color: #fff;
        margin: 0;
        min-width: 100%;
    }

    .h3 {
        display: block;
        font-family: "Inter", sans-serif;
        font-size: 5vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: uppercase;
        text-align: center !important;
        color: #1a1a1a;
        margin: 1vh 0;
        min-width: 100%;
    }


    .t1 {
        font-size: 4vw;
        text-align: center;
        min-width: 100%;
    }

    .link {
        font-size: 4vw;
        text-align: center;
        min-width: 100%;
    }


    nav {
        height: 100px;
    }

    

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 50px;
        z-index: 1000;
        background: white; 
    }


    .menu-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        z-index: 100;
        padding: 10px;
        justify-content: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        font-size: 14px !important;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .menu-main.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-main .link {
        font-size: 18px;
    }

    .menu-main .link-accent {
        font-size: 18px;
    }

    .dropbtn {
        position: fixed;
        top: 20px;
        left: 0;
        background: red;
        color: #1A1A1A;
        padding: 4px;
        width: 56px;
        height: 56px;
        border-radius: 100px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        z-index: 10000;
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .lang-icon {
        width: 52px;
        height: 52px;
    }
    .dropbtn:focus {
        background-color: #1A1A1A;
        color: white;
    }
    
    .dropdown {
        position: absolute;
        top: 10%;
        transform: translateY(-10%);
    }
    
    .dropdown-content {
        position: absolute;
        width: 160px;
        height: 150px;
        margin-top: 20px;
        top: 100%;
        left: 55%;
        background-color: white;
        font-size: 4vw;
        padding: 10px;
        border: 1px #1A1A1A solid;
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%);
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    
    .dropdown-content.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) !important; 
        z-index: 1100;
    }
    
    
    .dropdown-content a {
        position: relative;
        color: #1A1A1A;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: center;
    }
    
    .dropdown-content a:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 1px;
        background-color: #1A1A1A; /* Цвет линии */
    }
    
    .dropdown-content a:hover {
        text-decoration: underline;
    }
    
    .menu-main a.active {
        text-decoration: underline;
        text-decoration-thickness: 4px; /* Толщина линии */
        text-underline-offset: 10px; /* Отступ от текста */
        text-decoration-color: #1A1A1A; /* Цвет подчёркивания */
    }
    

    .burger {
        display: flex;
        position: absolute;
        top: 30%;
        left: 32px;
        margin-bottom: 20px;
    }


    
    .screen {
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100vw;
        height: 100%;
        transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
        background-color: white;
        overflow: visible;
    }

    .content {
        width: 100vw;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10;
        padding-bottom: 80px;
        pointer-events: none;
    }

    .header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 40px 25px 0;
        z-index: 1000;
    }

    footer {
        position: relative;
        left: 0;
        bottom: 0;
        background-color: #1A1A1A;
        color: white;
        padding: 8vh 20px;
        text-align: left;
        font-size: 18px;
    }
    
    .footer-container {
        width: 100%;
        margin: 0;
    }
    
    .footer-menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 30px;
        text-align: left;
        font-size: 18px;
        margin-bottom: 10vh;
        pointer-events: auto;
    }
    
    .footer-menu div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    
    .footer-menu a {
        position: relative;
        color: white;
        text-decoration: none;
        display: block;
        text-align: left;
        font-size: 18px;
        z-index: 10;
    }
    
    .footer-menu a:hover {
        text-decoration: underline;
    }
    
    .footer-form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 18px;
        gap: 40px;
        margin: 120px 0;
        padding: 0 40px;
    }
    
    .footer-form input {
        display: flex;
        align-items: center;
        padding: 10px;
        width: 100%;
        height: 50px;
        border: 2px solid white;
        background: transparent;
        color: white;
        font-size: 18px;
        line-height: 1;
    }
    
    .footer-form input::placeholder {
        color: gray;
        font-size: 18px;
    }
    
    .footer-button {
        background: white;
        color: #1A1A1A;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 20px;
        font-weight: bold;
        min-width: 100%;
        font-size: 18px;
    }
    
    .footer-bottom {
        width: 100%;
        font-size: 10px;
        border-top: 2px solid white;
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-bottom div {
        flex-grow: 1;
        text-align: center;
        margin-top: 20px;
    }
    
    .firma {
        font-family: "Inter", sans-serif;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        color: white;
        text-transform: uppercase;
        margin: 0;
        text-wrap: nowrap;
    }

    img {
        width: 80vw;
    }

    .grid-1 {
        flex-direction: column;
        gap: 20px;
        padding: 40px 0;
    }

    .text-container {
        min-width: 80vw;
    }

    .grid-2 {
        flex-direction: column-reverse;
        gap: 20px;
        padding: 40px 0;
    }

}
