p {
    margin: 0;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    overflow: hidden;
}
#splash-bottom {
    position: absolute;
    mix-blend-mode: color-burn;
    opacity: 0.5;
    z-index: -1;
}
#rect {
    position: absolute;
    top: 70%;
    left: 10%;
    border: 1px solid black;
    width: 25%;
    height: 20%;
}
#username-1 {
    position: absolute;
    top: 67%;
    rotate: -50deg;
    left: -5%;
    white-space: nowrap;
    transform: none;
    font-family: monospace;
}

#username-1 .letter {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    white-space: pre;
    transform-origin: center;
}

#username-2 {
    position: absolute;
    top: 80%;
    rotate: -20deg;
    left: -10%;
    white-space: nowrap;
    transform: none;
    font-family: monospace;
}

#username-2 .letter {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    white-space: pre;
    transform-origin: center;
}
#content {
    display: flex;
    flex-direction: column;
    gap: 2em;
    position: absolute;
    top: 10%;
    right: 10%;
    opacity: 1;
    width: 30%;
    padding: 1em;
    text-align: center;

    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

@media screen and (max-width: 600px) {
    #content {
        top: 1%;
        width: 60%;
    }
}

#root {
    position: absolute;
    top: 60%;
    left: 0%;
}
.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed black;
    border-bottom: 1px dashed black;
    padding-top: 1em;
    padding-bottom: 1em;
}
.art {
    position: relative;
    width: 100%;
    height: 100vh;
}

.art img#splash-bg {
    position: absolute;
    height: 100%;
    left: -1%;
}
#personal {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 50%;
}
#splash-top-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 200%;
}
#splash-top {
    position: absolute;
    top: 0;
    mix-blend-mode: overlay;
}
#splash-drops {
    position: absolute;
    top: 0;
    height: 100%;
}
#splash-hydrant {
    position: absolute;
    top: -50%;
    rotate: -25deg;
    left: -10%;
    width: 90%;
    mix-blend-mode: screen;
    opacity: 0.2;
}

.letter {
    transform-origin: center;
    animation: grow-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes grow-in {
    from {
        opacity: 0;
        scale: 0.05;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.username.is-ready {
    visibility: visible;
    animation: username-grow 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes username-grow {
    from {
        transform: scale(0.7);
    }
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .username.is-ready {
        animation: none;
        transform: scale(1);
    }
}

#username-1,
#username-2 {
    visibility: hidden;
}

#username-1.is-ready,
#username-2.is-ready {
    visibility: visible;
    animation: breathe 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes breathe {
    0%,
    100% {
        scale: 1;
    }
    50% {
        scale: 1.01;
    }
}

.art > img,
#rect,
#content {
    animation: enter 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateX(-2em) translateY(-2em) scale(0.98);
    }

    to {
        transform: translateX(0) translateY(0) scale(1);
    }
}

#splash-bg {
    animation-delay: 0s;
    opacity: 1;
}
#splash-hydrant {
    animation-delay: 0.15s;
    opacity: 1;
}
#personal {
    animation-delay: 0.3s;
    opacity: 1;
}
#splash-top {
    animation-delay: 0.45s;
    opacity: 1;
}
#splash-drops {
    animation-delay: 0.6s;
    opacity: 1;
}
#splash-top-left {
    animation-delay: 0.75s;
    opacity: 1;
}
#root {
    animation-delay: 0.9s;
    opacity: 1;
}
#splash-bottom {
    animation-delay: 1.05s;
}

.track-widget {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
#track-cover-container {
    width: 64px;
    height: 64px;
}
