:root{
    --purple: #9A94BC;
    --black: #050517;
    /* Just use white for #FFFFFF */
}

*,::after,::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--black);
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    min-width: 100%;
    color: white;
}

#welcome-section{
    width: 100%;
}

.text-1-container{
    width: 100%;
    margin-top: 25vh;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-2-container{
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-3-container{
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25vh;
}

/* Utility class for font */
.custom-font{
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 500; /* Use a value from 400 to 700 */
    font-style: normal
}

.text-1{
    font-size: 6vw;
    /* Applying animation */
    animation: appear-on-load 1000ms forwards 800ms;
    opacity: 0;
    translate: 0 200px;
    scale: .8;
}

.text-2{
    font-size: 7vw;
    color: var(--purple);
    /* Applying animation */
    opacity: 0;
    animation: appear-on-scroll forwards;
    animation-timeline: view();
    animation-range: 200px 500px;
    translate: 0 200px;
    scale: .8;
}

.text-3{
    font-size: 7vw;
    /* Applying animation */
    opacity: 0;
    animation: appear-on-scroll forwards;
    animation-timeline: view();
    animation-range: 200px 500px;
    translate: 0 200px;
    scale: .8;
}

/* Utility class for transparent boxes */
.tran{
    width: 100%;
    height: 100vh;
    background-color: transparent;
}

/* Animations */

/* This animation makes the text fade in on load */
@keyframes appear-on-load {
    to{
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

/* This animation fades in the content as the user scrolls */
@keyframes appear-on-scroll {
    to{
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

.projects{
    width: 100%;
    height: 100vh;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5vw;
}

.projects-text{
    /* Applying animation */
    opacity: 0;
    animation: appear-on-scroll forwards;
    animation-timeline: view();
    animation-range: 200px 500px;
    translate: 0 200px;
    scale: .8;
}