@font-face {
    font-family: Poppins-Medium;
    src: url(/Poppins-Medium.ttf);
}

@font-face {
    font-family: Poppins-Regular;
    src: url(/Poppins-Regular.ttf);
}

@font-face {
    font-family: Poppins-SemiBold;
    src: url(/Poppins-SemiBold.ttf);
}

@font-face {
    font-family: Poppins-Thin;
    src: url(/Poppins-Thin.ttf);
}

:root {
    --background: #fff;
    --text: #000;
    --link: rgba(0, 0, 0, 0.8);
    --link-hover: #000;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #100f1c;
        --text: #fff;
        --link: rgba(255, 255, 255, 0.8);
        --link-hover: #fff;
    }
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--background);
}

header,
footer,
main {
    padding: 0px 40px 0px 40px;
    color: var(--text);
}

header {
    text-align: center;
    padding-top: 40px;
}

header h1 {
    font-family: 'Poppins-SemiBold', sans-serif;
}

header h1 span {
    font-family: 'Poppins-Medium', sans-serif;
}

header h3 {
    font-family: 'Poppins-Medium', sans-serif;
    font-size: 1em;
}

main {
    flex: 1;
    font-family: 'Poppins-Regular', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main iframe {
    max-width: 90vh;
    aspect-ratio: 16 / 9;
    border: none;
}

main sup {
    font-size: 0.5em;
    font-family: 'Poppins-Regular', sans-serif;
}

footer {
    display: flex;
    font-family: 'Poppins-Regular', sans-serif;
    padding-bottom: 40px;
}

footer .left {
    flex: 1;
}

footer a {
    color: var(--link);
    white-space: nowrap;
}

footer a:hover {
    color: var(--link-hover);
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        gap: 10px;
        font-size: 0.75em;
        align-items: center;
        text-align: center;
    }

    header h3 {
        font-size: 0.75em;
    }
}

@media (min-width: 1400px) {
    header h1 {
        font-size: 4em;
    }

    header h3 {
        font-size: 1.5em;
    }
}