@font-face {
    font-family: zen-maru;
    src: url("./media/ZenMaruGothic-Regular.ttf");
}

@font-face {
    font-family: gotham;
    src: url("./media/GothamMedium.ttf")
}

body{
    background-color: #333;
    overflow: hidden;
}

#color{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    opacity: 0.8;
    background-color: #000000;
    transition: 0.3s ease-out;
}

#vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8vw rgba(0, 0, 0, 0.6) inset;
    /* background: radial-gradient(rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) ); */
}

footer {
    position: fixed;
    bottom: 1vh;
    width: 100%;
    text-align: center;
    color: #555;
    font-family: zen-maru;
    opacity: 0;
    transition: 0.3s ease-out;
    user-select: none;
}

a {
    color: #555;
    transition: 0.1s ease-out;
    text-underline-offset: 0.2em;
}

a:hover {
    color: #ffffff;
}

#input {
    border: none transparent;
    outline: none;
    background-color: transparent;
    color: #ffffff;
    font-size: max(5vw, 3vh);
    text-align: center;
    transition: 0.3s ease-out;
    text-shadow: 0 0.05em 0.05em rgba(0, 0, 0, 0.16);
    animation: 2s ease-in-out 0s 1 fadein;
    font-family: gotham;
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    transform: translate(-50%, -50%);
}

#invalid {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, 0);
    text-align: center;
    color: #ffffff;
    background-color: rgba(48, 48, 48, 0.3);
    box-shadow: rgba(0, 0, 0, 0.16) 0 0.2em 0.4em, rgba(0, 0, 0, 0.23) 0 0.2em 0.4em;
    font-family: zen-maru;
    padding: 0.3em 0.5em;
    border-radius: 0.5em;
    display: flex;
    align-items: center;
    transition: 0.5s ease-out;
    opacity: 0;
    font-size: max(0.8vw, 2vh);
}

#invalid img {
    width: 1em;
    height: 1em;
}

#invalid span {
    /* margin-bottom: 0.2em; */
    margin: 0 0.4em 0.2em;
}

::placeholder {
    opacity: 0.4;
    transition: 0.3s;
}

input:focus::placeholder {
    opacity: 0.2;
}

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

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1
    }
}
