/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
   * Remove the margin in all browsers (opinionated).
   */
body {
  margin: 0;
}

/* HTML5 display definitions
     ========================================================================== */
/**
   * Add the correct display in IE 9-.
   * 1. Add the correct display in Edge, IE, and Firefox.
   * 2. Add the correct display in IE.
   */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  /* 1 */
  display: block;
}

/**
   * Add the correct display in IE 9-.
   */
audio,
canvas,
progress,
video {
  display: inline-block;
}

/**
   * Add the correct display in iOS 4-7.
   */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
progress {
  vertical-align: baseline;
}

/**
   * Add the correct display in IE 10-.
   * 1. Add the correct display in IE.
   */
   /*
template,
[hidden] {
  display: none;
}
*/
/* Links
     ========================================================================== */
/**
   * 1. Remove the gray background on active links in IE 10.
   * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
   */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

/**
   * Remove the outline on focused links when they are also active or hovered
   * in all browsers (opinionated).
   */
a:active,
a:hover {
  outline-width: 0;
}

/* Text-level semantics
     ========================================================================== */
/**
   * 1. Remove the bottom border in Firefox 39-.
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
   * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
   */
b,
strong {
  font-weight: inherit;
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
b,
strong {
  font-weight: bolder;
}

/**
   * Add the correct font style in Android 4.3-.
   */
dfn {
  font-style: italic;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
   * Add the correct background and color in IE 9-.
   */
mark {
  background-color: #ff0;
  color: #000;
}

/**
   * Add the correct font size in all browsers.
   */
small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */
/**
   * Remove the border on images inside links in IE 10-.
   */
img {
  width: 25vh;
}

/**
   * Hide the overflow in IE.
   */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
     ========================================================================== */
/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct margin in IE 8.
   */
figure {
  margin: 1em 40px;
}

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/* Forms
     ========================================================================== */
/**
   * 1. Change font properties to `inherit` in all browsers (opinionated).
   * 2. Remove the margin in Firefox and Safari.
   */
button {
  background-color: #ffcc00;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}
button,
input,
select,
textarea {
  font: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Restore the font weight unset by the previous rule.
   */
optgroup {
  font-weight: bold;
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
   *    controls in Android 4.
   * 2. Correct the inability to style clickable types in iOS and Safari.
   */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

/**
   * Remove the inner border and padding in Firefox.
   */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Change the border, margin, and padding in all browsers (opinionated).
   */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Remove the default vertical scrollbar in IE.
   */
textarea {
  overflow: auto;
  resize: none;
}

/**
   * 1. Add the correct box sizing in IE 10-.
   * 2. Remove the padding in IE 10-.
   */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
   */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * Correct the text style of placeholders in Chrome, Edge, and Safari.
   */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

i {
  /* use !important to prevent issues with browser extensions that change fonts */
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/* -----------------------------------------------------------------------------
   *								$LAYOUT
   * ----------------------------------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #7a2b7a, #000000);
  background-size: 400% 400%;
  animation: fondoAnimado 6s infinite alternate;
  color: white;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}
/* Animación del fondo */
@keyframes fondoAnimado {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@media (min-width: 54.75em) {
  section {
    display: flex;
    height: 95vh;
    min-height: none;
  }
}

.hidden {
  display: none;
}

/* Circle
   * ----------------------------------------------------------------------------- */

/*.circle-container {
    padding-top: 2em;
    width: 100%; }
    */
@media (min-width: 54.75em) {
  .circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 0;
  }
}

.circle > *:hover {
  transform: scale(1.2);
  background-color: #ff3300; /* Un rojo más intenso al pasar el mouse */
  box-shadow: 0 0 20px rgba(255, 51, 0, 1);
}
/* Estilo de las letras del círculo */
.circle {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}

/*        
  .circle {
    position: relative;
  width: 22.5em;
  height: 22.5em;
  border-radius: 50%;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  border: 5px solid white;} /* Un borde dorado para destacar */

  .circle > * {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.25em;
    height: 1.25em;
    margin: -0.625em;
    }
    
    /* Ajuste para 27 letras en círculo */
    .circle > *:nth-of-type(1) { transform: rotate(270deg) translate(10.6875em) rotate(-270deg); }
    .circle > *:nth-of-type(2) { transform: rotate(283.33deg) translate(10.6875em) rotate(-283.33deg); }
    .circle > *:nth-of-type(3) { transform: rotate(296.66deg) translate(10.6875em) rotate(-296.66deg); }
    .circle > *:nth-of-type(4) { transform: rotate(310deg) translate(10.6875em) rotate(-310deg); }
    .circle > *:nth-of-type(5) { transform: rotate(323.33deg) translate(10.6875em) rotate(-323.33deg); }
    .circle > *:nth-of-type(6) { transform: rotate(336.66deg) translate(10.6875em) rotate(-336.66deg); }
    .circle > *:nth-of-type(7) { transform: rotate(350deg) translate(10.6875em) rotate(-350deg); }
    .circle > *:nth-of-type(8) { transform: rotate(3.33deg) translate(10.6875em) rotate(-3.33deg); }
    .circle > *:nth-of-type(9) { transform: rotate(16.66deg) translate(10.6875em) rotate(-16.66deg); }
    .circle > *:nth-of-type(10) { transform: rotate(30deg) translate(10.6875em) rotate(-30deg); }
    .circle > *:nth-of-type(11) { transform: rotate(43.33deg) translate(10.6875em) rotate(-43.33deg); }
    .circle > *:nth-of-type(12) { transform: rotate(56.66deg) translate(10.6875em) rotate(-56.66deg); }
    .circle > *:nth-of-type(13) { transform: rotate(70deg) translate(10.6875em) rotate(-70deg); }
    .circle > *:nth-of-type(14) { transform: rotate(83.33deg) translate(10.6875em) rotate(-83.33deg); }
    .circle > *:nth-of-type(15) { transform: rotate(96.66deg) translate(10.6875em) rotate(-96.66deg); }
    .circle > *:nth-of-type(16) { transform: rotate(110deg) translate(10.6875em) rotate(-110deg); }
    .circle > *:nth-of-type(17) { transform: rotate(123.33deg) translate(10.6875em) rotate(-123.33deg); }
    .circle > *:nth-of-type(18) { transform: rotate(136.66deg) translate(10.6875em) rotate(-136.66deg); }
    .circle > *:nth-of-type(19) { transform: rotate(150deg) translate(10.6875em) rotate(-150deg); }
    .circle > *:nth-of-type(20) { transform: rotate(163.33deg) translate(10.6875em) rotate(-163.33deg); }
    .circle > *:nth-of-type(21) { transform: rotate(176.66deg) translate(10.6875em) rotate(-176.66deg); }
    .circle > *:nth-of-type(22) { transform: rotate(190deg) translate(10.6875em) rotate(-190deg); }
    .circle > *:nth-of-type(23) { transform: rotate(203.33deg) translate(10.6875em) rotate(-203.33deg); }
    .circle > *:nth-of-type(24) { transform: rotate(216.66deg) translate(10.6875em) rotate(-216.66deg); }
    .circle > *:nth-of-type(25) { transform: rotate(230deg) translate(10.6875em) rotate(-230deg); }
    .circle > *:nth-of-type(26) { transform: rotate(243.33deg) translate(10.6875em) rotate(-243.33deg); }
    .circle > *:nth-of-type(27) { transform: rotate(256.66deg) translate(10.6875em) rotate(-256.66deg); }
    
    
@media (min-width: 54.75em) {
  .circle {
    position: relative;
    width: 22.5em;
    height: 22.5em;
    border-radius: 50%;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .circle > * {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.25em;
    height: 2.25em;
    margin: -1.125em;
  }
  .circle > *:nth-of-type(1) {
    transform: rotate(270deg) translate(11.25em) rotate(-270deg);
  }
  .circle > *:nth-of-type(2) {
    transform: rotate(284.4deg) translate(11.25em) rotate(-284.4deg);
  }
  .circle > *:nth-of-type(3) {
    transform: rotate(298.8deg) translate(11.25em) rotate(-298.8deg);
  }
  .circle > *:nth-of-type(4) {
    transform: rotate(313.2deg) translate(11.25em) rotate(-313.2deg);
  }
  .circle > *:nth-of-type(5) {
    transform: rotate(327.6deg) translate(11.25em) rotate(-327.6deg);
  }
  .circle > *:nth-of-type(6) {
    transform: rotate(342deg) translate(11.25em) rotate(-342deg);
  }
  .circle > *:nth-of-type(7) {
    transform: rotate(356.4deg) translate(11.25em) rotate(-356.4deg);
  }
  .circle > *:nth-of-type(8) {
    transform: rotate(370.8deg) translate(11.25em) rotate(-370.8deg);
  }
  .circle > *:nth-of-type(9) {
    transform: rotate(385.2deg) translate(11.25em) rotate(-385.2deg);
  }
  .circle > *:nth-of-type(10) {
    transform: rotate(399.6deg) translate(11.25em) rotate(-399.6deg);
  }
  .circle > *:nth-of-type(11) {
    transform: rotate(414deg) translate(11.25em) rotate(-414deg);
  }
  .circle > *:nth-of-type(12) {
    transform: rotate(428.4deg) translate(11.25em) rotate(-428.4deg);
  }
  .circle > *:nth-of-type(13) {
    transform: rotate(442.8deg) translate(11.25em) rotate(-442.8deg);
  }
  .circle > *:nth-of-type(14) {
    transform: rotate(457.2deg) translate(11.25em) rotate(-457.2deg);
  }
  .circle > *:nth-of-type(15) {
    transform: rotate(471.6deg) translate(11.25em) rotate(-471.6deg);
  }
  .circle > *:nth-of-type(16) {
    transform: rotate(486deg) translate(11.25em) rotate(-486deg);
  }
  .circle > *:nth-of-type(17) {
    transform: rotate(500.4deg) translate(11.25em) rotate(-500.4deg);
  }
  .circle > *:nth-of-type(18) {
    transform: rotate(514.8deg) translate(11.25em) rotate(-514.8deg);
  }
  .circle > *:nth-of-type(19) {
    transform: rotate(529.2deg) translate(11.25em) rotate(-529.2deg);
  }
  .circle > *:nth-of-type(20) {
    transform: rotate(543.6deg) translate(11.25em) rotate(-543.6deg);
  }
  .circle > *:nth-of-type(21) {
    transform: rotate(558deg) translate(11.25em) rotate(-558deg);
  }
  .circle > *:nth-of-type(22) {
    transform: rotate(572.4deg) translate(11.25em) rotate(-572.4deg);
  }
  .circle > *:nth-of-type(23) {
    transform: rotate(586.8deg) translate(11.25em) rotate(-586.8deg);
  }
  .circle > *:nth-of-type(24) {
    transform: rotate(601.2deg) translate(11.25em) rotate(-601.2deg);
  }
  .circle > *:nth-of-type(25) {
    transform: rotate(615.6deg) translate(11.25em) rotate(-615.6deg);
  }
}
/*
.circle .item {
  display: block;
  width: 2.25em;
  height: 2.25em;
  transition: all 0.3s ease-in-out;
  border: 2px solid linear-gradient(135deg, #ff00ff, #ff6a00);
  border-radius: 50%;
  background-image: radial-gradient(circle, #0074d9, #004b8d);
  color: white;
  line-height: 2.25em;
  text-align: center;
  text-decoration: none;
  cursor: default;
}
  */

  .item {
    width: 60px; /* Tamaño de las letras */
    height: 60px;
    font-size: 24px; /* Tamaño del texto */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF00FF, #FF6A00); /* Degradado */
    color: white;
    font-weight: bold;
}
.circle .item--success {
  background-image: radial-gradient(circle, #9ee379, #4caf50);
}
.circle .item--failure {
  background-image: radial-gradient(circle, #b9121b, #8e001c);
}

.scoreboard {
  margin: 0 0 1em 2em;
  padding: 0;
  list-style: none;
}
@media (min-width: 54.75em) {
  .scoreboard {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.scoreboard .timer {
  display: block;
  width: 2.8125em;
  height: 2.8125em;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff, #ff6a00);
  /*background-image: radial-gradient(circle, #0074d9, #004b8d);*/
  color: #fff;
  font-weight: 900;
  line-height: 2.8125em;
  text-align: center;
  text-decoration: none;
  cursor: default;
}
.scoreboard .score {
  display: block;
  width: 2.8125em;
  height: 1.6875em;
  margin-top: 0.5em;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #ff00ff, #ff6a00);
  /*background-image: radial-gradient(circle, #0074d9, #004b8d);*/
  color: #fff;
  font-weight: 900;
  line-height: 1.6875em;
  text-align: center;
  text-decoration: none;
  cursor: default;
}

/* Estilos del título con degradado */
.title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff00ff, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brillo 2s infinite alternate;
}

.title-container {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -25%);
  background: linear-gradient(135deg, white, #ff0033);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 54.75em) {
  .title-container {
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }
}
.title-container .title {
  display: none;
}
@media (min-width: 54.75em) {
  .title-container .title {
    color: #fff;
      font-size: 2.5rem;
      display: block;
    }
    }
    
    /* Controls
       * ----------------------------------------------------------------------------- */
    .controls-container {
      padding: 2em 0;
      width: 100%;
    }
    
    @media (min-width: 54.75em) {
      .controls-container {
        position: relative;
        width: 50%;
        height: 100%;
        padding: 0;
      }
    }
    
    .controls-container .icon-close {
      position: absolute;
      top: 20px;
      right: 20px;
      color: #d90000;
      cursor: pointer;
    }
    
    .controls-container .btn {
      display: inline-block;
      padding: 0.25em 0.5em;
      border: 2px solid #fff;
      border-radius: 3px;
      background: linear-gradient(135deg, #ff00ff, #ff6a00);
      color: #fff;
      font-weight: 900;
      line-height: 1.6875em;
      text-align: center;
      text-decoration: none;
      text-transform: uppercase;
      cursor: pointer;
      margin: 6px;
    }
    
    .controls-container .btn:hover {
      background-color: #004b8d;
    }
    
    .controls-container .btn--green {
      background-color: #9ee379;
    }
    
    .controls-container .btn--green:hover {
      background-color: #4caf50;
    }
    
    .ng-controls {
      width: 80%;
      max-width: none;
      margin-left: auto;
      margin-right: auto;
    }
    
    @media (min-width: 54.75em) {
      .ng-controls {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: 0;
        transform: translate(-50%, -50%);
      }
    }
    
    .ng-controls .btn {
      margin-top: 1em;
    }
    
    .ng-controls h4 {
      color: #fff;
      text-transform: uppercase;
      font-size: 24px;
    }
    
    .ng-controls p {
      color: #fff;
      font-size: 24px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 0;
    }
    
    .question-controls {
      width: 80%;
      max-width: none;
      margin-left: auto;
      margin-right: auto;
    }
    
    @media (min-width: 54.75em) {
      .question-controls {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: 0;
        transform: translate(-50%, -50%);
        width: 90%;
      }
    }
    
    .question-controls input {
      height: 37.75px;
      border: 0;
      border-radius: 3px;
    }
    
    input {
      height: 37.75px;
      border: 0;
      border-radius: 3px;
    }
    
    .question-controls .definition {
      margin-top: 25px;
      color: #fff;
      font-size: 20px;
      margin-bottom: 25px;
    }
    
    .question-controls .hint {
      color: #fff;
      font-size: 50px;
    }
    
    .pa-controls {
      width: 80%;
      max-width: none;
      margin-left: auto;
      margin-right: auto;
    }
    
    @media (min-width: 54.75em) {
      .pa-controls {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: 0;
        transform: translate(-50%, -50%);
        text-align: center;
      }
    }
    
    .pa-controls .title {
      margin-bottom: 0;
      color: #fff;
      font-size: 1.5rem;
      text-transform: uppercase;
    }
    
    .pa-controls .subtitle {
      margin-top: 0;
      color: #fff;
      text-transform: uppercase;
    }
    
    footer {
      width: 50%;
      height: 5vh;
      margin: 0 auto;
      text-align: center;
    }
    
    footer a,
    footer p {
      color: #fff;
      font-size: 0.875rem;
      font-weight: 400;
    }
    
    footer a {
      font-weight: 600;
      text-decoration: none;
    }
    
    footer a:hover {
      color: #f2f2f2;
    }
    
    footer i {
      color: #d90000;
    }
    
    .lista {
      list-style-type: none;
      font-size: 24px;
    }
    
    #ol {
      margin: auto;
      width:10em;
      margin-top: 20px;
      font-size: 20px;
    }