@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2");


body {
  font-family: "Baloo Bhaijaan 2", sans-serif !important;
  font-size: 14pt;
  overflow-y: scroll;
  overflow-x: hidden;
}

audio {
  display: none;
}

.letter-btn-row {
  display: block;
}

.game-row {
    display: none;
}

.btn-round {
  width: 2em;
  height: 2em;
  font-size: 28pt;
  margin: 2pt;
  border-radius: 50%;
  user-select: none;
  text-decoration: none;
}

.btn-letter {
  background-color: #ffc107;
  border: 0px;
}

.btn-action {
  margin: 1pt;
  padding: 0pt;
  border: none;
}

.btn-action svg {
  margin-top: 13pt;
}

#current {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

#word {
  direction: rtl;
  height: 40pt;
  margin-bottom: 30pt;
}

#word span {
  background-color: #f7f7f7;
  color: black;
  min-width: 2em;
  min-height: 2em;
  border-radius: 10%;
  display: inline-block;
  border: 1px solid #999999;
  padding: 2pt;
  margin-left: 1pt;
  border-style: outset;
}

#delete {
  color: white;
  border: 0px;
  padding-left: 0.1em;
}

#submit {
  color: white;
  border: 0px;
  padding-left: 0.1em;
}

#shuffle {
  color: white;
  border: 0px;
}

#found {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

#found li {
  cursor: pointer;
  font-size: 16pt;
  margin-top: 0.5em;
}

.ltr {
  direction: ltr;
}

.score-header {
  font-size: 12pt;
  margin-top: 1em;
}

.btn-close-dialog {
  padding: 1rem 1rem;
  margin: -1rem auto -1rem -1rem !important;
}

#quit,
.quit {
  margin-right: 0.5em;
}

#help {
  margin-right: 0.5em;
}

.btn:focus {
  outline: none;
  box-shadow: none;
}

.tagline {
  color: #333;
  margin-bottom: 1em;
}

#date {
  direction: ltr;
  font-size: 10pt;
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  color: #212529;
  margin-top: 7pt;
  background-color: white;
  display: none;
}

.modal,
.modal-footer button {
  font-size: 16pt !important;
}

.modal-header--sticky {
  position: sticky;
  top: 0;
  background-color: inherit;
  /* [1] */
  z-index: 1055;
  /* [2] */
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
  padding-top: unset;
}

.footer {
  font-size: 0.5em;
  color: #aaa;
}

.btn-teeny {
  width: 24pt;
  height: 24pt;
  font-size: 3pt;
  padding: 0;
  border-radius: 50%;
  padding-top: 6pt;
}

#intro li {
  padding-top: 3pt;
}

.game-title {
  color: #911025;
  font-size: 2em;
  font-family: "Times New Roman", Times, serif;
}

.btn-enter,
.btn-shuffle,
.btn-delete,
#progress {
  background-color: #41a0c7;
  color: white;
}

@media (prefers-color-scheme: dark) {
    html, body, .container, .modal-content {
      background-color: rgb(15, 23, 42);      
      color: #dedad6;
    }
  
    .tagline {
      color: #bbbbbb;
    }

    .text-dark {
        color: #dedad6 !important;
    }
    
    .modal-footer {
        border-color: #212529;
    }

    .btn-link {
        color: #41a0c7;
    }
    .btn-link:hover {
        color: #ffffff;
    }
    .btn-outline-primary {
        border-color: #41a0c7;
        color: #41a0c7;
    }
    .btn-outline-primary:hover {
        background-color: #41a0c7;
    }
  }