* {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: "Poppins", sans-serif;
  background-color: rgb(19, 19, 19);
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}

h1 {
  color: #0f0;
  text-align: center;
  font-family: "Bitcount Prop Single", system-ui;
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.score_container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 clamp(0.3rem, 2vw, 2.5rem);
}

.scr_span {
  font-size: clamp(0.8rem, 1vw, 2rem);
  font-weight: 600;
  background-color: #0f0;
  color: #000;
  padding: 0.25rem 1rem;
}

.display_container {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 2rem;
}

.display {
  color: grey;
  font-size: clamp(0.9rem, 1.1vw, 2.5rem);
}

.check_container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 0.5rem;
}

label {
  color: #ccc;
  font-size: clamp(0.9rem, 1.1vw, 2.5rem);
  display: flex;
  align-items: center;
  cursor: pointer;
}

#checkbox {
  height: clamp(0.9rem, 1vw, 1.5rem);
  width: clamp(0.9rem, 1vw, 1.5rem);
  border-radius: 25%;
  accent-color: #0f0;
  cursor: pointer;
}

input {
  margin: 0;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  main {
    transform: translate(-50%, -55%);
  }
}

.simon_div {
  display: flex;
  justify-content: center;
  position: relative;
  gap: clamp(0.5rem, 0.7vw, 1rem);
}

.btn {
  height: clamp(8rem, 12vw, 11rem);
  width: clamp(8rem, 12vw, 11rem);
  cursor: pointer;
}

.btn:active {
  opacity: 0.5;
}

.btn_active {
  opacity: 0.5;
}

.red {
  background-color: #ff4c4c;
  border-radius: 100% 4% 4%;
  margin-bottom: clamp(0.5rem, 0.7vw, 1rem);
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.8);
}

.yellow {
  background-color: #ffd700;
  border-radius: 4% 100% 4% 4%;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  margin-bottom: clamp(0.5rem, 0.7vw, 1rem);
}

.blue {
  background-color: #4d4dff;
  border-radius: 4% 4% 100% 4%;
  box-shadow: 0 0 15px rgba(50, 50, 255, 0.8);
}

.green {
  background-color: #3c3;
  border-radius: 4% 4% 4% 100%;
  box-shadow: 0 0 15px rgba(30, 200, 30, 0.8);
}

.controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 50%;
  padding: clamp(0.5rem, 0.7vw, 1rem);
}

button {
  height: clamp(6rem, 9.2vw, 9rem);
  width: clamp(6rem, 9.2vw, 9rem);
  border-radius: 50%;
  background-color: black;
  border: none;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  box-shadow: inset 0 0 25px 6px gray;
}

button:hover {
  cursor: pointer;
}

button:active {
  transform: scale(0.970);
}

footer div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem 2rem;
  gap: 0.25rem;
}

footer * {
  color: #ccc;
}

.icons {
  display: flex;
  align-items: center;
  height: 100%;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.button_active {
  transform: scale(0.94);
}

.flash {
  transform: scale(1.08);
  filter: brightness(1.5);
}

.redText {
  color: red;
}
