* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: black;
    font-family: "Poppins", sans-serif;
}

.up-side {
    width: 100%;
    height: 100vh;
    background-color: rgb(58, 56, 56);
}

.scroll-reveal {
    height: 60vh;
    background-color: black;
}

h2 {
    text-align: center;
    font-size: 5rem;
    line-height: 1;
}

.scroll-reveal p {
    font-size: 1.75rem;
    line-height: 1.3;
    max-width: 55ch;
    margin-inline: auto;
}

.scroll-reveal span {
    color: hsl(0 0% 100% / 0.2);
    background-clip: text;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-image: linear-gradient(90deg, white, white);
    animation: scroll-reveal linear forwards;
    animation-timeline: view(y);
}

.scroll-reveal h2 span {
    animation-range-start: cover 40vh;
    animation-range-end: cover 50vh;
}

.scroll-reveal p span {
    animation-range-start: cover 35vh;
    animation-range-end: cover 82vh;
}


@keyframes scroll-reveal {
    to {
        background-size: 100% 100%;
    }

}

.down-side {
    width: 100%;
    height: 1000px;
    background-color: rgb(58, 56, 56);
}