:where(h1) {
  margin-block: 0.67em;
  font-size: 2em;
}

body {
    font-family: 'MonteCarlo', serif;
    margin: 0;
    padding: 0;

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

    min-height: 100dvh;
    color: #fff;
    overflow: hidden;
    background-image: radial-gradient(circle, transparent, #111), url("/static/wood.jpg");
}

.petal {
    width: 30px;
    height: 30px;

    offset-path: path("M-100,0 C-100,100 100,100 100,0");
    offset-rotate: 0deg;
    animation: path 3s infinite alternate ease-in-out;
}
.petal-scroll {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -130px;
    z-index: 0;

    animation: scroll 15s infinite linear;
}

@keyframes path {
    0% {
        offset-distance: 0%;
        transform: scale(var(--scale)) rotate(0deg);
    }
    100% {
        offset-distance: 100%;
        transform: scale(var(--scale)) rotate(-40deg);
    }
}
@keyframes scroll {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(calc(100vh + 160px));
    }
}

#profile {
    display: flex;
    z-index: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

#profile img {
    width: 30%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0px 0px 9px 10px rgba(255,255,255,0.54);
    margin: 0;
    padding: 0;
}

#profile h1 {
    margin: 0;
    padding: 0;
}

#countdown {
    font-family: 'Mono', serif;
    font-weight: normal;
}

nav {
    margin-top: auto;

    display: flex;
    width: 100%;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;

    display: flex;
    justify-content: center;
    padding: 1rem;
    /* border: 2px solid transparent; */

    background-image: linear-gradient(to right, #00ffff, #00ffff);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease-out, color 0.7s linear, background-color 0.7s linear;
}

nav a:hover {
    color: #00ffff;
    background-size: 100% 2px;
    background-color: #00cccc11
}
