body {
  margin: 0;
  padding: 0;
}
.linktolist {
  display: block;
  text-align: center;
  background-color: #511413;
  color: white;
  padding-bottom: 1em;
  text-decoration: none;
  margin-top: -4px;
}
.xlv-title {
  background-color: #511413;
  color: white;
  font-family: 'Carter One', cursive;
  font-size: 3em;
  letter-spacing: 2px;
  margin: 0;
  padding: 10px 10px 0px 10px;
}
.xlv-setter {
  font-family: 'Sofia Sans Semi Condensed', sans-serif;
  font-size: 1.5em;
  background-color: #cdbcb9;
  margin: 0;
  padding: 5px 0;
}
.xlv-preamble {
  font-family: 'Sofia Sans Semi Condensed', sans-serif;
  font-size: 1em;
  background-color: #e8dddb;
  margin: 0;
  padding: 3px 0;
  text-align: center;
}
.xlv-grid-and-clues-flex {
  margin: 2em;
}
.xlv-curr-clue {
  padding-bottom: 1em;
  font-weight: normal;
}
.xlv-curr-clue-label {
  font-size: 24px;
  font-weight: bold;
}
.xlv-controls-row {
  margin-top: 2em;
  padding-left: 5em;
}

/* --------- win dialog ----------- */
.dialog-btn-row {
  margin: 1em;
  text-align: center;
}
.result-dialog {
  border-radius: 15px;
  padding: 3em;
}
.result-dialog p {
  font-family: sans-serif;
}
.result-dialog::backdrop {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.win-congrats { 
  font-family: 'Carter One', cursive;
  font-size: 2em;
  text-align: center;
}
.win-logo {
  text-align: center;
}
.win-icon {
  display: inline-block;
  font-size: 96px;
  color: #511413;
}
.dialog-nav-btn {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 2px;
  text-decoration: none;
  color: #000;
  padding: 5px;
  font-size: 24px;
  cursor: pointer;
}
.dialog-nav-btn.disabled {
  cursor: not-allowed;
  background-color: #ddd;
  color: #777;
}

/* --------- reconstructing the button css ----------- */
.xlv-button-reconstructed {
  font-family: 'Material Symbols Outlined';
  border: none;
  outline: none;
  text-align: center;
  text-decoration: none;
  width: inherit;
}
.xlv-button-reconstructed:hover {
  cursor: pointer;
}
.xlv-button-reconstructed:disabled {
  cursor: not-allowed;
}

@media (max-width: 325px) {
  .xlv-button-reconstructed {
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
  }
}
@media (min-width: 326px) and (max-width: 500px) {
  .xlv-button-reconstructed {
    font-size: 18px;
    padding: 5px;
    border-radius: 8px;
  }
}
@media (min-width: 501px) {
  .xlv-button-reconstructed {
    font-size: 24px;
    padding: 8px;
    border-radius: 12px;
  }
}