#hero {
    padding: 0 6rem;
    position: relative;
    width: 100dvw;
    height: 100dvh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    background: conic-gradient(
        from 0.25turn at 70% 110%,
        var(--dark-color) 180deg,
        #565565 360deg,
        #9fa09e 360deg
    );
    animation: move-up 0.5s 1s forwards cubic-bezier(0.84, 0.09, 0.29, 0.9);
}

#hero-intro {
    white-space: nowrap;
}

#hero-intro h1 {
    font-size: 4.5em;
}
#hero-intro p {
    font-size: 2em;
}

#me-transparent,
#me {
    width: 50rem;
    max-width: min(90dvw, 90dvh);
    align-self: end;
}
#me {
    display: none;
    border-radius: 2rem;
}

#media-links {
    border-left: 0.2rem solid white;
    padding-left: 1rem;
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    position: absolute;
    left: 6rem;
    bottom: 1rem;
}
#media-links > a > img {
    width: 2.5rem;
    transition: 0.2s;
}
#media-links > a > img:hover {
    opacity: 0.6;
}

#scroll-down-button {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    translate: -50% 0;
    border: none;
    width: 2rem;
    height: 4rem;
    padding: 1.3rem;
    border-radius: 1rem;
}
#scroll-down-button:hover {
    opacity: 0.6;
}
#scroll-down-button::before,
#scroll-down-button::after {
    content: "";
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 1rem;
    left: 50%;
    translate: -50% 0;
    background-image: url(../icons/arrow-down.svg);
    background-repeat: no-repeat;
    background-size: cover;
    animation: scroll-indicator 1.2s backwards infinite;
}
#scroll-down-button::after {
    animation-delay: 0.4s;
}

@media (max-width: 1500px) {
    #me-transparent {
        translate: -10rem 0;
    }
}

@media (max-width: 1230px) {
    #hero {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 2rem;
    }

    #me {
        display: block;
        width: 25rem;
        translate: 0;
        align-self: center;
    }
    #me-transparent {
        display: none;
    }

    #hero-intro {
        font-size: var(--small-font-size);
    }
}

@media (max-width: 715px) {
    #media-links {
        display: none;
    }
}

@media (max-width: 570px) {
    #hero-intro {
        font-size: var(--tiny-font-size);
    }
}

@media (max-width: 475px) {
    #hero {
        padding: 1rem;
    }

    #hero-intro {
        font-size: var(--smallest-font-size);
        white-space: wrap;
    }

    #hero-intro br {
        display: none;
    }
}

@keyframes scroll-indicator {
    0% {
        bottom: 2rem;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes move-up {
    from {
        margin-top: 50dvh;
    }
    to {
        margin-top: 0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
