html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    background-color: #535353;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game {
    background-color: #ffffff;
    margin: 0;
    box-sizing: border-box;

    -webkit-box-shadow: 0px 0px 40px -12px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 40px -12px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 40px -12px rgba(0, 0, 0, 0.75);
    touch-action: none;
}

.loading {
    display: flex;
    justify-items: center;
    align-items: center;
    text-align: center;
    margin: auto;
    touch-action: none;
}

.hidden {
    display: none;
    visibility: hidden;
}

main {
    display: grid;
}

main > * {
    grid-area: 1/1;
}

.overlay {
    z-index: 1;
}

.loader {
    border: 10px solid #c8c8c8; /* Light grey */
    border-top: 10px solid #133f0f; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
