/* Animated background */
body {
  margin: auto;
  font-family: "Tektur", sans-serif !important;
  overflow: auto;
  background: linear-gradient(
    315deg,
    rgba(101, 0, 94, 1) 3%,
    rgba(60, 132, 206, 1) 38%,
    rgba(48, 238, 226, 1) 68%,
    rgba(255, 25, 25, 1) 98%
  );
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
}

@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.wave {
  background: rgb(255 255 255 / 25%);
  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 12em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(1);
  }
}

#quiz,
#finish,
#Correct,
#inCorrect {
  display: none;
}

#inCorrect:hover {
  background-color: rgb(220, 53, 69);
  border-color: rgb(220, 53, 69);
  cursor: default;
}

#Correct:hover {
  background-color: #198754;
  border-color: #198754;
  cursor: default;
}

label,
option,
select {
  font-family: "Tektur", sans-serif;
}

.lol::placeholder {
  font-family: "Tektur", sans-serif;
  font-weight: 500;
}

.header-font {
  font-family: "Amatic SC", sans-serif;
}

.mainColor {
  background-color: #58151c;
}

button {
  cursor: pointer;
}

.alert {
  display: none;
}

.btn:hover {
  background-color: #58151c !important;
}

.form-control:focus {
  box-shadow: none;
  border-color: #58151c;
}

.form-control {
  border-color: #58151c;
}

.form-check-input:checked {
  background-color: #58151c;
  border-color: maroon;
}

.form-check-input {
  border: none;
}

.form-check-input:focus {
  box-shadow: none;
}

/* Responsive design */
@media (max-width: 1200px) {
  .w-50 {
    width: 75% !important;
  }
}

@media (max-width: 992px) {
  .w-50 {
    width: 90% !important;
  }
}

@media (max-width: 768px) {
  .bg-dark-subtle {
    padding: 1rem;
  }

  label, select, .form-check-label {
    font-size: 1.25rem; 
  }

  .btn {
    padding: 0.5rem 1rem;
  }

  .form-control {
    font-size: 1rem;
  }

  .form-check-label {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  .form-control {
    font-size: 0.75rem;
  }

  .form-check-label {
    font-size: 1rem;
  }
}