@font-face {
  font-family: 'KarmaticArcade';
  src: url('ka1.ttf') format('truetype');
}

html, body {
    margin: 0px;
    width: 100%;
    height: 100%;
    background-color: #121224;
    font-family: 'KarmaticArcade';
}

.centered {
    width: 100%;
    height: 100vh; /* fallback */
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile {
    aspect-ratio: 1 / 1;
    border: 1px solid black;
    border-radius: 8px;
    background-color: rgb(80, 75, 75);
    text-align: center;
    align-content: center;
    box-sizing: border-box;
    user-select: none;
    position: relative;
    image-rendering: pixelated;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: 50%;
}

.hint {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-wrap: wrap;
}

.sub-hint {
    width: 50%;
    aspect-ratio: 1 / 1;
    color: black;
    text-align: center;
    align-content: center;
    font-size: 8pt;
    border: 4px solid rgb(29, 26, 44);
    border-radius: 100%;
    box-sizing: border-box;
}

.flag-option {
    position: absolute;
    display: none;
    aspect-ratio: 1 / 1;
    border: 1px solid black;
    border-radius: 8px;
    background-color: rgb(80, 75, 75);
    text-align: center;
    align-content: center;
    box-sizing: border-box;
    user-select: none;
    width: 100%;
}

.flag-option-background {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0);
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
}

.spacer {
    aspect-ratio: 1 / 1;
}

#main-container {
    background-color: rgb(29, 26, 44);
    width: min(100%, 100dvh);
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 2fr 1fr 2fr 1fr 2fr 1fr 2fr 1fr 2fr 1fr 2fr 1fr 2fr 1fr 2fr;
    padding: 3.333%;
}

#end-screen {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(12, 12, 24, 0.25);
    justify-content: center;
    align-items: center;
}

#end-screen button {
    background-color: rgba(139, 91, 139, 0.8);
    border: 1px solid black;
    border-radius: 8px 0px 8px 0px;
    font-size: 32pt;
    font-family: 'KarmaticArcade';
    padding: 8px;
    margin-top: 16px;
}

#end-screen label {
    color: aliceblue;
    font-size: 64pt;
    background-color: rgba(12, 12, 24, 0.25);
}