@font-face {
    font-family: 'NEWACADEMY';
    src: url(../assets/fonts/NEWACADEMY.ttf);
}

:root {
    --cyan: #38a0e6;
    --violet: #9830dd;
}

* {
    margin: 0 0;
    font-family: Helvetica, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #fff;
}


html, body {
    height: 100%;
}

body {
    background: black;
}

header {
    display: flex;
    width: 100%;
    height: 10%;
    align-items: center;
    user-select: none;
}

header h1 {
    background: linear-gradient(to top, rgb(122, 122, 122), white); 
    background-clip: text;
    color: transparent;
    font-family: 'NEWACADEMY', sans-serif;
    font-size: 3.5em;
    letter-spacing: -5px;
    position: absolute;
}

main {
    display: block;
    align-content: center;
    padding: 12vmax 0;
}

#under-construction {
    width: 40%;
    height: 45%;
    margin: auto auto;
    padding: 1vmax;
    text-align: center; /*Horizontal*/
}

#under-construction p {
    font-size: 2vmax;
    line-height: 4vmax;
}

#title {
    left: 20px;
    top: 6px;
}

#background {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    perspective: 400px;
    transform-style: preserve-3d;
    z-index: -1000;
}

#bg-wrapper {
    height: 100%;
    width: 100%;
    transform: rotateX(80deg);
}

#fog {
    height: 45%;
    width: 100%;
    position: absolute;
    bottom: 0;
    background: url(../assets/imgs/noise.png);
    mask-image: linear-gradient(transparent, black);
    z-index: 2;
    mix-blend-mode: color-dodge; /*color-dodge seems to work best*/
    opacity: 0.9;
    animation: fog-transform 120s infinite linear;
}

#grid {
    image-rendering: pixelated;
    height: 100%;
    width: 100%;
    background: 
        linear-gradient(transparent 60%, var(--violet) 72%, var(--cyan), transparent);
    mask-image: url(../assets/imgs/grid.png);
    background-repeat: no-repeat;
    
}

#vignette {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(250px 225px at 50% 65%, transparent, rgba(0,0,0,1));
}

@keyframes fog-transform {
    0% { background-position: 0 0; }
    100% { background-position: 0 -1920px; }
}
