* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    width:100%;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: 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: 3vh 0;
}

.t1 {
    font-family: "Inter", sans-serif;
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #1A1A1A;
    max-width: 20vw;
    margin: 2vh 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 {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-style: normal;
    text-decoration: none;
    font-weight: 400;
    line-height: normal;
    color: #1A1A1A; 
    padding: 0;
    letter-spacing: 0;
    text-align: center;
}


.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;
}


.viewport {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    cursor: grab;
}

.viewport:active {
    cursor: grabbing;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
}

.header {
    position: relative;
    top: 100px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 6vh;
    gap: 2vh;
}

img {
    pointer-events: none;
}

.content img {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: auto;
}


.img1 {
    top: -50px;
    left: 100px;
}

.img2 {
    top: -500px;
    left: 0px;
}

.img3 {
    top: -450px;
    left: 100px;
}

.img5 {
    top: -250px;
    left: 500px;
}

.img6 {
    top: -200px;
    left: -150px;
}

.img7 {
    top: -240px;
    left: -800px;
}

.img8 {
    top: -500px;
    left: -1200px;
}

.img9 {
    top: -150px;
    left: 0;
}

.img10 {
    top: -180px;
    left: 150px;
}

.img11 {
    top: -500px;
    left: 250px;
}

.img12 {
    top: -1400px;
    left: -250px;
}

@media screen and (min-width: 320px) and (max-width: 490px) {
    .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: 1vh 0;
    }

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

    nav {
        height: 12%;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 10%;
        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: 10px;
        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: 4px !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;
    }

    .dropbtn {
        position: absolute;
        top: 30%;
        right: 20px;
        background: none;
        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;
    }
    
    .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;
        justify-content: center;
        align-items: flex-start;
        width: 100vw;
        height: 100%;
        padding: 80px 20px;
        transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
        background-color: white;
        overflow: visible;
    }

    .viewport {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        position: relative;
        background: #f0f0f0;
        cursor: grab;
    }
    
    .viewport:active {
        cursor: grabbing;
    }
    
    .content {
        position: absolute;
        top: 0;
        left: 0;
    }


    .header {
        display: block;
        position: relative;
        top: 80px;
        left: 10%;
        width: 100%;
        text-align: center;
        padding-top: 4vh;
        z-index: 100;
        max-width: 70vw;
        padding: 0;
    }

    img {
        pointer-events: none;
    }
    
    .content img {
        position: relative;
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .img1 {
        width: 40%;
        top: 170px;
        left: -50px;
    }

    .img2 {
        left: -250px;
        top: -700px;
    }

    .img3 {
        top: -1000px;
        left: 200px;
    }

    .img4 {
        left: 650px; 
        top: -800px;
    }

    .img5 {
        top: -1650px;
        left: 600px; 
    }

    .img6 {
        top: -1600px;
        left: 300px; 
    }

    .img7 {
        top: -1300px;
        left: -100px; 
    }

    .img8 {
        top: -1700px;
        left: -400px; 
    }

    .img9 {
        top: -1800px;
        left: 300px; 
    }

    .img10 {
        top: -2050px;
        left: 700px;
    }

    .img11 {
        top: -3000px;
        left: 1000px; 
    }

    .img12 {
        top: -3700px;
        left: 100px; 
    }

}