/* CRT effect from https://aleclownes.com/2017/02/01/crt-display.html */

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

body {
    background-color: rgb(23, 23, 23);
    color: white;
    font-family: 'EB Garamond', serif;
    user-select: none;
    text-align: center;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    animation: fadeIn 2s;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

main {
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-size: large;
    letter-spacing: .2rem;
}

#countdown {
    font-size: 10vmin;
    line-height: 0;
}

#countdown:hover {
    cursor: pointer;
}

footer {
    margin-bottom: 3vh;
    font-size: small;
    line-height: 3px;
}

footer > nav > a {
    text-decoration: none;
}

nav {
    font-family: 'Courier New', Courier, monospace;
    font-size: medium;
    letter-spacing: normal;
}

nav > a {
    color:white;
}

.overlay {
    opacity: 1;
    background-color: black;
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    z-index:1000;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}