body {
    color: white;
    background-color:#181818;
    font-size: 1em;
    font-family: sans-serif;
    text-align: center;

    display: flex;
    flex-direction: column; /* Stack children vertically */
    min-height: 100vh;      /* Ensures body takes at least full viewport height */
    margin: 0;              /* Removes default body margins */
}

header {
    background-color: #333;
}

main {
    flex: 1;                /* Allows main content to grow and fill available space */
}

footer {
    font-size: 0.8em;
    /* Optional styling */
    background-color: #333;
    color: white;
    padding: 0.2em;
    text-align: center;
}

/* no underline */
a {
  text-decoration: none;
}

/* unvisited link */
a:link {
    color: white;
}

/* visited link */
a:visited {
    color: white;
}

/* mouse over link */
a:hover {
    color: hotpink;
}

/* selected link */
a:active {
    color: blue;
}

#prompt {
    margin-top: 1em;
    font-size: 2em;
    width: 100%;
    text-align: center;
}
#flags {
    margin-top: 30px;
}
.stats-table {
    width: 100%;
}
.stats-table th {
    font-size: 1em;
    text-align: center;
}
.stats-table td {
    font-size: 2em;
    text-align: center;
}
#feedbackContainer  {
    margin-top: 1em;
    font-size: 2em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.wrapper {
    text-align: center;
    margin-bottom: 1em;
}
#useInfoBombSpan {
    font-size: 1em;
    color: yellow;
}
#useInfoBombImg {
    cursor: pointer;
}
.clickable {
    cursor: pointer;
}
.non-clickable {
    cursor: not-allowed;
}
.choice-link img {
    padding: 0px;
    margin: 10px;
    /*min-width: 512px;*/
    height: 300px;
    margin: 8px;
}
.flag-image {
    padding: 0px;
    margin: 10px;
    /*min-width: 512px;*/
    height: 300px;
    margin: 8px;
}
.color-swatches {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.color-swatch-container {
    margin-top: 1em;
    margin-bottom: 0;
}
.color-swatch {
    width: 64px;
    height: 64px;
    margin: 2px;
    float: left;
}
.color-swatch-label {
    background-color: white;
    font-size: 0.8em;
    font-family: monospace;
    color: black;
    background-color: gray;
}
.cluster {
    margin-top: 3em;
    margin-bottom: 3em;
}
.inner-swatches {
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}
.hcentered {
    display: flex;
    justify-content: center;
}
@keyframes blinker {
  0% {
    opacity: 1; /* Fully visible at the start */
  }
  50% {
    opacity: 0; /* Fully invisible halfway through */
  }
  100% {
    opacity: 1; /* Fully visible again at the end */
  }
}
.blink {
    animation: blinker 1s linear infinite
}
.warning {
    color: red;
    font-weight: bold;
}
.incorrect {
    color: red;
    font-size: 2em;
}