h1 {
  color: #ffffff;
  font-size: 74px;
}

input {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #000000;
  font-size: 80px;
}

.hideFrame {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 1px;
  border: none;
}

.hide {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 1px;
}

#startGameDiv {
  margin: 10vh 7.5vw;
}

.start-game-button {
  border: 0;
  border-radius: 20px;
  background-color: var(--action-button-background);
  font-family: "Orbitron";
  font-size: 80px;
  margin-top: 30px;
  height: 150px;
  line-height: 50px;
  white-space: nowrap;
  width: 60%;
  margin-left: 20%;
}

p {
  color: #ffffff;
  font-size: 60px;
  font-family: Orbitron;
}
li {
  margin-left: 100px;
  color: #ffffff;
  font-size: 60px;
  font-family: Orbitron;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
}

.spinner {
  width: 80px;
  height: 80px;
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

.spinner-text {
  position: absolute;
  color: white;
  font-size: 24px;
  margin-top: 120px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#mainScreenDiv {
  display: none;
}

.styled-question-button {
  border: 0;
  border-radius: 20px;
  background-color: var(--answer-button-background);
  font-family: "Orbitron";
  clear: both;
  font-size: 60px;
  margin-bottom: 30px;
  height: 150px;
  line-height: 50px;
  white-space: nowrap;
  padding: 10px 70px;
  width: 100%;
}

#cameraScreenDiv {
  width: 80vw;
}

.ingestion-button {
  border: 0;
  border-radius: 20px;
  background-color: #16d72a;
  font-family: "Orbitron";
  font-size: 60px;
  height: 150px;
  line-height: 50px;
  white-space: nowrap;
  padding: 10px 70px;
}

.keypad-container {
  /* background: rgba(0, 0, 0, 0.8); */
  padding: 2rem;
  border-radius: 10px;
  /* box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.5); */
}

.keypad-display {
  /* background: #d6cccc24; */
  background: rgba(0, 0, 0, 0.2);
  padding: 0.2em 0.5em 0.2em 0.7em;
  margin-bottom: 1.5rem;
  /* border: 1px solid #5a5a5ac7; */
  border-radius: 5px;
  font-size: 2.5em;
  text-align: center;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#keypadDisplay {
  font-size: 6rem;
  text-align: center;
  letter-spacing: 0.5rem;
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.keypad-button {
  font-family: "Orbitron", sans-serif;
  font-size: 6rem;
  width: 200px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete {
  color: #ff000099;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.enter {
  color: #00ff0099;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#liveFeed {
  width: 640px;
  height: 480px;
}

#quizScreenDiv {
  width: 80vw;
}

#mainScreenDiv {
  width: 80vw;
}

.checking-image {
  background-color: silver;
}
/* .button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.fancy-button {
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fancy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fancy-button.primary {
  background-color: #007bff;
  color: white;
}

.fancy-button.warning {
  background-color: #ffc107;
  color: black;
}

.fancy-button.danger {
  background-color: #dc3545;
  color: white;
}

.fancy-button.success {
  background-color: #28a745;
  color: white;
}

.fancy-button.info {
  background-color: #17a2b8;
  color: white;
} */

.red-button-circle {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff9999 0%, #bb0000 30%, #110000 100%);
  border: 2px solid #560000;
  position: relative;
  cursor: pointer;
  padding: 100px;
  color: white;
}

.red-button-circle::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8f8f8, #908e8e, #7d7a7a);
  z-index: -1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.red-button-circle:active {
  background: radial-gradient(circle, #fff399 0%, #bb3800 30%, #110000 100%);
}

p.dont-touch {
  color: #ffffffc9;
  font-size: 20px;
  font-family: Orbitron;
  margin-top: 50px;
}

p.dont-touch-really {
  color: #ff0;
}
/* 
p.wrong-button {
  color: #f00;
  font-size: 60px;
  display: none;
} */

@keyframes pulse-background {
  0% {
    background-color: rgba(187, 0, 0, 0.05);
  }
  50% {
    background-color: rgba(187, 0, 0, 0.5);
  }
  100% {
    background-color: rgba(187, 0, 0, 0.05);
  }
}

div.error-screen {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  animation: pulse-background 2s infinite ease-in-out;
  display: none;
}

.reset-game-link {
  position: fixed;
  bottom: 60px;
  right: 60px;
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  transition: all 0.2s ease;
  z-index: 10000;
}

.reset-game-link:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}
