@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --main-font: 'Inter', sans-serif;
    --background-color: #131010;
    --description-color: #D2D0D0;
    --soft-black-color: #1E1E1E;
    --scroll-bar: rgba(210, 208, 208, 0.3);
    --scroll-bar-hover: #555555FF;

    --main-color: #FFAA00;
    --green-color: #4AFF6B;
    --red-color: #FF4B4B;
    --white-color: #FFFFFF;
    --grey-color: #444;

    --hover-color: rgba(255, 255, 255, 0.1);

    --copy-ip-button-background: rgba(255, 170, 0, 0.7);
    --ip-copied-background: rgba(74, 255, 107, 0.17);
    --ip-copied-icon-background: rgba(74, 255, 107, 0.5);
    --warning-background: rgba(255, 124, 124, 0.17);
    --how-to-join-button-background: rgba(210, 208, 208, 0.2);

    --stats-background: rgba(210, 208, 208, 0.05);
    --stat-icon-background-2: rgba(255, 170, 0, 0.5);
}

body {
    background: var(--background-color);
    font-family: var(--main-font);
    overflow-x: hidden;
}

section:not(#header) .content {
    padding: 90px 150px;
    width: 100%;
}

.js-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.js-preloader img {
    position: relative;
    width: 142px;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 150px;
    background: var(--background-color);
    transition: 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.navbar a {
    text-decoration: none;
}

.navbar .menu-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .menu-mobile .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .menu-mobile .logo img {
    max-width: 40px;
    height: auto;
}

.navbar .menu-mobile .logo h3 {
    color: var(--white-color);
    font-weight: 900;
    font-size: 20px;
}

.navbar .links {
    display: flex;
    gap: 30px;
    transition: 0.3s ease-in-out;
    align-items: center;
}

.navbar .links .link {
    color: var(--description-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}

.navbar .links .color-button {
    background-color: var(--main-color);
    color: var(--background-color);
    padding: 5px 20px;
    border-radius: 23px;
    transition: transform 0.2s;
    font-weight: 600;
}

.navbar .links .link.color-button:hover {
    transform: scale(1.05);
    color: var(--background-color);
}

.navbar .links .link.active {
    color: var(--white-color);
}

.navbar .links .link.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}

.navbar .links .link:not(.active):not(.color-button):hover {
    color: var(--white-color);
}

.navbar .menu-mobile .hamburger {
    color: var(--white-color);
    font-size: 20px;
    cursor: pointer;
    transition: 0.5s;
    display: none;
}

.navbar .menu-mobile .hamburger:hover {
    opacity: 0.8;
}

.navbar.active {
    max-height: 1000px;
}

.navbar.active .links {
    opacity: 1;
    z-index: 2;
}

#footer {
    padding: 20px 150px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#footer p {
    color: var(--description-color);
    font-size: 17px;
}

#footer p span {
    color: var(--white-color);
}

#footer .social-links .shape-fill {
    fill: var(--description-color);
}

#footer .social-links a:hover .shape-fill {
    fill: var(--white-color);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--stats-background);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-bar);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-bar-hover);
}

img.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.lazy-img.loaded {
    opacity: 1;
}

@media screen and (max-width: 1625px) {
    .navbar {
        padding: 20px 90px;
    }

    section:not(#header) .content {
        padding: 90px;
    }

    section#features .content {
        padding-top: 0;
    }

    section#faq .content {
        padding-top: 45px;
    }

    #footer {
        padding: 20px 90px;
    }
}

@media screen and (max-width: 867px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        max-height: 73px;
        overflow: hidden;
        transition: max-height 0.8s ease-in-out;
    }

    .navbar .menu-mobile {
        width: 100%;
    }

    .navbar .menu-mobile .hamburger {
        display: flex;
    }

    .navbar .links {
        flex-direction: column;
        order: 2;
        width: 100%;
        opacity: 0;
        z-index: -1;
        align-items: flex-start;
        transition: opacity 0.8s ease-in-out;
    }
}

@media screen and (max-width: 819px) {
    .navbar {
        padding: 20px 30px;
    }

    section:not(#header) .content {
        padding: 50px 30px;
    }

    #footer {
        padding: 20px 30px;
    }
}

@media screen and (max-width: 564px) {
    #footer {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
