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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    color: white;

    image-rendering: pixelated;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;

    font-family: 'Jetbrains Mono', monospace;
}

img {
    max-width: 100%;
    max-height: 100%r;
}

#autoplay-cover {
    position: fixed;
    inset: 0;
    z-index: 9999;
    transition: all 500ms ease;

    text-align: center;

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

    gap: 2rem;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}

#autoplay-cover.hide {
    opacity: 0;
}

a {
    color:aquamarine;
    text-decoration: none;
}

a:hover {
    color: white;
}

body {
    min-width: 100vw;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    width: 100%;
    
    justify-content: space-between;
    align-items: center;

    padding: 1rem;
}

.section {
    display: flex;
    flex-direction: column;
    align-self: center;
    
    margin: auto;

    height: 100%;
}

.dialogue {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    width: 100%;
    max-width: calc(50ch + 2rem);
    margin: 0 auto;
}

.spacer {
    height: 5rem;
}
