﻿section {
    position: relative;
}

#canvas {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.game-over-container {
    width: 500px;
    height: 100vh;
    background-color: #1a1e22;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    user-select: none;
}

.game-over-container h1 {
    margin-bottom: 3vh;
}

/* Montior and Larger */
@media screen and (min-width: 1800px) {
    canvas {
        margin-top: 100px;
    }

    .game-over-container {
        margin-top: -19px;
    }
}

/* Large Smartphone (Vertical) */
@media screen and (max-width: 500px) {
    canvas {
        width: 100%;
        height: 700px;
        margin-top: 50px;
    }

    .game-over-container {
        width: 100%;
        height: 700px;
    }
}
