#header {
    position: relative;
    z-index: 10;
    padding-block: 4px;
    max-width: 500px;
    width: 100%;
    margin-inline: 24px;
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

#header-content {
    display: flex;
    z-index: 10;
    flex-direction: column;
    width: fit-content;
}

#header h1 {
    margin: 0;
    font-weight: 100;
    color: #FCFAEE;
    font-size: 4.5rem;
    text-align: left;
}

#header h2 {
    font-weight: 100;
    margin: 0;
    color: rgb(255, 183, 49);
    font-size: 1.5rem;
}

#rotate-wrapper {
    position: absolute;
    top: -120%;
    width: 90%;
    aspect-ratio: 1/1;
    opacity: 80%;
}

#rotate {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 4px solid rgb(105, 105, 105);
    animation: rotate 20s linear infinite;
}

#ball {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    background-color: rgb(255, 183, 49);
    width: 30px;
    height: 30px;
    box-shadow: 0px 0px 30px 5px rgb(255, 185, 54);
}

#ball2 {
    position: absolute;
    top: calc(100% - 15px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    background-color: rgb(105, 105, 105);
    width: 30px;
    height: 30px;
    box-shadow: 0px 0px 30px 5px rgb(129, 129, 129);
}

@keyframes rotate {
    from {
        transform: rotateX(76deg) rotateY(-4deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(76deg) rotateY(-4deg) rotateZ(360deg);
    }
}

@media (max-width: 750px) {
    #header {
        max-width: 430px;
    }

    #header h1 {
        font-size: 2.5rem;
    }

    #header h2 {
        font-size: 1rem;
    }

    #rotate-wrapper {
        width: 65%;
        top: -140%;
    }
}

@media (max-width: 450px) {
    #header {
        max-width: 350px;
    }

    #header h1 {
        font-size: 2rem;
    }

    #header h2 {
        font-size: 1rem;
    }
}

@media (max-width: 350px) {
    #header {
        max-width: 300px;
    }

    #rotate-wrapper {
        top: -90%;
    }
}