html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: VT323, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
    background-color: #c5c0b6;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: block;
    z-index: 4;
    width: 100%;
    height: 100%;
}

#main-canvas, #preview-canvas, #announcement-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: block;
}

#main-canvas {
    z-index: 2;
    width: 100%;
    height: 100%;
}

#preview-canvas {
    z-index: 1;
    visibility: hidden;
}

#announcement-canvas {
    z-index: 3;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

.showit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    text-shadow: 0 0 10px black;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: showit 1s;
    user-select: none;
}

@keyframes showit {
    0% {
        opacity: 1;
        font-size: 1vw;
    }
    100% {
        opacity: 0;
        font-size: 10vw;
    }
}

#info {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 1em;
    font-size: 2vmin;
    color: #FFFFFF;
    text-shadow: 0 0 10px black;
}

#help {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    font-size: 2vmin;
    color: #FFFFFF;
    text-shadow: 0 0 10px black;
}

.loading {
    transition: none !important;
}

#info.hide, #help.hide {
    opacity: 0;
    visibility: hidden;
    transition: visibility 1s, opacity 1s;
}

#info.show, #help.show {
    opacity: 1;
    visibility: visible;
    transition: visibility 0s, opacity 1s;
}

#info p, #help p {
    user-select: none;
    margin: 0;
    padding: 0;
}

#help p em {
    display: inline-block;
    width: 6vmin;
    font-style: normal;
}

#info p em {
    display: inline-block;
    width: 20vmin;
    font-style: normal;
}

#error, #remembering {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    font-size: 2vmin;
    color: #FFFFFF;
    text-shadow: 0 0 10px black;
}