.intro {
    background-color: var(--clr-white);
    height: 100svh;

    display: flex;
    flex-direction: column;

    justify-content: flex-end;
    gap: 1rem;

    h1 {
        text-align: center;
    }
}

.intro h1 .word,
.project h1 .word {
    text-shadow: 0 1em 0 var(--clr-black);
}

.head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;

    img {
        width: calc(100% - 2rem);
        height: 25vh;
        object-fit: cover;
        z-index: 2;
        border-radius: 1rem;
        min-height: 200px;
        margin: 1rem;
    }
}

.pre-footer {
    display: flex;
    gap: 1rem;

    margin-left: 1rem;

    position: relative;

    bottom: 1rem;
}

.scroll-container {
    background-color: var(--clr-green);
    padding: 1rem 0;
    position: relative;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;

    transform: translateY(100%);

    z-index: 30;
}

.scroll-content {
    display: inline-block;
    white-space: nowrap;
}

.scroll-content h3 {
    display: inline-block;
    padding-right: 0.1em;
    opacity: 0.5;
}

.bullet {
    padding: 0 1rem; /* Adjust spacing as needed */
}

.short {
    background-color: var(--clr-black);
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 2rem;

    padding: 1rem;

    h2 {
        color: #fffce1;
        z-index: 5;
        text-align: center;
    }

    img {
        height: 4rem;
    }
}

.project {
    background-color: hsl(40, 15%, 92%);
    padding: 12rem 1rem;
}

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;

    img {
        object-fit: cover;
        border-radius: 0.5rem;
        height: 50vh;
        width: 100%;
    }
}

/* .project {
    padding: 12rem 0 12rem 0;
    min-height: 100vh;
    width: 100%;
    background-color: var(--clr-white);
}

.pr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.3rem;
    width: calc(100% - 2rem);

    img {
        object-fit: cover;
        height: 25vh;
        width: 100%;
        border-radius: 0.5rem;
        margin: 0 1rem;
        min-height: 200px;
    }
}

.pr-list {
    display: none;
} */

@media only screen and (min-width: 60em) {
    .intro {
        justify-content: center;
        gap: 0rem;
    }

    .intro h1 {
        margin-left: 2rem;
        text-align: left;
    }

    .head {
        height: 100%;
    }

    .head img {
        position: absolute;
        top: 0;
        right: 0;
        max-width: 100%;
        height: 100%;
        width: 20%;
        border-radius: 0;
        margin: 0;
    }

    .pre-footer {
        gap: 2rem;
        margin-left: 2rem;

        h4 {
            cursor: pointer;
        }
    }

    .scroll-container {
        transform: translateY(0%);
    }

    .bullet {
        padding: 0 2rem; /* Adjust spacing as needed */
    }

    .short h2 {
        width: 50%;
        text-align: center;
    }

    .project {
        padding: 12rem 12.5%;
    }

    .row {
        display: flex;

        gap: 1rem;

        img {
            object-fit: cover;
            border-radius: 1rem;
            height: 25vh;
            width: 100vw;
            transition: width 5s cubic-bezier(0, 0.75, 0.5, 1);
        }

        img:hover {
            width: 200vw;
        }
    }
}
