@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

@font-face {
    font-family: papyrus;
    src: url(../media/fonts/papyrus.ttf);
}

:root {
    --accent: rgb(255, 195, 83);
}

body {
    font-family: "Poppins", sans-serif;
    color: white;
    overflow: hidden;
    background-color: black;
}

mono {
    font-family: "JetBrains Mono", monospace;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--accent);
}

a:hover {
    text-decoration: underline;
}

/* Some custom element stuff */
wavey {
    display: flex;
    animation: wavey 1s ease-in-out delay infinite forwards;
}

coolLine {
    width: 100%;
    height: 1px;
    background-color: rgb(255,255,255,0.5);
}

button {
    outline: 1px solid white;
    border: none;
    color: white;
    background-color: transparent;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

button:hover {
    background-color: white;
    color: black;
}

@keyframes wavey {
    from {
        translate: 0px -5px;
    }   
    50% {
        translate: 0px 5px;
    }
    to {
        translate: 0px -5px;
    }
}

.goBackButton {
    height: 25px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 10px;
    left: 10px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 5;
    width: 87px;
    background-color: rgb(0,0,0,0.75);
    transition: width ease-in-out 250ms, scale ease-in-out 250ms, top ease-in-out 250ms, left ease-in-out 250ms;
}

@media (max-width: 750px) {
    .goBackButton {
        width: 25px;
        padding: 0 1px;
        justify-content: start;
        scale: 1.5;
        top: 15px;
        left: 15px;
    }
}

/* Crt overlay */
#crtOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    pointer-events: none;
    user-select: none;
    z-index: 10;
    background-image: url(../media/crtOverlay.png);
    opacity: 0.1;
    mix-blend-mode: multiply;
    transition: opacity 1s;
}

/* Loading screen */
#loadingScreenContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    user-select: none;
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: wait;
}

#loadingScreen {
    width: 100vmax;
    height: 100vmax;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    background-color: rgb(10,10,10);
    transition: width ease-out 1250ms, height ease-out 1250ms;
    scale: 1.5;
}

#loadingEmblemContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

#loadingEmblem {
    width: 100px;
    transition: scale cubic-bezier(.25,0,.75,-0.25) 750ms;
    user-select: none;
}

/* Change selection color to white */
::-moz-selection {
  background-color: white;
  color: black;
}

::selection {
  background-color: white;
  color: black;
}

.coolLine {
    width: 100%;
    height: 1px;
    background-color: rgb(255,255,255,0.5);
}