.custom-row-height {
    min-height: 70px;
}

@font-face {
    font-family: 'Patrick Hand';
    src: url('../fonts/Patrick_Hand/PatrickHand-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.d-flex.justify-content-center.align-items-center {
    height: 70vh;
}

.kid-card {
    width: 90%;
    max-width: 1200px;
    margin-top: 3em;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
    min-height: 50vh;
}

.kid-card .card-header, .kid-card .card-footer {
    border-radius: 0;
}

.kid-card .card-body h5.card-title {
    font-size: 1.5em;
    margin: 20px 0;
}

.kid-card .card-body {
    max-height: 50vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}



.kid-friendly-text {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    color: white;
}

.kid-friendly-text-header {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 3em;
    font-weight: bold;
    color: white;
}

#reader {
    z-index: 1000;
    width: 100% !important;
    height: 100% !important;
}

.quit-btn {
    margin-top: 10px;
    font-size: 1.5em;
}

.scanner-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.scanner {
    position: absolute;
    transform: translateX(-50%);
    height: auto;
    z-index: 10;
    display: none;
}

button.html5-qrcode-element {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #ffffff;

  padding: 1rem 1.5rem;
  display: inline-block;

  background-color: #dc3545;
  border: 1px solid #dc3545;
  border-radius: 0.25rem;

  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
              border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;

  box-sizing: border-box;
  margin: 0;

  cursor: pointer;
}

button.html5-qrcode-element:hover,
button.html5-qrcode-element:focus {
      background-color: #c82333;
  border-color: #bd2130;
}

button.html5-qrcode-element:active {
      background-color: #b21f2d;
  border-color: #ac1d2b;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

button.html5-qrcode-element:disabled {
  background-color: #dc3545;
  border-color: #dc3545;
  opacity: 0.65;
  pointer-events: none;
}

#html5-qrcode-select-camera {
    width: 8em;
    height: 2.5em;
    font-size: 2em;
    margin-bottom: 1em;
}

.toast-text {
    font-size: 1em;
}
#html5-qrcode-anchor-scan-type-change {
    display: none !important;
}

#reader__dashboard_section_csr span:nth-child(2){
    display: none;
}

.time-text {
    font-family: 'Comic Sans MS', sans-serif;
    font-size: 2em;
    font-weight: bold;
}


