@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
  background-color: #0c0d0d;
  background-image: linear-gradient(315deg, #1c1d1e 0%, #090c10 100%);
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.quiz-container {
    background-color: #541a0f;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(235, 13, 13, 0.1);
    width: 600px;
    overflow: hidden;
}

.quiz-header {
    padding: 2rem;
}

h1 {
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 3rem;
    margin-top: 1.2rem;
}

h2 {
    padding: 1rem;
    text-align: center;
    margin: 0;
    color: #fff;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 1.2rem;
    margin: 1rem 0;
}

ul li input {
   font-size: 1.2rem;
}

ul li label {
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
    color: #fff;
    margin-left: 0.5rem;
}

label:hover {
    color: rgb(177, 57, 177);
}

.btn {
    width: 100%;
    font-size: 1.1rem;
    align-items: center;
    appearance: none;
    background-clip: padding-box;
    background-color: initial;
    background-image: none;
    border-style: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    flex-direction: row;
    flex-shrink: 0;
    font-family: Eina01,sans-serif;
    font-weight: 800;
    justify-content: center;
    line-height: 24px;
    margin: 0;
    min-height: 64px;
    outline: none;
    overflow: visible;
    padding: 19px 26px;
    pointer-events: auto;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    word-break: keep-all;
    z-index: 0;
}

@media (min-width: 768px) {
  .btn {
    padding: 19px 32px;
  }
}

.btn:before,
.btn:after {
  border-radius: 80px;
}

.btn:before {
  background-image: linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -2;
}

.btn:after {
  background-color: initial;
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  content: "";
  display: block;
  left: 4px;
  overflow: hidden;
  position: absolute;
  right: 4px;
  top: 4px;
  transition: all 100ms ease-out;
  z-index: -1;
}

.btn:hover:not(:disabled):before {
  background: linear-gradient(92.83deg, rgb(255, 116, 38) 0%, rgb(249, 58, 19) 100%);
}

.btn:hover:not(:disabled):after {
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transition-timing-function: ease-in;
  opacity: 0;
}

.btn:active:not(:disabled) {
  color: #ccc;
}

.btn:active:not(:disabled):before {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
}

.btn:active:not(:disabled):after {
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  left: 4px;
  right: 4px;
  top: 4px;
}

.btn:disabled {
  cursor: default;
  opacity: .24;
}

.error-message {
  color: #fff;
  margin-bottom: 10px;
  font-weight: bold;
}

.btn-restart {
  border: none;
  background-color: red;
  border-radius: 25px;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: .3s;
}

.btn-restart:hover,
.btn-restart:focus {
  background-color: darkred;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out; /* Ajusta la duración de la animación según tus necesidades */
}



