.sec2 {
    color: var(--text-color-page-1);
    opacity: var(--gen-opacity);
    position: relative;
    overflow-x: hidden;
    height: 102vh;
    padding-top: 2%;
    /* margin-top: 5%; */
    /* background:  linear-gradient(0deg, rgb(0, 0, 0) 30%, rgba(255,255,255,1) 51%); */
    overflow: hidden;
}

.grad {
    background: linear-gradient(0deg, rgb(0 0 0) 93%, rgb(125 125 125) 97%);
}

.sec2-container {
    height: 100%;
    width: 100%;
}

.sec2-heading {
    font-family: Orenburg;
}

.sec2-heading > p {
    margin: 10px 0;
}

.sec2-titles {
    font-size: 70px;
    display: flex;
    height: 20%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3%;
    gap: 60px;
}

.sec2-title h3 {
    font-size: 0.7em;
    text-align: center;
    line-height: 1.5;
}
.sec2-subtitle {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    font-size: 0.24em;
    width: 55%;
    height: 300px;
    overflow: hidden;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 300px;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    mask-image: linear-gradient(
        to top,
        transparent,
        black 100%,
        black 0%,
        transparent
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
}
.sec2-subtitle::-webkit-scrollbar {
    display: none;
}

.sec2-subtitle > div {
    scroll-snap-align: start;
    /* color: transparent; */
    /* background-clip: text; */
    width: 50%;
    height: 300px;
}
.sec2-subtitle > div:last-child {
    scroll-snap-align: start;
    /* color: transparent; */
    /* background-clip: text; */
    width: 100%;
    height: 300px;
}

.slider {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec2-bg {
    position: absolute;
    top: 69%;
    font-size: 398%;
    font-weight: bold;
    opacity: 0.3;
    font-family: Arkitech;
    letter-spacing: 1px;
    z-index: 1;
    background: linear-gradient(to right, rgb(161 161 161), rgb(199 199 199), rgb(161 161 161));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    /* width: 100%; */
}

.lidar-bg-img {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 850px;
    width: 1350px;
    position: absolute;
    top: 23%;
    left: 13%;
    transform: rotate(-4deg);
    z-index: 1;
    pointer-events: none;
    animation: levitate 3s ease-in-out infinite;
}

@keyframes levitate {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.inertia-box {
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.lidar-bg-img img {
    flex-shrink: 0;
    width: auto;
    height: 100%;
}

.scores {
    font-family: Orenburg;
    font-size: 53px;
    font-weight: 300;
    letter-spacing: 1px;
    display: flex;
    gap: 4%;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;
    margin-top: 20%;
}
.scores > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.scores div {
    padding: 10px 0;
}

.scores > div > div:first-child,
.scores > div > div:last-child {
    font-size: 25px;
    font-weight: 1;
}

/* media queryies */

@media only screen and (max-width: 1370px) {
    .sec2-bg {
        position: absolute;
        top: 68%;
        font-size: 280%;
        font-weight: bold;
        opacity: 0.3;
        font-family: Arkitech;
        letter-spacing: 1px;
        z-index: 1;
        background: linear-gradient(
            to right,
            rgb(0 0 0),
            rgb(49 49 49),
            rgb(0 0 0)
        );
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .lidar-bg-img {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        height: 80%;
        width: 100%;
        position: absolute;
        top: 30%;
        left: 0%;
        transform: rotate(-4deg);
        z-index: 1;
    }

    .scores {
        font-family: Orenburg;
        bottom: 20%;
        font-size: 53px;
        font-weight: 300;
        letter-spacing: 1px;
        display: flex;
        gap: 4%;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 10%;
    }
    .scores > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .scores div {
        padding: 10px 0;
    }

    .scores > div > div:first-child,
    .scores > div > div:last-child {
        font-size: 18px;
        font-weight: 1;
    }
}
