:root {
    --white: #FFFFFF;
    --maincolor: #000000;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;

}

h1, p, h2, h3, h4 {
    padding: 0;
    margin: 0;
    color: var(--white);
}

html {
    scroll-behavior: smooth;
    font-size: clamp(16px, 2vw, 25px);
    
}

@font-face {
    font-family: "Inter";
    src: url("font/Inter-VariableFont_opsz\,wght.ttf") format("truetype");
    font-weight: 100-900;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: var(--maincolor);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    width: 100%;
}

a {
    text-decoration: none;

    font-size: var(--fsp);
    font-weight: 400;
}

h2 {
    font-size: var(--fsh2);
    font-weight: 500;
}

h1 {
    font-size: var(--fsh1);
    font-weight: 500;
}

p {
    font-size: var(--fsp);
    font-weight: 400;
}

.maincent {
    width: 100vw;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100vw;
    max-width: 1500px;
    z-index: 9999;
    margin: 0 auto;
    background: var(--maincolor);
    box-shadow: 0px 5px 15px cyan;
    border-radius: 10px;
}

#buttonhere {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    transition: all 0.5s ease-in-out;
}

#buttonhere span {
    transition: all 1s ease-in-out;
}


.rotate0 {
    transform: translateY(6px) rotateZ(45deg);
}

.rotate2 {
    transform: translateY(-6px) rotateZ(-45deg)
}

#buttonhere span {
    display: block;
    width: 30px;
    border-radius: 9999px;
    color: var(--white);
    border: 0.5px solid var(--white);
}

.opacity {
    opacity: 0;
}

.navigation {
    position: relative;
    right: 0px;
    width: fit-content;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.navigation ul {
    display: flex;
    padding: 0px 10px;
    width: 400px;
}

li {
    position: relative;
    list-style: none;
    z-index: 1;
}

.navigation a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 300;
}

.navigation a .icon, .navigation div .icon {
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 0.76rem;
    text-align: center;
    color: #000000;
    transition: transform 0.5s;
}

.navigation li.active a .icon, .navigation li.active div .icon {
    transform: translateY(-35px);
    color: #FFFFFF;
    font-weight: 200;
}

.navigation a .text {
    position: absolute;
    text-wrap: nowrap;
    font-weight: 300;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    transition: transform 0.5s;
    opacity: 0;
    transform: translateY(20px);
    color: #000000;
}

.navigation div .text {
    position: absolute;
    text-wrap: nowrap;
    font-weight: 300;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    transition: transform 0.5s;
    opacity: 0;
    color: #000000;
    transform: translateY(60px);
}

.navigation li.active a .text {
    opacity: 1;
    transform: translateY(10px);
}

.navigation li.active div .text {
    opacity: 1;
    transform: translateY(40px);
}

.indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -70px;
    width: 60px;
    height: 60px;
    background: #4985FF;
    box-sizing: border-box;
    border-radius: 50%;
    transition: 0.5s;
}

.navigation li.active ~ .indicator::before,
.navigation li.active ~ .indicator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: transparent;
}

.indicator::before {
    left: -22px;
    border-top-right-radius: 20px;
    animation: bac 0s forwards;
    animation-delay: 0.25s;
}

.indicator::after {
    right: -22px;
    border-top-left-radius: 20px;
    animation: bac1 0s forwards;
    animation-delay: 0.25s;
}

@keyframes bac {
    0% {
        box-shadow: none;
    }
    100% {
        box-shadow: 1px -10px 0 0 #000000;
    }
}

@keyframes bac1 {
    0% {
        box-shadow: none;
    }
    100% {
        box-shadow: -1px -10px 0 0 #000000;
    }
}

.navigation li.active~.indicator {
    --x: 0;
    transform: translateX(var(--x));
}

.navigation li.active~.indicator {
    animation: none;
    top: -40%;
    left: 10px;
    border: 6px solid #000000;
}

.navigation li:nth-child(1).active~.indicator { --x: 17px; }
.navigation li:nth-child(2).active~.indicator { --x: 113px; }
.navigation li:nth-child(3).active~.indicator { --x: 205px; }
.navigation li:nth-child(4).active~.indicator { --x: 302px; }

.logo {
    text-shadow: -2px -2px 10px cyan;
    font-size: 1.75rem;
    transition: text-shadow 0.5s;
}

.mainlink:hover .logo {
    text-shadow: 0 0 10px cyan,
        0 0 20px cyan,
        0 0 30px cyan,
        0 0 70px cyan;
}

#icon1 {
    color: #FFFFFF;
}

#language-sw {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-weight: 300;
    cursor: pointer;
}

.switch {
    position: absolute;
    z-index: 300;
    background-color: #000000;
    transition: all 0.5s ease-in-out;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0px 5px 15px cyan;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: none;
    top: 80px;
}

.displ {
    display: flex;
}

.img-lang {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}