@font-face {
  font-family: LilitaOne;
  src: url(../assets/fonts/LilitaOne-Regular.ttf);
}

* {
    font-family: LilitaOne;
    white-space: nowrap;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
}

#game {
    display: flex;
    justify-content: center;
}

@media (min-aspect-ratio: 16/9) {
    #game > canvas {
        display: block;
        max-width: 100vw;
        height: 100vh;
    }
}

@media (max-aspect-ratio: 16/9) {
    #game > canvas {
        display: block;
        width: 100vw;
        max-height: 100vh;
    }
}

@media (aspect-ratio: 16/9) {
    #game > canvas {
        display: block;
        width: 100vw;
        height: 100vh;
    }
}

.menu {
    background-image: url("../assets/img/ui/background.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.container {
    width: 100%;
    height: 100%;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.full-width {
    width: 100%;
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}

.alert {
    position: absolute;
    padding: 1vh;
    background-color: #f44336;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 50%;
    height: 3vh;
    min-width: 50vh;
    font-size: 2.75vh;
    display: none;
    border-radius: 1vh;
    color: white;
}

.closebtn {
    margin-left: 1vh;
    font-weight: bold;
    float: right;
    line-height: 3vh;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

button {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    background-color: #a96f40;
    border: none;
    border-radius: 3vh;
    box-shadow: 0 0.8vh #8a5a33;
    transform: translateY(-0.4vh);
    font-size: 3vh;
    padding: 1vh 2vh;
    margin: 1vh;
    color: white;
}

button:hover {
    background-color: #956138
}

button:active {
    background-color: #956138;
    box-shadow: 0 0.4vh #8a5a33;
    transform: translateY(0.4vh);
}

button:disabled {
    background-color: #949494;
    box-shadow: 0 0.8vh #b8b8b8;
}

input {
    text-transform: uppercase;
    width: 9vh;
    color: #3e3e3e;
    text-align: center;
    font-size: 3vh;
}

img {
    image-rendering: pixelated;
}