/* Home banner gradient */
#banner-background {
    background: var(--background-gradient);
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

#banner-background canvas {
    width: 100vw;
    height: 100vh;
}

#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

#banner-text {
    z-index: 10;
}

#banner-text * {
    margin: 0;
}

#banner-text p {
    font-size: 1.25em;
    font-weight: 300;
}

#banner-text h1 {
    font-size: 6em;
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 1;
    padding-bottom: 0.1em;
    border-bottom: 1px solid var(--text-color-light);

    @media screen and (max-width: 1080px) {
        font-size: 5em;
    }

    @media screen and (max-width: 768px) {
        font-size: 4.5em;
    }

    @media screen and (max-width: 640px) {
        font-size: 3.25em;
    }
}

#banner-text h4 {
    font-size: 2em;
    margin-top: 10px;
    font-weight: 200;
    line-height: 1.25;
    text-align: right;

    @media screen and (max-width: 768px) {
        font-size: 1.4em;
    }

    @media screen and (max-width: 640px) {
        font-size: 1.2em;
    }
}

#banner-arrow {
    position: absolute;
    left: 50%;
    bottom: var(--spacing-3);
    transform: translateX(-50%);
    z-index: 2;
    border: none !important;
}

#banner-arrow:hover {
    cursor: pointer;
}

#banner-arrow i {
    font-size: 2rem;
    transition: color 0.3s ease;
    color: var(--text-color-light);
    animation: chevron-bounce 2.5s infinite cubic-bezier(0.25, 0.75, 0.5, 1.0);
}

#banner-arrow:hover i {
    color: var(--text-color);
}

@keyframes chevron-bounce {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(0.5rem);
    }

    20% {
        transform: translateY(0.25rem);
    }

    30% {
        transform: translateY(0.5rem);
    }

    100% {
        transform: translateY(0);
    }
}


/* Introduction Section */
#introduction {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: var(--spacing-2);
    white-space: nowrap;

    @media screen and (max-width: 640px) {
        flex-direction: column;
    }
}

#introduction::before {
    content: '';
    position: absolute;
    background-color: var(--background-color-light);
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: var(--spacing-2);
    transition: width 0.3s ease;
}

#introduction:hover::before {
    width: calc(100% + var(--spacing-3));
}

#introduction * {
    margin: 0;
}

#introduction h2 {
    @media screen and (max-width: 480px) {
        font-size: 1.75em;
    }
}

#introduction p {
    width: 100%;
    font-size: 1.25em;
    font-weight: 300;
    color: var(--text-color-light);
}

#introduction .profile-picture {
    scale: 1;
    transition: scale 0.5s cubic-bezier(0, 1, 0.75, 1);
}

#introduction:hover .profile-picture {
    scale: 1.05;
}

#introduction .text-gradient-light {
    background: linear-gradient(135deg, var(--primary-color-light), var(--secondary-color-light), var(--primary-color-light), var(--secondary-color-light));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    transition: background-position 1.2s cubic-bezier(0.25, 1, 0.75, 1);
    background-position: right;
}

#introduction:hover .text-gradient-light {
    background-position: left;
}