body {
    margin: 0px;
    cursor: none;
    overflow: hidden;
}

canvas {
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: font;
    src: url(../../resources/fonts/darkforest.woff2);
}



.modal {
    position: absolute;
    width: 100%;
    height: 100%;

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

    font-family: font;
    background-color: black;
    color: red;

    transition: none;
    opacity: 0;

    pointer-events: none;
}

.modal.small-text {
    font-size: min(10vh, 10vw);
}

.modal.big-text {
    font-size: min(50vh, 50vw);
}

.modal > .title-text {
    font-family: font;
    background-color: black;
    color: red;

    font-size: min(20vh, 15vw);
}

.modal > .subtitle-text {
    font-family: font;
    background-color: black;
    color: red;

    font-size: min(10vh, 10vw);
}

.modal > .subsubtitle-text {
    font-family: font;
    background-color: black;
    color: red;

    font-size: min(5vh, 3vw);
}

.modal.visible {
    opacity: 1;
}

.modal.gradual.visible {
    transition: opacity 1s;
}

.modal.instant.visible {
    transition: none;
}

.modal.gradual-in-out {
    transition: opacity 1s;
}

.modal.no-background {
    background-color: rgba(0, 0, 0, 0.1);
}

.modal.interactive.visible {
    pointer-events: all;
    cursor: pointer;
}

.modal input {
    color: red;
    background-color: black;
    border: 3px solid darkred;
    border-radius: 30px;
    text-align: center;
    font-size: 5vw;
    font-family: font;
}

.modal input:focus {
    border: 3px solid red;
    outline: none;
}
