@font-face {
    font-family: gameFont;
    src: url(Chalkboard-Regular.ttf);
}

body {
    display: flex;
    margin: 0;
    background-color: #000;
    font-family: gameFont;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-main {
    overflow: hidden;
    background-color: black;
    border-radius: 10px;
    transform: scale(1);
    flex-shrink: 0;
}

.start-screen {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 20%;
    box-sizing: border-box;
}

.start-screen h1 {
    font-size: 140px;
    color: orange;
    text-shadow: 5px 5px 0 gray;
    margin: 20px;
}

.start-screen p {
    font-size: 20px;
}

button {
    display: inline-block;
    width: 300px;
    padding: 20px;
    color: black;
    background-color: white;
    box-shadow: 5px 5px 0 gray;
    font-family: gameFont;
    font-size: 20px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    transition: scale .2s;
    margin-top: 10px;
}

button:hover {
    scale: 1.1;
}

.black-box {
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    transition: opacity .5s;
    opacity: 1;
    z-index: 100;
}

.black-box.hidden {
    opacity: 0;
}

.black-box .message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    background-color: #ddd;
    text-align: center;
    padding: 20px;
    padding-bottom: 30px;
    border-radius: 10px;
}

.black-box .message p {
    font-size: 22px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(gfx/overlay.png);
    z-index: 30;
}
