* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {

    background: #315FC2;

    overflow-x: hidden;
    overflow-y: auto;

    font-family: "Inter", sans-serif;

}


/* ---------------------------- */
/* HERO */
/* ---------------------------- */

.hero {

    position: relative;

    width: 100vw;

    /*
        Первый холст теперь длиннее обычного экрана.
        Контент остаётся наверху,
        а снизу появляется большое пустое пространство.
    */

    min-height: 140vh;

}


/* ---------------------------- */
/* ABOUT */
/* ---------------------------- */

.about {

    position: absolute;

    top: 4.5vh;
    right: 4vw;

}

.about p {

    font-family: "IBM Plex Mono", monospace;

    font-size: clamp(18px, 1.7vw, 34px);

    line-height: 1.25;

    color: #9EA8CA;

}


/* ---------------------------- */
/* TITLE */
/* ---------------------------- */

.title {

    position: absolute;

    left: 3vw;
    top: 8vh;

}

.im {

    font-family: "IBM Plex Mono", monospace;

    font-size: clamp(60px, 8vw, 150px);

    color: white;

    letter-spacing: -0.05em;

    line-height: 0.85;

}

h1 {

    font-family: "IBM Plex Mono", monospace;

    font-weight: 400;

    font-size: clamp(120px, 15vw, 330px);

    letter-spacing: -0.06em;

    line-height: 0.82;

    color: white;

    white-space: nowrap;

    transform: translateY(2vh);

}

h2 {

    margin-top: 8vh;

    font-family: "Inter", sans-serif;

    font-weight: 300;

    font-size: clamp(24px, 2.5vw, 58px);

    color: #D0D0D0;

    letter-spacing: -0.02em;

}


/* ---------------------------- */
/* SOCIAL BUTTON */
/* ---------------------------- */

.mainLinks {
    position: absolute;

    left: 3vw;
    bottom: 50vh;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2vh;
}

.socialButton {
    position: static;

    display: block;
    text-decoration: none;

    font-family: "Inter", sans-serif;
    font-size: clamp(26px, 2.4vw, 55px);

    color: #1B91FF;
    transition: .2s ease;
}

.socialButton span {
    color: #57AEFF;
}

.socialButton:hover {
    color: white;
    transform: translateX(10px);
}

.socialButton:hover span {
    color: white;
}


/* ---------------------------- */
/* VISITOR COUNTER */
/* ---------------------------- */

.visitor-counter {

    position: fixed;

    right: 2.5vw;
    bottom: 3vh;

    display: flex;

    align-items: center;

    gap: 1.2rem;

    z-index: 1000;

    opacity: .75;

    transition: .25s;

}

.visitor-counter:hover {

    opacity: 1;

}

.eye-icon {

    width: 90px;

    height: auto;

    flex-shrink: 0;

}

#visitorCount {

    font-family: "Inter", sans-serif;

    font-size: 42px;

    font-weight: 300;

    color: #9EA8CA;

    letter-spacing: -0.03em;

    user-select: none;

}


/* ---------------------------- */
/* MOBILE */
/* ---------------------------- */

@media (max-width: 900px) {


    /* HERO */

    .hero {

        min-height: 125vh;

        padding: 0;

    }


    /* ABOUT */

    .about {

        left: 6vw;

        right: auto;

        top: 6vw;

    }

    .about p {

        font-size: 4vw;

    }


    /* TITLE */

    .title {

        left: 6vw;

        top: 18vh;

    }

    .im {

        font-size: 14vw;

    }

    h1 {

        font-size: 22vw;

        white-space: normal;

        line-height: .9;

        transform: translateY(0);

    }

    h2 {

        font-size: 5vw;

        margin-top: 8vw;

    }


    /* SOCIAL BUTTON */
.mainLinks {
    left: 6vw;
    bottom: 7vw;
    gap: 2vw;
}

.socialButton {
    font-size: 6vw;
}

    /* COUNTER */

    .visitor-counter {

        right: 4vw;

        bottom: 3vw;

        gap: .7rem;

    }

    .eye-icon {

        width: 55px;

    }

    #visitorCount {

        font-size: 25px;

    }

}


/* ---------------------------- */
/* SOCIAL PAGE */
/* ---------------------------- */

.social-page {

    width: 100vw;

    min-height: 100vh;

    background: #315FC2;

    padding-left: 6vw;

    padding-top: 5vh;

}


.social-title {

    font-family: "IBM Plex Mono", monospace;

    font-size: clamp(70px, 10vw, 180px);

    color: white;

    letter-spacing: -0.08em;

    line-height: 0.8;

    white-space: nowrap;

}


.social-links {

    margin-top: 6vh;

    display: flex;

    flex-direction: column;

    gap: 1.8vh;

}


.social-links a {

    font-family: "IBM Plex Mono", monospace;

    font-size: clamp(28px, 3vw, 65px);

    color: white;

    text-decoration: none;

    letter-spacing: -0.05em;

    display: block;

    transition: transform .25s ease, opacity .25s ease;

}


.social-links a:hover {

    transform: translateX(20px);

    opacity: .7;

}
