main {
    background-color: hsl(40, 15%, 92%);
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    padding: 6rem 1rem;
}

.left,
.center,
.right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.left h2 {
    text-shadow: 0 1em 0 var(--clr-black);
}

img {
    border-radius: 1rem;
    height: 400px;
    object-fit: cover;
}

.block {
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--clr-white);

    overflow: hidden;

    position: relative;
}

.block:hover {
    .blob {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }
}

.blob {
    height: 8rem;
    width: 16rem;
    border-radius: 50%;
    background-color: var(--clr-green);
    position: absolute;
    z-index: 0;
    transform: translate3d(-10rem, -6rem, 3rem);

    filter: blur(3rem);

    opacity: 0;

    transition: opacity 0.5s ease-in-out;
}

.tool {
    overflow: hidden;
    height: 300px;
}

.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scroll-container {
    padding: 1rem 0;
    position: relative;
    width: calc(100% + 4rem);

    left: -2rem;

    white-space: nowrap;
    overflow: hidden;
}

.scroll-container::before,
.scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 2rem; /* Adjust the width of the gradient as needed */
    pointer-events: none; /* Ensure the gradients don't interfere with interactions */
}

.scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-white), transparent);
}

.scroll-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

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

.scroll-content img {
    display: inline-block;
    padding-right: 0.1em;
    height: 4.5rem;

    cursor: pointer;
}

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

.perso h4 {
    color: hsl(75, 50%, 10%);
    margin-bottom: 2rem;
}

.perso h3 {
    font-family: var(--ff-text);

    font-variation-settings: "wght" 600;
    transition: font-variation-settings 0.35s cubic-bezier(0, 0.75, 0.5, 1);
}

.hc {
    transform: translateY(-50%);
}

.hc-up {
    background-color: var(--clr-black);
}

.path h2 .word {
    text-shadow: 0 1em 0 #fffce1;
    font-family: var(--ff-title);
}

.timeline {
    background-color: var(--clr-black);

    h1,
    h2,
    h3,
    h4,
    p {
        color: #fffce1;
    }
}

.path {
    background-color: var(--clr-black);

    padding: 8rem 0;

    .timeline {
        padding: 1rem;
        display: flex;
        flex-direction: column;
    }

    .unit {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding-bottom: 5rem;

        p {
            width: 100%;

            .word-wrapper {
                margin-bottom: 0.25em;
            }
        }
    }

    .t-section {
        margin-bottom: 4rem;
    }

    .t-title {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
        margin-bottom: 1em;
    }

    .bulb {
        color: var(--clr-green);
    }
}

footer {
    background-color: var(--clr-black);

    h4 {
        color: var(--clr-white);
    }
}

@media only screen and (min-width: 60em) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .path {
        .timeline {
            display: flex;
            width: 100%;
            gap: 2rem;
            padding: 2rem 25%;
        }

        .unit {
            p {
                max-width: 800px;

                .word-wrapper {
                    margin-bottom: 0.25em;
                }
            }
        }
    }
}

@media only screen and (min-width: 100em) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;

        padding: 12rem 20%;
    }
}

/* body {
    background-color: var(--clr-green);
    height: 100%;
}

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

.t-section h1 .word {
    text-shadow: 0 1em 0 #fffce1;
}

main .width {
    background-color: #e2e1d8;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 6rem 1rem 6rem 1rem;

    section {
        padding: 2rem;
        background-color: var(--clr-white);
        border-radius: 2rem;

        height: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .part-1 {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .part-2 {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .part-3 {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .part-4 {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .intro {
        width: 100%;

        h1 {
            color: var(--clr-black);
        }
    }

    .dave-1 {
        padding: 0;
        width: 100%;
        background-image: url(../img/dave_picture.webp);
        background-position: center;
        background-size: cover;
        height: 50vh;
    }

    .vibe {
        background-color: #1f1f1f;
    }

    .about-1 {
        h4 {
            color: #ec4e20;
        }
    }

    .basket {
        padding: 0;
        width: 100%;

        height: 25vh;
        background-image: url(../img/cursor/basketball.webp);
        background-position: center;
        background-size: cover;
    }

    .tools {
        align-items: self-start;

        h2,
        h3 {
            color: #433633;
        }

        h2 {
            margin-bottom: 2rem;
        }

        .tool-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem;
        }

        h4 {
            padding: 0.5rem 1rem;
            border-radius: 4rem;
            opacity: 0.75;
        }
    }

    .perso {
        h4 {
            margin-bottom: 2rem;
        }

        h4,
        h2 {
            color: #48e5c2;
        }
    }
}

.path {
    background-color: var(--clr-black);
    padding-top: 300px;
    padding-bottom: 300px;

    .timeline {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .unit {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding-bottom: 8rem;

        p {
            width: 100%;

            .word-wrapper {
                margin-bottom: 0.25em;
            }
        }
    }

    .t-section {
        margin-top: 12rem;
        margin-bottom: 4rem;
    }

    .t-title {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
        margin-bottom: 1em;
    }

    .bulb {
        color: var(--clr-green);
    }
}

@media only screen and (min-width: 60em) {
    main {
        background-color: #e2e1d8;
        display: flex;
        justify-content: center;
    }

    main .width {
        gap: 1rem;
        max-width: 1400px;

        .part-1 {
            display: grid;
            gap: 1rem;
            grid-template-columns: 1fr;
        }

        .part-2 {
            display: grid;
            gap: 1rem;
            grid-template-columns: 1fr 1fr 1fr;
        }

        .part-3 {
            display: grid;
            gap: 1rem;
            grid-template-columns: 1fr 1fr;
        }

        .part-4 {
            display: grid;
            gap: 1rem;
            grid-template-columns: 1fr 1fr 1fr;
        }

        .dave-1,
        .basket {
            height: auto;
        }

        .tools {
            .tool-list {
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
            }

            h4 {
                padding: 1rem 2rem 0.7rem 2rem;
                border-radius: 4rem;
                opacity: 0.75;
            }
        }

        .perso h2 {
            font-family: var(--ff-text);
            font-variation-settings: "wght" 400;
            transition: font-variation-settings 0.35s cubic-bezier(0, 0.75, 0.5, 1);
        }
    }

    .path {
        display: flex;
        flex-direction: column;

        .timeline {
            padding: 2rem;
            margin: 0 17%;
        }

        .unit {
            p {
                width: 50%;

                .word-wrapper {
                    margin-bottom: 0.25em;
                }
            }
        }
    }
} */
