.home__history {
    margin-top: 160px;
    position: relative;
}

.home__history-icon {
    position: absolute;
    top: -130px;
    left: 70%;
}

.home__history-wrapper {
    border: 3px solid #414141;
    border-radius: 40px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background: #1d1d1da8;
    overflow: hidden;
}

.home__history-wrapper-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 1000px;
    pointer-events: none;
    background-image: url("/public/client/assets/home/history/bg.png");
    background-repeat: no-repeat;
    background-position: -13px -3px;
    background-size: cover;
    mix-blend-mode: luminosity;
    opacity: 0.4;
}

.home__history-s {
    width: 320px;
    position: absolute;
    z-index: -1;
    animation: go 35s linear 0s infinite;
    transform: translate(-150%, 0);
}
@keyframes go {
    0% {
        transform: translate(-150%, 0);
    }
    10% {
        transform: translate(-20%, -20px);
    }
    20% {
        transform: translate(25vw, 0);
    }
    30% {
        transform: translate(50vw, -20px);
    }
    40% {
        transform: translate(75vw, 0);
    }
    50% {
        transform: translate(95vw, -20px);
    }
    60% {
        transform: translate(75vw, 0);
    }
    70% {
        transform: translate(50vw, -20px);
    }
    80% {
        transform: translate(25vw, 0);
    }
    90% {
        transform: translate(0, -20px);
    }
    100% {
        transform: translate(-150%, 0);
    }
}
/* .home__history-s.active {
    transform: translate(2000px, -300px);
} */

body {
    overflow-x: hidden;
}

.home__history-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 54px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.home__history-subtitle {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.home__history-content {
    display: flex;
    margin-top: 49px;
}

.home__history-content-select {
    margin-right: 20px;
    width: 169px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home__history-content-select-item {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    color: #fff;
    white-space: nowrap;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: all 400ms;
    cursor: pointer;
}

.home__history-content-select-item:hover {
    opacity: 0.8;
}

.home__history-content-select-item.active {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 60px;
    background: linear-gradient(90deg, #0528fd 0%, #08b8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 60px 0 rgba(41, 142, 174, 0.8), 0 20px 60px 0 rgba(98, 118, 224, 0.2), -20px -20px 50px 0 rgba(182, 117, 222, 0.4), inset 0 0 10px 0 rgba(255, 255, 255, 0.5);
}

.home__history-content-select-item-pointer {
    background: #d9d9d9 linear-gradient(90deg, #0528fd 0%, #08b8ff 100%);
    border-radius: 30px;
    width: 24px;
    height: 4px;
    flex-shrink: 0;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.home__history-content-data {
    display: flex;
    gap: 24px;
}

.home__history-content-data-image {
    border-radius: 20px;
    width: 480px;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.home__history-content-data-text-title {
    font-family: var(--font3);
    font-weight: 400;
    font-size: 24px;
    line-height: 133%;
    color: #fff;
}

.home__history-content-data-text-text {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 13px;
}

.home__history-content-data-text-text a {
    display: inline;
}

.home__history-content-data-text-text p + p {
    margin-top: 15px;
}

.home__history-content-data-text-text a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: inherit;
    transition: all 0.2s ease;
}

.home__history-content-data-text-text a:hover {
    color: rgba(255, 255, 255, 1);
}

@media (max-width: 980px) {
    .home__history-content-data {
        flex-direction: column;
    }
}

@media screen and (max-width: 680px) {
    .home__history-wrapper {
        padding: 24px;
    }
    .home__history-content-data-image {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }
    .home__history-content-select-item.active {
        font-size: 40px;
    }
    .home__history-content-select {
        width: 130px;
    }
}

@media screen and (max-width: 640px) {
    .home__history-title {
        font-size: 32px;
    }
    .home__history-subtitle {
        font-size: 14px;
    }
    .home__history-content-data-text-title {
        font-size: 20px;
    }
    .home__history-content-data-text-text {
        font-size: 14px;
    }
    .home__history-content {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-top: 20px;
    }
    .home__history-content-select-item-pointer {
        display: none;
    }
    .home__history-content-select {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        &::-webkit-scrollbar {
            display: none;
        }
    }
    .home__history-s {
        width: 320px;
        position: absolute;
        z-index: -1;
        animation: go 35s linear 0s infinite;
        transform: translate(-100%, 0);
    }
    @keyframes go {
        0% {
            transform: translate(-100%, 0);
        }
        10% {
            transform: translate(-30%, -20px);
        }
        20% {
            transform: translate(20vw, 0);
        }
        30% {
            transform: translate(55vw, -20px);
        }
        40% {
            transform: translate(90vw, 0);
        }
        50% {
            transform: translate(65vw, -20px);
        }
        60% {
            transform: translate(45vw, 0);
        }
        70% {
            transform: translate(20vw, -20px);
        }
        80% {
            transform: translate(-10%, 0);
        }
        90% {
            transform: translate(-65%, -20px);
        }
        100% {
            transform: translate(-100%, 0);
        }
    }
}