@import url('https://fonts.googleapis.com/css2?family=Playball&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #f0f8ff;
    text-decoration: none;
    background-color: #0f0f0f;
    font-family: "Noto Serif", serif;
    -webkit-tap-highlight-color: transparent;
    /* outline: 1px solid red; */
}

::-webkit-scrollbar {
    display: none;
}

body {
    margin: auto;
    max-width: 768px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-size: clamp(1rem, 0.75rem + 1.2dvw, 1.25rem);
}

header {
    margin: 10px 2px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

main {
    flex: 1;
    line-height: 1.28em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer {
    margin: 10px auto;
}

header h1 {
    font-family: "Playball", cursive;
    font-size: 1.25em;
    font-weight: 500;
    flex: 1;
}

header nav {
    font-style: italic;
}

main img {
    max-width: 512px;
}

main p {
    margin: 10px auto;
    opacity: 0;
    font-size: 1em;
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-delay: 3s;
}

@keyframes fadeIn {
    from {
        font-size: 1em;
        opacity: 0;
    }

    to {
        font-size: 1.2em;
        opacity: 1;
    }
}

footer span {
    display: block;
    font-size: 0.75em;
    text-align: center;
}