
/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-align: center;
  background-color: rgb(0, 0, 0);
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Header Styling */
h1 {
  background-color: #819ff9;
  border-radius: 20px;
  border: 2px solid black;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  width: 90%;
  max-width: 600px;
  box-shadow:
    inset 0 -3em 3em rgb(0 200 0 / 90%),
    0 0 0 2px white,
    0.3em 0.4em 1em yellow;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h2 {
  color: yellow;
  margin-top: 1rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
}

/* Button Container */
.btn-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 200px));
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

/* Buttons */
.btn {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20%;
  border: 10px solid black;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Button Hover (optional effect) */
.btn:hover {
  transform: scale(1.05);
}

/* Color Classes */
.yellow {
  background-color: #f99b45;
}

.red {
  background-color: #d95980;
}

.purple {
  background-color: #819ff9;
}

.green {
  background-color: #63bac0;
}

/* Flash Effects */
.flash {
  background-color: white !important;
}

.userflash {
  background-color: green !important;
}

/* Responsive Tweaks for Small Screens */
@media (max-width: 600px) {
  .btn-container {
    grid-template-columns: repeat(2, 40vw);
    gap: 1rem;
  }

  .btn {
    border-width: 6px;
  }

  h1 {
    padding: 0.8rem;
  }
}

#scoreBord {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  border-radius: 10px;
  width: fit-content;
  margin: 10px auto;
  font-family: Arial, sans-serif;
}

#scoreBoard h2, #scoreBoard h3 {
  margin: 5px;
}
