* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0);
}

.game {
    width: 75vmin;
    aspect-ratio: 5 / 6;
    /* overflow: hidden; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    border: 2px solid rgb(255, 255, 255);
    box-sizing: content-box;
}

canvas {
    position: absolute;
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
}

.end,
.start,
.main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 255, 255);
    display: grid;
    place-items: center;
}

.main {
    background-color: black;
    display: block;
}

.main .level {
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    color: rgb(255, 255, 255);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    top: calc(-2rem - 5px);
}

.start .info {
    font-size: 24pt;
}


.end button,
.start button {
    width: 80%;
    height: 100px;
    border: solid black 5px;
    background-color: rgba(255, 255, 255, 0);
    color: black;
    font-family: 'Courier New', Courier, monospace;
    font-size: 3rem;
    font-weight: 700;
    transition: all 0.025s;
    box-shadow: 3px 3px 5px black;
}

.end div,
.start div {
    background-color: rgba(255, 255, 255, 0);
    color: black;
    font-family: 'Courier New', Courier, monospace;
    font-size: 3rem;
    font-weight: 700;
}

.end button:active,
.start button:active {
    scale: 0.95;
    background-color: black;
    color: white;
}


@media (max-width:700px) {
    .start div {
        font-size: 2rem;
    }
    .start .info {
        font-size: 12pt;
    }
  }