:root {
    --font-main: "Inter", sans-serif;
    --font-jet: "JetBrains Mono", monospace;
    --font-lexend: "Lexend", sans-serif;

    --color-white: #fff;

    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: var(--font-main);
    font-weight: 400;
}

body {
    background-color: #fff;
    height: 100vh;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    display: block;
    text-decoration: none;
}

.scene {
    width: 100%;
    height: 100%;
}

.first__block {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.first__background {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
    transition: 0.4s all linear;
    animation: movingBackground 12s linear infinite alternate;
    transform-origin: left;
}

.noise__background {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
}

@keyframes movingBackground {
    0% {
        transform: scale(1);
        transform-origin: 10% top;
    }

    50% {
        transform-origin: 20% top;
    }

    100% {
        transform: scale(3.5);
        transform-origin: 60% bottom;
    }
}

.first__logo {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: left center;
    z-index: 5;
}

.second__logo {
    position: absolute;
    top: 34px;
    left: 48px;
    z-index: 5;
    display: none;
    cursor: pointer;
}

.menu {
    font-weight: 500;
    font-size: 16px;
    background: linear-gradient(90deg, #ff3e08 0%, #ff7f25 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-radius: 1000px;
    width: 71px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #ff3e08;
    outline: none;
    position: absolute;
    top: 41px;
    right: 52px;
}

.first__button-scroll {
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    padding: 10px 20px;
    width: 297px;
    height: 52px;
    border: none;
    outline: none;
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 4px solid #ff3e08;
    margin: 0 auto;
    margin-top: 283px;
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: 0.2s all linear;
}

.first__button-scroll:hover {
    border-bottom: 8px solid #ff3e08;
}

.first__image:nth-of-type(1) {
    position: absolute;
    left: 24%;
    bottom: -42%;
    height: 115%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.5s ease;
    will-change: transform;
    transform: rotate(-2deg) rotateY(5deg) rotateX(6deg) scale(0.8) skew(6deg, 16deg);
}

.first__image:nth-of-type(2) {
    position: absolute;
    height: 80%;
    left: 36%;
    bottom: -24%;
    transform: rotate(-2deg) rotateY(5deg) rotateX(6deg) scale(0.8) skew(6deg, 16deg);
}

.first__image:nth-of-type(3) {
    position: absolute;
    height: 80%;
    left: 47%;
    bottom: -34%;
    transform: rotate(-2deg) rotateY(5deg) rotateX(6deg) scale(0.8) skew(6deg, 16deg);
}

.first__rights {
    font-weight: 400;
    font-size: 12px;
    color: #12151f;
    position: absolute;
    left: 48px;
    bottom: 38px;
}

.counter {
    position: absolute;
    right: 52px;
    bottom: 38px;
    width: 84px;
    height: 123px;
    overflow: hidden;
}

.counter__inner {
    position: relative;
    width: 100%;
}

.counter__inner .digit {
    width: 93px;
    height: 130px;
    font-weight: 300;
    font-size: 128px;
    color: #12151f;
    font-family: var(--font-jet);
    text-align: right;
}

.second__content {
    max-width: 426px;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 5;
    left: 30%;
    height: fit-content;
    display: none;
}

.second__content-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.second__content-title>h2 {
    font-weight: 600;
    font-size: 50px;
    color: #12151f;
    font-family: var(--font-lexend);
}

.second__content-subtitle {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-bottom: 30px;
}

.second__content-subtitle>span {
    font-weight: 500;
    font-size: 24px;
    line-height: 92%;
    color: #12151f;
}

.second__content-buttons {
    display: flex;
    gap: 21px;
    align-items: center;
    margin-bottom: 30px;
    height: 60px;
}

.second__content-link {
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 10px;
    align-items: center;
    transition: 0.2s all linear;
}

.second__content-link>span {
    font-weight: 500;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}

.second__content-link:first-of-type {
    border-bottom: 4px solid #46389f;
}

.second__content-link:first-of-type:hover {
    border-bottom: 8px solid #46389f;
}

.third__content-link:first-of-type:hover {
    border-bottom: 8px solid #46389f;
}

.second__content-link:first-of-type>.circle {
    border-radius: 1000px;
    background: linear-gradient(59deg, #4738a1 0%, #614dda 100%);
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.second__content-link:last-of-type {
    border-bottom: 4px solid #ff3e08;
}

.second__content-link:last-of-type:hover {
    border-bottom: 8px solid #ff3e08;
}

.third__content-link:last-of-type:hover {
    border-bottom: 8px solid #ff3e08;
}

.second__content-link:last-of-type>.circle {
    border-radius: 1000px;
    background: linear-gradient(59deg, #ff3e08 0%, #ff7f25 100%);
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.second__content-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 137%;
    color: #12151f;
    margin-bottom: 18px;
}

.second__content-footer {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 30px;
}

.second__content-footer>span {
    font-weight: 700;
    font-size: 16px;
    line-height: 137%;
    color: #12151f;
}

/* --------THIRD SLIDE-------------- */

.third__content {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    margin: auto;
    z-index: 6;
    max-width: 620px;
    width: 100%;
    padding: 25px 62px 35px 62px;
    border-radius: 50px;
    background: linear-gradient(180deg, #121212 0%, #080808 100%);
    height: calc(100% - 76px);
    transition: .3s all linear;
    transform: translate(900%);
    opacity: 0;
}

.third__content-container {
    max-width: 484px;
    width: 100%;
    height: 89%;
    overflow: auto;
}

.third__content-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.third__content-title {
    font-weight: 600;
    font-size: 50px;
    color: #fff;
    margin-top: 18px;
    font-family: var(--font-lexend);
}

.third__content-close {
    padding: 0;
    margin: 0;
    display: block;
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.third__content-subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.third__content-subtitle>span {
    font-weight: 500;
    font-size: 24px;
    line-height: 92%;
    color: #fff;
}

.third__content-buttons {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-bottom: 20px;
    height: 60px;
}

.third__content-link {
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.12);
    background: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s all linear;
}

.third__content-link>span {
    font-weight: 500;
    font-size: 16px;
    color: #000;
}

.third__content-link:first-of-type {
    border-bottom: 4px solid #46389f;
}

.third__content-link:first-of-type>.circle {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background: linear-gradient(59deg, #4738a1 0%, #614dda 100%);
}

.third__content-link:last-of-type {
    border-bottom: 4px solid #ff3e08;
}

.third__content-link:last-of-type>.circle {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background: linear-gradient(59deg, #ff3e08 0%, #ff7f25 100%);
}

.third__content-trust {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.third__content-trust>span {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.third__content-text {
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    margin-bottom: 24px;
}

.third__content-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.third__content-box {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    display: flex;
    align-items: center;
}

.third__content-box>span {
    text-align: center;
    min-width: 40px;
    font-weight: 400;
    font-size: 20px;
    display: block;
}

.third__logo {
    position: absolute;
    top: 42px;
    left: 53px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
    transform: translateY(-300%);
}

.third__logo>span,
.third__logo>span>span {
    font-weight: 600;
    font-size: 50px;
    color: #12151f;
    font-family: var(--font-lexend);
}

/* --------FOURTH SLIDE-------------- */

.fourth__card {
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
    height: 80%;
    translate: 500%;
}

/* --------FIFTH SLIDE-------------- */


.fifth__card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 3;
    transform: translate(1800%);
    height: 163px;
}

.fifth__card.second {
    height: 296px;
}

.fifth__card.third {
    height: 123px;
}

.fifth__card.main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 4;
    height: 80%;
}

/* --------SIXTH SLIDE-------------- */

.sixth__card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 3;
    transform: translateY(1700%);
}

.sixth__card.first {
    left: -30%;
    height: 80%;
}

.sixth__card.second {
    left: -35%;
    height: 80%;
}

.sixth__card.third {
    left: -40%;
    height: 80%;
}

.sixth__card.fourth {
    left: -45%;
    height: 15%;
}

/* --------SOME FIXES-------------- */

.controls {
    position: absolute;
    bottom: 65px;
    left: 30%;
    display: flex;
    gap: 20px;
    display: none;
    z-index: 6;
}

.second__controls {
    position: absolute;
    right: 35px;
    bottom: 0;
    top: 0;
    margin: auto;
    display: flex;
    gap: 20px;
    display: none;
    z-index: 6;
    height: fit-content;
    transform: rotate(90deg);
}

.second__controls>button {
    padding: 15px;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    width: fit-content;
    height: fit-content;
}

.controls>button {
    padding: 15px;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    width: fit-content;
    height: fit-content;
}

.controls__box {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.controls__box>svg {
    position: absolute;
    width: 16px;
    height: 16px;
    flex: 0;
}

.prevScene>.controls__box>svg:last-of-type {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.nextScene>.controls__box>svg:last-of-type {
    position: absolute;
    right: 32px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.prevScene>.controls__box>svg,
.nextScene>.controls__box>svg {
    transition: 0.2s all linear;
}

.prevScene:hover>.controls__box>svg {
    transform: translateX(-32px);
}

.nextScene:hover>.controls__box>svg {
    transform: translateX(32px);
}

.modals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #21212162;
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    display: none;
    opacity: 0;
    transition: 0.6s opacity linear;
}

.modals.--visible {
    opacity: 1;
}

.modals.--opened {
    display: flex !important;
}

.modal {
    width: 50%;
    aspect-ratio: 16 / 9;
    background-color: #fff;
    padding: 5px 9px;
    position: relative;
    filter: drop-shadow(2px 4px 6px black);
}

.closeModal {
    position: absolute;
    top: -35px;
    right: -35px;
    outline: none;
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    cursor: pointer;
}

.second__content-video {
    cursor: pointer;
}

.third__background,
.fourth__background,
.fifth__background,
.sixth__background {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
}


.toFirstScene {
    display: none;
    outline: none;
    border: none;
    position: absolute;
    bottom: 16px;
    right: 21px;
    padding: 0;
    background-color: transparent;
    z-index: 6;
}

.forceToStart {
    display: none;
    outline: none;
    border: none;
    position: absolute;
    top: 17px;
    right: 13px;
    padding: 0;
    background-color: transparent;
    z-index: 6;
}

.openPreview {
    display: none;
    outline: none;
    border: none;
    position: absolute;
    bottom: 23px;
    right: 25px;
    padding: 0;
    background-color: transparent;
    z-index: 6;
}