/* Uso principios de ITCSS (Inverted Triangle CSS)  */

/* ---------------- Variables de colores ---------------- */
:root {
  --color-beltza: #131313;
  --color-zuria: #fbfaf7;
  --color-gorria: #da3e3f;
  --color-urdina: #73cfd1;
  --color-bg-oscuro: #040b0c;
}

/* ---------------- Reset y configuración básica ---------------- */
@import url("../styles/satoshi.css");

* {
  outline: 0;
  margin: 0px;
  box-sizing: border-box;
  position: relative;
}
html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0px !important;
  font-size: 20px;
  scrollbar-width: thin; /* Ancho de la barra de desplazamiento */
  scrollbar-color: #888 #f1f1f1; /* Color del "thumb" y de la pista */
}
main {
  background-color: var(--color-zuria) !important;
  transition: background-color 1.5s ease;
}

main.bg-oscuro {
  background-color: var(--color-bg-oscuro) !important;
  transition: background-color 1.5s ease;
}

.bg-claro {
  background-color: var(--color-zuria) !important;
  transition: background-color 1.5s ease;
}

main.bg-oscuro p {
  color: var(--color-zuria);
  font-weight: 300;
}
template,
[hidden] {
  display: none;
}
*,
:before,
:after {
  box-sizing: border-box;
}

/* Ajuste de márgenes para secciones */

section {
  margin-left: -2px;
  margin-right: -2px;
}

section + section {
  margin-left: -5px;
}

address {
  font-style: inherit;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
b,
strong {
  font-weight: 500;
}
a {
  text-decoration: none;
}
a svg {
  pointer-events: none;
}

/* ---------------- Estilos para listas, figuras y tablas ---------------- */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
p,
figure {
  margin: 0;
  padding: 0;
}
a,
area,
button,
input,
label,
select,
textarea,
[tabindex] {
  touch-action: manipulation;
}
[hreflang] > abbr[title] {
  text-decoration: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
hr {
  display: block;
  margin: 1em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--color-beltza);
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/* Efectos en video */

video.caldero {
  filter: saturate(0.5);
}

/* ---------------- Estilos de medios ---------------- */
audio:not([controls]) {
  display: none;
  height: 0;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
img[width],
img[height],
svg[width],
svg[height] {
  max-width: none;
}
img {
  font-style: italic;
}
@media (max-width: 699px) {
  img.mb20 {
    margin-bottom: 20px;
  }
}
svg {
  fill: currentColor;
}

/* ---------------- Estilos de inputs y textareas ---------------- */

input,
textarea {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: none rgba(0, 0, 0, 0);
  color: inherit;
  font: inherit;
  line-height: normal;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*--- KOLOREAK  ---*/

.f-color-beltza {
  color: var(--color-beltza);
}
.f-color-zuria {
  color: var(--color-zuria);
}
.f-color-gorria {
  color: var(--color-gorria) !important;
}
.f-color-urdina {
  color: var(--color-urdina) !important;
}

/* ---------------- Font-face y fuentes ---------------- */

@font-face {
  font-family: "spectral";
  src: url("../fonts/spectralbridgeregular-zvmgm.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*Aqui se que no tiene sentido que haya dos font-face iguales, pero me di cuenta más tarde de una cosa y sino tenia que modificarlo 
uno a uno en todo el documento*/

@font-face {
  font-family: "satoshi";
  src: url("../fonts/satoshi/Satoshi-Variable.woff2") format("woff2"),
    url("../fonts/satoshi/Satoshi-Variable.woff") format("woff"),
    url("../fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi-Variable";
  src: url("../fonts/satoshi/Satoshi-Variable.woff2") format("woff2"),
    url("../fonts/satoshi/Satoshi-Variable.woff") format("woff"),
    url("../fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

html {
  color: var(--color-beltza);
  font-family: "satoshi";
  line-height: 1.1;
}
@media (max-width: 699px) {
  html {
    font-size: 12px;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  html {
    font-size: 13px;
  }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  html {
    font-size: 14px;
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 1600px) and (max-width: 1999px) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 2000px) and (max-width: 2399px) {
  html {
    font-size: 21px;
  }
}
@media (min-width: 2400px) {
  html {
    font-size: 24px;
  }
}
html:not(.has-scroll-init) {
  cursor: auto;
  overflow: hidden;
}

/* ---------------- Efectos de selección de texto ---------------- */

::-moz-selection {
  background-color: var(--color-beltza);
  color: var(--color-zuria);
  text-shadow: none;
}
::selection {
  background-color: var(--color-beltza);
  color: var(--color-zuria);
  text-shadow: none;
}
a {
  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  color: var(--color-beltza);
}
@media (min-width: 1200px) {
  a:focus,
  a:hover {
    color: var(--color-zuria);
  }
}
a.-underline {
  text-decoration: underline;
}

/* ---------------- Headers y tipografía ---------------- */
.o-h,
h6,
.o-h6,
h5,
.o-h5,
h4,
.o-h4,
h3,
.o-h3,
h2,
.o-h2,
h1,
.o-h1 {
  font-family: "spectral";
  margin-top: 0;
  line-height: 1.1;
  margin-bottom: 0;
  line-height: 1.2;
  font-weight: 400;
}
h1,
.o-h1 {
  line-height: 0.9;
}
@media (max-width: 699px) {
  h1,
  .o-h1 {
    font-size: 12vw;
  }
}
@media (min-width: 700px) and (max-width: 1599px) {
  h1,
  .o-h1 {
    font-size: 13.5vw;
  }
  h1.-huge,
  .o-h1.-huge {
    font-size: 36vh;
  }
}
@media (min-width: 1600px) {
  h1,
  .o-h1 {
    font-size: 12vw;
  }
}
h2,
.o-h2 {
  font-size: 1.7777777778rem;
}
h3,
.o-h3 {
  font-size: 1.5555555556rem;
}
h4,
.o-h4 {
  line-height: 1.2;
  font-size: 1.3333333333rem;
}
h5,
.o-h5 {
  font-size: 0.8888888889rem;
}
h6,
.o-h6 {
  font-size: 0.8333333333rem;
}
p {
  font-family: "satoshi";
  font-size: 18px;
  font-weight: normal;
}
@media (min-width: 1399px) {
  p.u-text-align-right {
    text-align: right;
  }
}

.f-font-handia {
  font-family: "Satoshi";
  font-size: 200px;
  line-height: 0.9;
}
@media (max-width: 699px) {
  .f-font-handia {
    font-size: 64px;
  }
}

.f-font-ertaina-5 {
  padding: 0 10px;
  color: var(--color-urdina);
  font-size: 5vw;
}
@media (max-width: 699px) {
  .f-font-ertaina-5 {
    padding: 1vh 0px 0px 0px;
    font-size: 36px !important;
  }
}

.f-font-ertaina {
  font-family: "spectral";
  font-size: 48px;
  line-height: 1.1;
}
@media (max-width: 699px) {
  .f-font-ertaina {
    font-size: 36px;
  }
}

.bg-oscuro .f-font-ertaina {
  color: var(--color-zuria);
}

.f-font-ms {
  font-family: "spectral";
  font-size: 1.8vw;
  line-height: 1.1;
}
@media (max-width: 699px) {
  .f-font-ms {
    font-size: 30px;
  }
}

.f-font-txikia {
  font-family: "spectral";
  font-size: 28px;
  line-height: 1.3;
}
@media (max-width: 699px) {
  .f-font-txikia {
    font-size: 24px;
  }
}
.o-highlight-a {
  font-family: "spectral";
  font-size: 42px;
  color: #938d85;
}

/* MENU */

.b--header {
  background-color: var(--color-zuria);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(14px);
  background: rgba(251, 250, 247, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: 60px;
  height: 100vh;
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
@media (max-width: 699px) {
  .b--header {
    width: 100vw;
    height: 70px;
    border-right: 0px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid var(--color-beltza);
  }
}
.b--header__brand {
  position: fixed;
  display: block;
  z-index: 300;
  transform: rotate(270deg);
  width: 200px !important;
  left: -72px;
  top: 44%;
}
@media (max-width: 699px) {
  .b--header__brand {
    position: relative;
    transform: rotate(0deg);
    left: 0;
    top: 0;
    width: 200px !important;
  }
}
.b--header__brand__img {
  width: 100%;
}
.b--header__nav {
  display: inline-block;
  margin-right: 0px;
}
.b--nav__list-group {
  display: inline-block;
  list-style: none !important;
  text-decoration: none !important;
  text-align: center;
}
.b--nav__list-group li {
  padding: 0px 7px;
  text-align: center;
}
.b--nav__list-group li a {
  text-decoration: none;
  text-align: center;
  font-family: "spectral";
  font-size: 15vh;
}
@media (max-width: 699px) {
  .b--nav__list-group li a {
    font-size: 6vh;
  }
}

body {
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
}
@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}

#overlay-button {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 26px 6px;
  z-index: 300;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
@media (max-width: 699px) {
  #overlay-button {
    right: 0px;
  }
}
#overlay-button span {
  height: 1px;
  width: 35px;
  background-color: var(--color-beltza);
  position: relative;
  display: block;
  transition: all 0.2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before,
#overlay-button span:after {
  height: 1px;
  width: 35px;
  background-color: var(--color-beltza);
  position: absolute;
  content: "";
  transition: all 0.2s ease-in-out;
}
#overlay-button:hover span,
#overlay-button:hover span:before,
#overlay-button:hover span:after {
  background: var(--color-gorria);
}
input[type="checkbox"] {
  display: none;
}
input[type="checkbox"]:checked ~ #overlay {
  visibility: visible;
  transform: scaleX(1); /* Expande completamente */
  transition-delay: 0s; /* Elimina el retraso de visibilidad al abrir */
}
input[type="checkbox"]:checked ~ #overlay-button:hover span,
input[type="checkbox"]:checked ~ #overlay-button span {
  background: rgba(0, 0, 0, 0);
}
input[type="checkbox"]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
  opacity: 1;
  background-color: var(--color-gorria);
}
input[type="checkbox"]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: var(--color-gorria);
}
#overlay {
  height: 100vh;
  width: 100vw;
  background: var(--color-beltza);
  z-index: 2;
  visibility: hidden;
  position: fixed;
  top: 0px;
  left: 0px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.5, 0, 0.1, 1), visibility 0s 1s;
  overflow: hidden;
}
#overlay.active {
  visibility: visible;
}
#overlay .b--nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-left: 10px;
  opacity: 0; /* Inicialmente oculto */
  transition: opacity 0.5s ease-in-out;
  transition-delay: 1s; /* Retraso para que coincida con la animación de apertura */
}
#overlay .b--nav__list-group {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  list-style-type: none;
}
@media (max-width: 699px) {
  #overlay .b--nav__list-group {
    display: flex;
    flex-direction: column;
  }
}
#overlay .b--nav__list-group__list-item {
  padding: 8px 40px;
  position: relative;
  display: block;
  width: 100%;
  line-height: 1;
}
#overlay .b--nav__list-group__list-item__link {
  color: var(--color-zuria);
  text-decoration: none !important;
  position: relative;
  z-index: 2;
  text-decoration: none;
  display: block;
  color: var(--color-zuria);
  transition: all ease-in-out 0s;
}
#overlay .b--nav__list-group__list-item__link:hover {
  color: var(--color-gorria);
  transition: all ease-in-out 0.3s;
}
#overlay
  .b--nav__list-group__list-item__link:hover
  + .b--nav__list-group__list-item__img-wrapper {
  margin: 0;
  z-index: -5;
  visibility: visible;
  opacity: 1;
  transition: all ease-in-out 0.3s;
}
#overlay .b--nav__list-group__list-item__img-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: all ease-in-out 0.3s;
}
#overlay .b--nav__list-group__list-item__img-wrapper__img {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  margin: auto;
  min-width: 100%;
  min-height: auto;
  width: 100%;
  height: auto;
  max-width: none;
  filter: grayscale(100%);
  opacity: 0.75;
}
@media (max-width: 699px) {
  #overlay .b--nav__list-group__list-item__img-wrapper__img {
    min-height: 100%;
    width: auto;
    height: 100%;
  }
}
#overlay .b--nav__last-link {
  margin-top: 46px;
  padding: 0px;
  font-family: "spectral";
  font-size: 3.2vh;
  color: var(--color-zuria);
  text-align: center !important;
}
@media (max-width: 699px) {
  #overlay .b--nav__last-link {
    margin-top: 24px;
    font-size: 2vh;
  }
}
#overlay .b--nav__last-link:hover {
  color: var(--color-gorria);
}
.o-container {
  margin-right: auto;
  margin-left: auto;
  max-width: 84.4444444444rem;
  margin-left: 60px !important;
}
@media (max-width: 699px) {
  .o-container {
    padding-right: 20px;
    padding-left: 20px;
    margin-left: 0px !important;
  }
}
@media (min-width: 700px) {
  .o-container {
    padding-right: 2.2222222222rem;
    padding-left: 2.2222222222rem;
  }
}

input[type="checkbox"]:checked ~ #overlay {
  visibility: visible;
  transform: scaleX(1);
  transition-delay: 0s;
}

input[type="checkbox"]:checked ~ #overlay .b--nav {
  opacity: 1;
  transition-delay: 0.4s;
}

input[type="checkbox"]:not(:checked) ~ #overlay .b--nav {
  opacity: 0;
  transition-delay: 0s;
}

input[type="checkbox"]:not(:checked) ~ #overlay {
  transform: scaleX(0);
  transition-delay: 0.5s;
  visibility: hidden;
  transition: transform 1s cubic-bezier(0.5, 0, 0.1, 1), visibility 0s 1s;
}

/* ------------------- LAYOUT ------------------*/
/* Bloque general de diseño para definir márgenes, alineación, estilos de flexbox y estructura general de layout */

/* --- PADDING --- */
/* Definición de clases de padding (relleno) para ajustar el espacio interno en los elementos */

/* Padding derecho regular */
.o-padding-rgt-regular {
  padding-right: 10px;
}
@media (max-width: 699px) {
  .o-padding-rgt-regular {
    padding-right: 0px;
  }
}
/* Padding izquierdo regular */
.o-padding-lft-regular {
  padding-left: 10px;
}
@media (max-width: 699px) {
  .o-padding-lft-regular {
    padding-left: 0px;
  }
}
/* Padding izquierdo y derecho regular */
.o-padding-lft-rgt-regular {
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 699px) {
  .o-padding-lft-rgt-regular {
    padding-left: 0px;
    padding-right: 0px;
  }
}
/* Padding izquierdo grande */
.o-padding-lft-1 {
  padding-left: 10vh;
}
@media (max-width: 699px) {
  .o-padding-lft-1 {
    padding-left: 0px;
  }
}
/* Padding derecho grande */
.o-padding-rgt-1 {
  padding-right: 10vh;
}
@media (max-width: 699px) {
  .o-padding-rgt-1 {
    padding-right: 0px;
  }
}
/* Padding izquierdo y derecho grande */
.o-padding-lft-rgt-1 {
  padding-left: 10vh;
  padding-right: 10vh;
}
@media (max-width: 699px) {
  .o-padding-lft-rgt-1 {
    padding-left: 0px;
    padding-right: 0px;
  }
}
/* Padding izquierdo extra grande */
.o-padding-lft-2 {
  padding-left: 20vw !important;
}
@media (max-width: 699px) {
  .o-padding-lft-2 {
    padding-left: 0px;
  }
}

/* --- MARGIN --- */
/* Definición de clases de margen izquierdo y derecho en varias proporciones */

.o-ml-0-5 {
  margin-left: 5vw;
}
.o-ml-1 {
  margin-left: 10vw;
}
.o-ml-2 {
  margin-left: 20vw;
}

.o-mr-0-5 {
  margin-right: 5vw;
}
.o-mr-1 {
  margin-right: 10vw;
}
.o-mr-2 {
  margin-right: 20vw;
}

/* --- LAYOUT OPTIONS --- */
/* Definición de opciones de layout utilizando display flex y otros ajustes de alineación */

/* Layout básico sin padding ni márgenes */
.o-layout {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
  margin-left: 0;
}

/* Layout con margen negativo */
.o-layout.-gutter {
  margin-left: -3.3333333333rem;
}
.o-layout.-gutter-small {
  margin-left: -1.6666666667rem;
}

/* Alineación de texto dentro del layout */
.o-layout.-center {
  text-align: center;
}
.o-layout.-right {
  text-align: right;
}

/* Layout en reversa (de derecha a izquierda) */
.o-layout.-reverse {
  direction: rtl;
}
.o-layout.-reverse.-flex {
  flex-direction: row-reverse;
}

/* Display flex con diferentes opciones de alineación */
.o-layout.-flex {
  display: flex;
}
.o-layout.-flex.-top {
  align-items: flex-start;
}
.o-layout.-flex.-middle {
  align-items: center;
}
.o-layout.-flex.-bottom {
  align-items: flex-end;
}
.o-layout.-stretch {
  align-items: stretch;
}

/* Item en el layout con padding */
.o-layout_item {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-size: 1rem;
  padding-left: 0;
}

/* Padding en items del layout cuando hay margen de gutter */
.o-layout.-gutter > .o-layout_item {
  padding-left: 3.3333333333rem;
}
.o-layout.-gutter-small > .o-layout_item {
  padding-left: 1.6666666667rem;
}

/* Alineación vertical en items del layout */
.o-layout.-middle > .o-layout_item {
  vertical-align: middle;
}
.o-layout.-bottom > .o-layout_item {
  vertical-align: bottom;
}

/* Alineación de texto en layout reverso */
.o-layout.-center > .o-layout_item,
.o-layout.-right > .o-layout_item,
.o-layout.-reverse > .o-layout_item {
  text-align: left;
}
.o-layout.-reverse > .o-layout_item {
  direction: ltr;
}

/* --- SCROLL CONTAINER --- */
/* Estilos para contenedor de scroll personalizado */

.o-scroll {
  background-color: var(--color-zuria);
  overflow: hidden;
}

/* --- TITLES --- */
/* Estilos de títulos con animación y perspectiva */

.o-title {
  margin: 0;
  padding: 2.2222222222rem 0;
  perspective: 600px;
  -webkit-perspective: 600px;
}
.o-title_line {
  display: block;
  opacity: 0;
  transform-origin: center top;
  transform-style: preserve-3d;
  transform: translateY(100%) rotateX(-80deg);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  font-size: 0;
}
.o-title.is-inview .o-title_line {
  transform: none;
  opacity: 1;
}
.o-title.is-inview .o-title_line:nth-child(1) {
  transition-delay: 0.4s;
}
.o-title.is-inview .o-title_line:nth-child(2) {
  transition-delay: 0.5s;
}
.o-title.is-inview .o-title_line:nth-child(3) {
  transition-delay: 0.6s;
}
.o-title.is-inview .o-title_line:nth-child(4) {
  transition-delay: 0.7s;
}
.o-title_line span {
  display: inline-block;
  min-width: 0.05em;
  font-size: 8vw;
}

@media (max-width: 699px) {
  .o-title_line span {
    font-size: 14vw;
  }
}

/* --- IMAGE WRAPPERS --- */
/* Estilos para contenedores de imágenes con efecto de opacidad */

.o-image_wrapper {
  position: relative;
  overflow: hidden;
}
.o-image_wrapper.-full {
  height: 100%;
  margin: 0 5.5555555556rem;
  display: flex;
  align-content: center;
}

@media (max-width: 699px) {
  .o-image_wrapper.-full {
    height: auto;
    margin: 1.6666666667rem 0;
  }
}

.o-image_wrapper.-full-parallax {
  height: 100vh;
  display: flex;
  align-content: center;
  align-items: center;
}

@media (max-width: 699px) {
  .o-image_wrapper.-full-parallax {
    height: auto;
    margin: 1.6666666667rem 0;
  }
}

.o-image {
  opacity: 1;
}
.o-image img {
  width: 100%;
  opacity: 0;
  transform: scale(1.4);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-image.is-inview img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}
.o-image_wrapper.-full .o-image {
  align-self: center;
}

/* --- COLUMNS --- */
/* Definición de estilos de ancho para columnas en diferentes tamaños */

.o-col-2 {
  width: 20vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-2.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-2 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o-col-3 {
  width: 30vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-3.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-3 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o-col-4 {
  width: 40vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-4.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-4 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o-col-5 {
  width: 50vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-5.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-5 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o-col-6 {
  width: 60vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-6.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-6 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}

.o-col-7 {
  width: 70vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-7.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-6 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o-col-8 {
  width: 80vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-8.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-8 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o-col-9 {
  width: 90vw;
  white-space: wrap !important;
  padding-right: 5px;
  padding-left: 5px;
  white-space: normal !important;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.o-col-9.is-inview {
  opacity: 1;
}
@media (max-width: 699px) {
  .o-col-9 {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.o--col-align-right {
  margin-right: 0px;
  margin-left: auto;
}
@media (max-width: 699px) {
  .o--col-align-right {
    margin-right: auto;
  }
}

.o-row-0-5 {
  margin-top: 5vh;
}
@media (max-width: 699px) {
  .o-row-0-5 {
    margin-top: 30px;
  }
}

/* --- ALTURA DE LAS FILAS--- */
/* Estilo para determinar el margin top de los elementos */

.o-row-1 {
  margin-top: 10vh;
}
@media (max-width: 699px) {
  .o-row-1 {
    margin-top: 30px;
  }
}
.o-row-2 {
  margin-top: 20vh;
}
@media (max-width: 699px) {
  .o-row-2 {
    margin-top: 30px;
  }
}
.o-row-3 {
  margin-top: 30vh;
}
@media (max-width: 699px) {
  .o-row-3 {
    margin-top: 30px;
  }
}
.o-row-4 {
  margin-top: 40vh;
}
@media (max-width: 699px) {
  .o-row-4 {
    margin-top: 30px;
  }
}
.o-row-5 {
  margin-top: 50vh;
}
@media (max-width: 699px) {
  .o-row-5 {
    margin-top: 30px;
  }
}
.o-row-6 {
  margin-top: 60vh;
}
@media (max-width: 699px) {
  .o-row-6 {
    margin-top: 30px;
  }
}

.o-row-7 {
  margin-top: 70vh;
}
@media (max-width: 699px) {
  .o-row-7 {
    margin-top: 30px;
  }
}

.o-row-8 {
  margin-top: 80vh;
}
@media (max-width: 699px) {
  .o-row-8 {
    margin-top: 30px;
  }
}

/* --- FULL-WIDTH ELEMENT --- */
/* Estilo para elementos de ancho completo */

.o--full-width {
  width: 100vw;
}

/* --- TWO-COLUMN LAYOUTS --- */
/* Estilos para layouts de dos columnas */

.o-two-col {
  display: flex;
}
@media (max-width: 699px) {
  .o-two-col {
    display: block;
  }
}
.o-two-col div {
  width: 50%;
}
@media (max-width: 699px) {
  .o-two-col div {
    width: 100%;
  }
}
.o-two-col__number {
  width: auto !important;
}
.o-two-col__number-text {
  width: 100% !important;
}

/* --- TWO-COLUMN LAYOUT WITH IRREGULAR SIZES --- */
/* Estilos para layout de dos columnas de tamaño desigual */

.o-two-col-irregular {
  display: flex;
}
@media (max-width: 699px) {
  .o-two-col-irregular {
    display: block;
  }
}
.o-two-col-irregular div:first-child {
  width: 65%;
}
@media (max-width: 699px) {
  .o-two-col-irregular div:first-child {
    width: 100%;
  }
}
.o-two-col-irregular div:nth-child(2) {
  width: 35%;
}
@media (max-width: 699px) {
  .o-two-col-irregular div:nth-child(2) {
    width: 100%;
  }
}

/* ------------------- LOCOMOTIVE SCROLL ------------------- */
/* Estilos para desplazamiento suave personalizado utilizando Locomotive Scroll */

/* --- SMOOTH SCROLL CONFIGURATION --- */
/* Configuración del desplazamiento suave para desactivar el scroll en el cuerpo */

html.has-scroll-smooth {
  overflow: hidden;
}

/* --- DRAGGING DISABLE SELECTION --- */
/* Deshabilita la selección de texto y otros eventos de usuario cuando el scroll está en modo de arrastre */

html.has-scroll-dragging {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.has-scroll-smooth body {
  overflow: hidden;
}

/* --- SCROLL CONTAINER STYLING --- */
/* Configura el contenedor principal de scroll para ocupar la altura completa de la pantalla */

.has-scroll-smooth [data-scroll-container] {
  min-height: 100vh;
}

/* Configuración para desplazamiento horizontal */
[data-scroll-direction="horizontal"] [data-scroll-container] {
  height: 100vh;
  display: inline-block;
  white-space: nowrap;
}

/* --- SCROLL SECTION SETTINGS --- */
/* Configura cada sección de scroll para desplazamiento horizontal */

[data-scroll-direction="horizontal"] [data-scroll-section] {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  height: 100%;
}

/* --- SCROLLBAR STYLING --- */
/* Configuración de la barra de desplazamiento personalizada */

.c-scrollbar {
  position: absolute;
  right: 0;
  top: 0;
  width: 11px;
  height: 100%;
  transform-origin: center right;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0;
}

/* Expande la barra de desplazamiento cuando se coloca el cursor encima */

.c-scrollbar:hover {
  transform: scaleX(1.45);
}

/* Muestra la barra de desplazamiento durante el desplazamiento y al arrastrar */

.c-scrollbar:hover,
.has-scroll-scrolling .c-scrollbar,
.has-scroll-dragging .c-scrollbar {
  opacity: 1;
}

/* Configuración de la barra de desplazamiento en modo horizontal */

[data-scroll-direction="horizontal"] .c-scrollbar {
  width: 100%;
  height: 10px;
  top: auto;
  bottom: 0;
  transform: scaleY(1);
}
/* Expande la barra de desplazamiento horizontal al pasar el cursor */
[data-scroll-direction="horizontal"] .c-scrollbar:hover {
  transform: scaleY(1.3);
}

/* --- SCROLLBAR THUMB STYLING --- */
/* Configuración del "thumb" o el elemento que indica el scroll dentro de la barra */

.c-scrollbar_thumb {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #000;
  opacity: 0.5;
  width: 7px;
  border-radius: 10px;
  margin: 2px;
  cursor: grab;
}

/* Cambia el cursor al estado de "arrastrando" durante el desplazamiento */
.has-scroll-dragging .c-scrollbar_thumb {
  cursor: grabbing;
}
[data-scroll-direction="horizontal"] .c-scrollbar_thumb {
  right: auto;
  bottom: 0;
}

/* --- KEYFRAMES FOR ANIMATIONS --- */
/* Animaciones keyframes personalizadas */

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* preloader */
.b--preloader-a {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  display: block;
  background-color: var(--color-beltza);
  color: var(--color-zuria);
  z-index: 1099;
  transition: width 1s 0s cubic-bezier(0.5, 0, 0.1, 1);
}
.b--preloader-a__icon {
  position: absolute;
  top: calc(50% - 12vh);
  left: calc(50% - 12vw);
  width: 24vw;
}
@media (max-width: 699px) {
  .b--preloader-a__icon {
    top: calc(50% - 25vw);
    left: calc(50% - 25vw);
    width: 50vw;
  }
}
.b--preloader-a__icon svg path {
  stroke: var(--color-zuria);
  fill: none;
  stroke-miterlimit: 10;
  stroke-dasharray: 3610;
  stroke-dashoffset: 3610;
  animation: dash 3s linear infinite;
}
.b--preloader-a--hide {
  width: 0px;
}
.b--preloader-a--hide .b--preloader-a__icon {
  opacity: 0;
  pointer-events: none !important;
}

/*Círculo*/

/* Posición fija del botón */
#toggle-audio {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-urdina);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 14px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 40;
}

@keyframes pulsate {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
#toggle-audio.animate {
  animation: pulsate 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite; /* Aplicar la animación con cubic-bezier */
}

/* Efecto hover */
#toggle-audio:hover {
  transform: scale(1.1);
  background-color: color-mix(in srgb, var(--color-urdina) 85%, black 15%);
}

#toggle-audio:active {
  transform: scale(0.95);
  background-color: color-mix(in srgb, var(--color-urdina) 85%, black 15%);
}

/* ------------------- HEADER CONTAINER ------------------- */
/* Configuración del contenedor principal de la cabecera */

.c-header_container {
  background-color: var(--color-beltza);
  color: var(--color-zuria) !important;
  margin-left: -5px;
}

/* Fondo de la cabecera */
.c-header_container__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  opacity: 0.65;
}

/* Imagen de fondo de la cabecera */
.c-header_container__bg img {
  margin: auto;
  min-width: 100%;
  min-height: auto;
  width: 100%;
  height: auto;
  max-width: none;
}
@media (max-width: 699px) {
  .c-header_container__bg img {
    min-height: 100%;
    width: auto;
    height: 100%;
  }
}

/* --- HEADER MAIN SETTINGS --- */
/* Configura el elemento principal de la cabecera */

.c-header {
  position: relative;
}
@media (max-width: 699px) {
  .c-header {
    height: 100vh;
    min-height: 340px;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .c-header {
    height: 100vh;
    min-height: 380px;
  }
}
@media (min-width: 1000px) {
  .c-header {
    height: 100vh;
    min-height: 41.6666666667rem;
  }
}

/* --- HEADER TITLE --- */
/* Configuración para el título de la cabecera */

.c-header_title {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 2.2222222222rem 0;
  max-width: 60vw;
  perspective: 600px;
  -webkit-perspective: 600px;
}
@media (max-width: 699px) {
  .c-header_title {
    max-width: calc(100vw - 40px);
    padding: 2.2222222222rem 0 20vh;
  }
}

/* Título secundario de la cabecera */

.c-header_title.-second {
  max-width: 90vw;
  width: 84.4444444444rem;
  bottom: auto;
  top: 20vh;
}

/* Línea decorativa bajo el título */

.c-header_line {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c-header_line.is-inview {
  transform: scaleX(1);
}

/* Estilo de las líneas del título */
.c-header_title_line {
  display: block;
  opacity: 0;
  transform-origin: center top;
  transform-style: preserve-3d;
  transform: translateY(100%) rotateX(-80deg);
  transition: opacity 0s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Estilo de texto en cursiva */

.c-header_title_line.-italic span {
  font-style: italic;
}
.c-header_title_line.-second {
  margin-bottom: 5vh;
}
html.is-ready .c-header_title_line {
  transform: none;
  opacity: 1;
  transition-duration: 0.8s;
}
html.is-ready .c-header_title_line:nth-child(1) {
  transition-delay: 0.1s;
}
html.is-ready .c-header_title_line:nth-child(2) {
  transition-delay: 0.2s;
}
html.is-ready .c-header_title_line:nth-child(3) {
  transition-delay: 0.3s;
}
html.is-ready .c-header_title_line:nth-child(4) {
  transition-delay: 0.4s;
}
.c-header_title_line span {
  display: inline-block;
}

/* Estilo adicional para líneas pequeñas del título */

.c-header_title_line.-txiki {
  text-transform: none;
  font-size: 0;
  margin-top: 50px;
}
.c-header_title_line.-txiki span {
  font-family: "spectral";
  font-size: 7vh;
  line-height: 1.3;
}
@media (max-width: 699px) {
  .c-header_title_line.-txiki span {
    font-size: 32px;
  }
}

/* --- HEADER HEADING --- */
/* Configuración del encabezado dentro de la cabecera */

.c-header_heading {
  padding: 1.6666666667rem 0;
}
.c-header_heading_label {
  display: block;
  transition: transform 0s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateY(-20vh);
}
html.is-ready .c-header_heading_label {
  transform: none;
  transition-duration: 0.6s;
}
html.is-ready .o-layout_item:nth-child(2) .c-header_heading_label {
  transition-delay: 0.1s;
}

/* --- HEADER ARROW --- */
/* Configuración de la flecha decorativa de la cabecera */

.c-header_arrow {
  position: absolute;
  width: 15vw;
  bottom: 11vh;
  right: 0;
  opacity: 0;
  transform: translateY(120px);
  transition: opacity 0s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0s cubic-bezier(0.215, 0.61, 0.355, 1);
}
@media (max-width: 699px) {
  .c-header_arrow {
    width: 20vh;
    height: 66px;
    bottom: 15vh;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .c-header_arrow {
    bottom: 10vh;
  }
}
@media (min-width: 700px) {
  .c-header_arrow {
    width: 15vw;
    height: 7.7777777778rem;
  }
}
.c-header_arrow__font {
  color: var(--color-zuria);
  font-family: "spectral";
  font-size: 200px;
  line-height: 0.9;
}
@media (max-width: 699px) {
  .c-header_arrow__font {
    font-size: 64px;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .c-header_arrow__font {
    font-size: 150px;
  }
}
.c-header_arrow:hover {
  cursor: pointer !important;
}
.c-header_arrow:hover .c-header_arrow__font {
  color: var(--color-gorria);
  cursor: pointer !important;
}
html.is-ready .c-header_arrow {
  transform: none;
  opacity: 1;
  transition-delay: 0.6s;
  transition-duration: 0.6s;
}

/* --- INITIAL PAGE SECTION (HASIERA) --- */
/* Contenedor inicial de página con fondo oscuro y estilos de texto */

.c--hasiera {
  background-color: var(--color-beltza);
  width: 100vw;
  height: 100vh;
  position: relative;
  color: var(--color-zuria);
}
.c--hasiera__header {
  margin-bottom: 20vh;
}
.c--hasiera__header--second {
  width: 75vw;
  margin: 0 auto 10vh;
}
.c--hasiera__content {
  width: 30vw !important;
  margin: 0 auto;
}
@media (max-width: 699px) {
  .c--hasiera__content {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.c--hasiera__content--second {
  width: 40vw;
  margin: 0 auto;
}
@media (max-width: 699px) {
  .c--hasiera__content--second {
    margin-right: 30px;
    margin-left: 30px;
    width: calc(100% - 60px);
  }
}
.c--hasiera__content__text {
  margin-bottom: 16px;
  font-size: 2.4vh;
}
.c--hasiera__content__subtitle {
  font-family: "satoshi";
  font-size: 8vh;
  margin-top: 3vh;
}
@media (max-width: 699px) {
  .c--hasiera__content__subtitle {
    font-size: 4vh;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .c--hasiera__content__subtitle {
    font-size: 6vh;
  }
}
.c--hasiera__content__tagline {
  text-align: right;
  font-family: "satoshi";
  font-size: 24px;
}

.c-dupla-1 {
  position: absolute;
  top: 0;
  left: 40%;
  height: 50vh;
}
@media (max-width: 699px) {
  .c-dupla-1 {
    margin: 20px 0;
    position: static;
    width: 100vw;
    height: auto;
  }
}

.c-dupla-2 {
  position: absolute;
  top: 0;
}

@media (min-width: 768px) and (max-width: 1524px) {
  .c-dupla-2.--hoguera {
    height: 100vh;
  }
}

@media (max-width: 699px) {
  .c-dupla-2 {
    margin-bottom: 20px;
    position: static;
    width: 100vw;
    height: auto;
  }
}

.fade-in-delay {
  opacity: 0;
  transition: opacity 4s ease;
}

.in-view.fade-in-delay {
  opacity: 1;
  animation: fadeIn 4s ease forwards;
}

.c-dupla-1-c4 {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
}
@media (max-width: 699px) {
  .c-dupla-1-c4 {
    position: relative;
    height: auto;
  }
}

.c-dupla-2-c4 {
  position: absolute;
  top: 0;
  height: 60vh;
}
@media (max-width: 699px) {
  .c-dupla-2-c4 {
    height: auto;
  }
}

.c-dupla-1-salaketa {
  position: absolute;
  bottom: 0;
  left: 40%;
  height: 90vh;
  z-index: 10;
}
@media (max-width: 699px) {
  .c-dupla-1-salaketa {
    height: auto;
    position: relative;
    padding: 30px;
  }
}
.c-dupla-1-salaketa-txt {
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  background: -webkit-linear-gradient(var(--color-gorria), var(--color-beltza));
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  font-size: 12vw;
  padding-right: 10vw;
  mix-blend-mode: difference;
}

.c-dupla-2-salaketa {
  position: absolute;
  top: 0;
}
@media (max-width: 699px) {
  .c-dupla-2-salaketa {
    height: auto;
  }
}

/* --- NEXT CHAPTER SECTION (HURRENGO KAPITULUA) --- */
/* Estilos para la sección de 'siguiente capítulo' */

.c--hurrengo-kapitulua {
  min-width: 30vw;
  height: 100vh;
}
@media (max-width: 699px) {
  .c--hurrengo-kapitulua {
    height: 30vh;
  }
}
.c--hurrengo-kapitulua__content {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 5vh;
}

.c--hurrengo-kapitulua__content-sorgina {
  display: flex;
  flex-direction: column;
}

@media (max-width: 699px) {
  .c--hurrengo-kapitulua__content {
    height: 30vh;
    justify-content: flex-end;
  }
}
.c--hurrengo-kapitulua__content__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: "spectral";
  font-size: 5vh;
  color: var(--color-beltza);
  transition: transform 0.3s ease; /* Transición para el truco */
}

.c--hurrengo-kapitulua__content__link:hover {
  color: var(--color-beltza);
}

.c--hurrengo-kapitulua__content__link p {
  font-family: "spectral";
  font-size: 5vh;
  margin-right: 30px;
  transition: transform 0.3s ease, font-weight 0.3s ease;
}

.c--hurrengo-kapitulua__content__link p:hover {
  font-weight: 900;
  transform: scale(1.03);
}
.c--hurrengo-kapitulua__content__link span {
  font-family: "spectral";
  font-size: 7vh;
}
.c-fixed_wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--color-zuria);
}
@media (min-width: 1000px) {
  .c-fixed_wrapper {
    height: 100vh;
  }
}
@media (max-width: 999px) {
  .c-fixed_wrapper {
    height: 50vh;
  }
}
.c-fixed_target {
  position: absolute;
  top: -100vh;
  bottom: -100vh;
  right: 0;
  left: 0;
}
.c-fixed {
  position: absolute;
  top: -100vh;
  right: 0;
  left: 0;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0.75;
  mix-blend-mode: multiply;
}
html:not(.has-scroll-smooth) .c-fixed {
  top: 0;
}

/* --- HERO SECTION (INTRO) --- */
/* Configuración de la sección introductoria del héro */

.c-intro {
  display: flex;
}
@media (max-width: 699px) {
  .c-intro {
    display: block;
  }
}
/* Número de la introducción */
.c-intro__number {
  font-family: "spectral";
  font-size: 39px;
  line-height: 0.9;
  color: var(--color-gorria);
  margin-right: 20px;
}
@media (max-width: 699px) {
  .c-intro__number {
    font-size: 24px;
    margin-right: 0px;
    margin-bottom: 20px;
  }
}
/* Efecto al entrar en vista */
.c-intro.is-inview {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}
/* Introducción ampliada con padding */
.c-intro-handi {
  position: relative;
  width: 100vw;
  padding-left: 10vw;
  padding-right: 10vw;
}
@media (max-width: 699px) {
  .c-intro-handi {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* Título de la introducción */
.c-intro-handi__title {
  position: absolute;
  bottom: 10vh;
}
@media (max-width: 699px) {
  .c-intro-handi__title {
    position: relative;
    bottom: auto;
  }
}
/* Subtítulo de la introducción */
.c-intro-handi__subtitle {
  padding-left: 20vw;
  width: 50vw;
  white-space: wrap !important;
}
@media (max-width: 699px) {
  .c-intro-handi__subtitle {
    padding-left: 0px;
    width: 100vw;
  }
}
/* Contenido de la introducción */
.c-intro-handi__content {
  padding-left: 40vw;
  width: 80vw;
  white-space: wrap !important;
}
@media (max-width: 699px) {
  .c-intro-handi__content {
    padding-left: 0px;
    width: 100vw;
  }
}

/* ------------------- SECTION POSITIONING ------------------- */
/* Posicionamiento de las secciones */

.c-section-a {
  position: absolute;
  top: 0;
  right: 0;
}
.c-section-b {
  margin-top: 20vh;
}

/* ------------------- SPEED BLOCK ------------------- */
/* Estilos de los bloques de velocidad */

.c-speed-block {
  position: relative;
}
@media (min-width: 1000px) {
  .c-speed-block.-margin {
    margin-top: 6.6666666667rem;
  }
}
@media (max-width: 999px) {
  .c-speed-block {
    margin: 1.6666666667rem 0;
  }
}
@media (max-width: 699px) {
  .c-speed-block {
    margin: 15px 0;
  }
}

/* Imagen dentro del bloque de velocidad */

.c-speed-block_image {
  margin-top: -30px;
  margin-bottom: -30px;
}
/* Título del bloque de velocidad */
.c-speed-block_title {
  font-size: 1.3333333333rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-zuria);
  text-align: center;
  position: absolute;
  bottom: 3.3333333333rem;
  right: 0;
  left: 0;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c-speed-block_title.is-inview {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}
@media (max-width: 1199px) {
  .c-speed-block_title {
    display: none;
  }
}

/* Burbuja de texto en el bloque de velocidad */
.c-speed-block_bubble {
  position: absolute;
  right: 20px;
  top: 30%;
  z-index: 1;
  color: var(--color-zuria);
  padding: 1.3333333333rem 2.2222222222rem;
  font-size: 1.1111111111rem;
}
/* Posicionamiento personalizado de la burbuja */
.c-speed-block_bubble.-right {
  right: -30px;
}
.c-speed-block_bubble.-left {
  right: auto;
  left: -30px;
}
.c-speed-block_bubble.-top {
  top: -20%;
}
.c-speed-block_bubble.-bottom {
  top: auto;
  bottom: 0;
}
/* Animación de entrada de la burbuja */
.c-speed-block_bubble::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
  background-color: var(--color-beltza);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.17, 0.67, 0.3, 1.33);
}
.c-speed-block_bubble.is-inview::before {
  transform: scale(1);
  transition-delay: 0.3s;
}
@media (max-width: 1199px) {
  .c-speed-block_bubble {
    display: none;
  }
}

/* ------------------- DIRECTION BLOCK ------------------- */
/* Estilos para el bloque de direcciones */

.c-direction-block_wrapper {
  margin-bottom: 27.7777777778rem;
}
@media (min-width: 1200px) {
  .c-direction-block_wrapper {
    min-height: 180vh;
  }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .c-direction-block_wrapper {
    min-height: 130vh;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  .c-direction-block_wrapper {
    min-height: 100vh;
  }
}
@media (max-width: 699px) {
  .c-direction-block_wrapper {
    min-height: 70vh;
  }
}
@media (min-width: 1000px) {
  .c-direction-block_wrapper {
    margin-top: -35vh;
  }
}

/* Posicionamiento del bloque de direcciones */
.c-direction-block {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
}
@media (min-width: 1200px) {
  .c-direction-block {
    top: -50vh;
    bottom: -50vh;
  }
}
@media (min-width: 700px) and (max-width: 1199px) {
  .c-direction-block {
    top: -30vh;
    bottom: -50vh;
  }
}
@media (max-width: 699px) {
  .c-direction-block {
    top: -15vh;
    bottom: 0;
  }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .c-direction-block {
    margin-top: 5.5555555556rem;
  }
}
@media (min-width: 1200px) {
  .c-direction-block {
    margin-top: 16.6666666667rem;
  }
}
/* Elemento dentro del bloque de direcciones */
.c-direction-block_item {
  position: absolute;
  font-size: 10vw;
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}
.c-direction-block_item span {
  display: block;
  background-color: var(--color-zuria);
  white-space: nowrap;
  padding: 0 20px;
}
/* Posicionamiento y rotación personalizada para cada elemento */
.c-direction-block_item.-one {
  top: 33%;
  transform: translateX(-50vw) rotate(26deg);
}
.c-direction-block_item.-two {
  top: 45%;
}
.c-direction-block_item.-three {
  top: 55%;
  transform: rotate(9deg);
}
.c-direction-block_item.-four {
  top: 68%;
  transform: translateX(-50vw) rotate(-19deg);
}
.c-direction-block_item.-five {
  top: 63%;
  transform: translateX(-10vw) rotate(3deg);
}

/* ------------------- LERP BLOCK ------------------- */
/* Estilos para los bloques de interpolación de contenido */

.c-lerp-block {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8.8888888889rem;
}
@media (min-width: 1000px) {
  .c-lerp-block:not(:first-child) {
    margin-top: 3.3333333333rem;
  }
}
@media (max-width: 999px) {
  .c-lerp-block {
    margin-top: 1.6666666667rem;
  }
}
/* Índice de los bloques de interpolación */

.c-lerp-block_index {
  vertical-align: middle;
  color: var(--color-zuria);
  width: 3.3333333333rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1111111111rem;
  position: relative;
  z-index: 1;
}
/* Efecto animado de aparición del índice */
.c-lerp-block_index::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
  background-color: var(--color-beltza);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.17, 0.67, 0.3, 1.33);
}
.c-lerp-block_index.is-inview::before {
  transform: scale(1);
  transition-delay: 0.3s;
}

/* Título de los bloques de interpolación */
.c-lerp-block_title {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  margin-left: 1.1111111111rem;
  line-height: 1.2;
}
@media (max-width: 699px) {
  .c-lerp-block_title {
    font-size: 36px;
    margin-left: 1em;
  }
}
/* Animación de entrada del título al estar en vista */
.c-lerp-block_title.is-inview > span:not([data-scroll]) {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}
/* Estilo de las palabras dentro del título */
.c-lerp-block_title > span:not([data-scroll]) {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* Tamaño adaptable del título en diferentes pantallas */
.c-lerp-block_title span {
  display: inline-block;
  min-width: 0.3em;
}
@media (max-width: 699px) {
  .c-lerp-block_title span {
    font-size: 1.3888888889rem;
  }
}
@media (min-width: 700px) {
  .c-lerp-block_title span {
    font-size: 3.8888888889rem;
  }

  .c-lerp-block_title span.final {
    font-size: inherit;
  }
}

/* ------------------- HERO SECTION SARRERA ------------------- */
/* Configuración de la primera sección de héroe */

.c--hero-sarrera {
  position: relative;
  width: 100vw;
  padding-top: 38vh;
}
@media (max-width: 699px) {
  .c--hero-sarrera {
    /*height: 100vh;*/
    padding-top: 35vh;
  }
}
/* Título dentro de la sección hero-a */
.c--hero-sarrera__title {
  position: relative;
  text-align: center;
  z-index: 1;
  font-family: "spectral" !important;
  color: white;
}
.c--hero-sarrera__title p {
  font-family: "spectral" !important;
}
@media (max-width: 699px) {
  .c--hero-sarrera__title .o-h1 {
    font-size: 20vw;
    color: #000;
  }
}

/* Contenedor de medios en hero-a */

.c--hero-sarrera__media-wrapper {
  position: absolute;
  left: calc(50% - 25vw);
  top: 22vh;
  width: 50vw;
  z-index: 0;
}

@media (max-width: 699px) {
  .c--hero-sarrera__media-wrapper {
    position: absolute;
    left: 0;
    top: 8vh;
    width: 100vw;
    z-index: 0;
  }
}

.c--hero-sarrera__media-wrapper__media {
  opacity: 0.9;
  z-index: 0;
}
.c--hero-sarrera__media-wrapper__media img {
  width: 100%;
  opacity: 0;
  transform: scale(1.4);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c--hero-sarrera__media-wrapper__media.is-inview img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

/* ------------------- HERO SECTION KAPITULO ------------------- */
/* Configuración de la sección de héroe para portada de capitulos*/

.c--hero-kapitulo {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: rgba(19, 19, 19, 0.2);
}
@media (max-width: 699px) {
  .c--hero-kapitulo {
    height: auto;
  }
}
.c--hero-kapitulo__title {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  color: var(--color-zuria);
  font-size: 5vw;
}
.c--hero-kapitulo__title i {
  font-weight: 800;
}
.c--hero-kapitulo__subtitle {
  position: absolute;
  top: 55%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  font-family: "Satoshi-Variable";
  font-size: 2vw;
  font-weight: 600 !important;
  color: var(--color-gorria);
}
.c--hero-kapitulo__media-wrapper {
  margin: 0 !important;
  height: auto !important;
  z-index: 0;
}
@media (max-width: 699px) {
  .c--hero-kapitulo__media-wrapper {
    position: relative;
  }
}
.c--hero-kapitulo__media-wrapper__media {
  opacity: 1;
  z-index: 0;
  width: 100%;
}
.c--hero-kapitulo__media-wrapper__media img {
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  transform: scale(1.4);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
@media (max-width: 699px) {
  .c--hero-kapitulo__media-wrapper__media img {
    min-height: auto;
  }
}
.c--hero-kapitulo__media-wrapper__media.is-inview img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.75s;
}
.c--hero-kapitulo--first {
  background-color: var(--color-beltza);
}

@media (max-width: 699px) {
  .c--hero-kapitulo--first {
    top: 8vh;
  }
  .c--hero-kapitulo--first + section {
    /* Estilos para el siguiente <section> */
    margin-top: 12vh;
  }
}

.c--hero-kapitulo--first .c--hero-kapitulo__media-wrapper__media {
  opacity: 0.75 !important;
}

/* ------------------- HERO SECTION BELTZA ------------------- */
/* Configuración de la tercera sección con fondo negro (negro == beltza) */

.c--hero-beltza {
  position: relative;
  height: 100vh;
  display: inline-flex !important;
  background: linear-gradient(
    to right,
    var(--color-beltza),
    var(--color-beltza) 70%,
    #0c1112 90%,
    #0c1112
  );
  padding: 32px 0;
  padding-right: 5vw;
  overflow: hidden; /* Asegura que el pseudo-elemento no se salga */
}

.c--hero-beltza::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/calavera.png") no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.c--hero-beltza--mitologia::before {
  background: url("../images/fondo-mitologia.png") no-repeat center center;
}

.c--hero-beltza--intro::before {
  background: url("../images/fondo-sorgina.png") no-repeat center center;
}

.c--hero-beltza--inquisicion::before {
  background: url("../images/fondo-inquisicion.png") no-repeat center center;
}

.c--hero-beltza--antorcha::before {
  background: url("../images/fondo-antorcha.png") no-repeat center center;
}

.c--hero-beltza--cap-5::before {
  background: url("../images/fondo-cap5.png") no-repeat center center;
}

.c--hero-beltza > * {
  position: relative;
  z-index: 1; /* Eleva el contenido por encima de la imagen */
}
@media (max-width: 699px) {
  .c--hero-beltza {
    display: block !important;
    height: auto;
    background: linear-gradient(
      to bottom,
      var(--color-beltza),
      var(--color-beltza) 60%,
      #0c1112 90%,
      #0c1112
    );
    width: 100vw;
    padding-right: 0vw;
  }
}
.c--hero-beltza__title {
  display: block;
  position: relative;
  height: 100%;
}
@media (max-width: 699px) {
  .c--hero-beltza__title {
    padding-top: 100px;
    height: auto;
  }
}

.c--hero-beltza__title__kapitulua {
  width: 100vw;
  text-align: center;
  font-size: 20px;
  font-family: "spectral";
  color: var(--color-zuria);
  position: relative;
  z-index: 5;
}
.c--hero-beltza__title__gorria {
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  text-align: right;
  background: -webkit-linear-gradient(var(--color-gorria), var(--color-beltza));
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  font-size: 12vw;
  padding-right: 10vw;
}

.c--hero-beltza--first {
  margin-left: -5px;
}
@media (max-width: 699px) {
  .c--hero-beltza--first {
    margin-left: 0px;
  }
}

/*MP3 AKELARRE*/
#akelarre {
  transition: transform 0.1s;
}

#akelarre:hover {
  cursor: url("../images/capitulo-02/akelarre-pointer.png"), auto;
  animation: vibrate 1s infinite;
  transform: scale(1.2);
}

@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  10% {
    transform: translate(-1px, 1px);
  }
  20% {
    transform: translate(1px, -1px);
  }
  30% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  50% {
    transform: translate(-3px, 3px);
  }
  60% {
    transform: translate(3px, -3px);
  }
  70% {
    transform: translate(-4px, 4px);
  }
  80% {
    transform: translate(4px, -4px);
  }
  90% {
    transform: translate(-5px, 5px);
  }
  100% {
    transform: translate(0);
  }
}

/*  KAPUTXAK  */

/* ------------------- COLUMN WIDTH CLASSES ------------------- */
/* Clases para establecer el ancho de columnas en diferentes fracciones */

.u-1\/1 {
  width: 100% !important; /* Columna completa */
}
.u-1\/2 {
  width: 50% !important; /* Media columna */
}
.u-2\/2 {
  width: 100% !important; /* Columna completa */
}
.u-1\/3 {
  width: 33.3333333333% !important; /* Un tercio de columna */
}
.u-2\/3 {
  width: 66.6666666667% !important; /* Dos tercios de columna */
}
.u-3\/3 {
  width: 100% !important; /* Columna completa */
}
.u-1\/4 {
  width: 25% !important; /* Un cuarto de columna */
}
.u-2\/4 {
  width: 50% !important; /* Media columna */
}
.u-3\/4 {
  width: 75% !important; /* Tres cuartos de columna */
}
.u-4\/4 {
  width: 100% !important; /* Columna completa */
}
.u-1\/5 {
  width: 20% !important; /* Un quinto de columna */
}
.u-2\/5 {
  width: 40% !important; /* Dos quintos de columna */
}
.u-3\/5 {
  width: 60% !important; /* Tres quintos de columna */
}
.u-4\/5 {
  width: 80% !important; /* Cuatro quintos de columna */
}
.u-5\/5 {
  width: 100% !important; /* Columna completa */
}
/* Ajustes de columna en pantallas más grandes */
@media (min-width: 700px) {
  .u-1\/2\@from-small {
    width: 50%;
  }
}
@media (min-width: 1000px) {
  .u-1\/3\@from-medium {
    width: 33.3333333333%;
  }
}
@media (min-width: 1000px) {
  .u-1\/2\@from-medium {
    width: 50%;
  }
}
@media (min-width: 1000px) {
  .u-2\/5\@from-medium {
    width: 40%;
  }
}
@media (min-width: 1000px) {
  .u-3\/5\@from-medium {
    width: 60%;
  }
}

/* ------------------- FLOAT UTILITIES ------------------- */
/* Clases de flotación para alineación a izquierda o derecha */

.u-float-left {
  float: left !important;
}
.u-float-right {
  float: right !important;
}

/* ------------------- TEXT ALIGNMENT ------------------- */
/* Clases de alineación de texto */

.u-text-center {
  text-align: center !important;
}
.u-text-left {
  text-align: left !important;
}
.u-text-right {
  text-align: right !important;
}

/* ------------------- VERTICAL ALIGNMENT ------------------- */
/* Clases de alineación vertical */

.u-align-baseline {
  vertical-align: baseline !important;
}
.u-align-bottom {
  vertical-align: bottom !important;
}
.u-align-middle {
  vertical-align: middle !important;
}
.u-align-top {
  vertical-align: top !important;
}

/* ------------------- VERTICAL CENTER ------------------- */
/* Centrado vertical usando pseudo-elementos */

.u-vertical-center {
  font-size: 0;
}
.u-vertical-center::before {
  display: inline-block;
  height: 100%;
  content: "";
  vertical-align: middle;
}
.u-vertical-center > * {
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
}
.u-white {
  color: var(--color-zuria);
}
.u-label {
  font-size: 1.3333333333rem;
  text-transform: uppercase;
  font-weight: 600;
}
.u-icon {
  font-family: "Lucida Grande";
  font-size: 1rem;
}
.u-text {
  font-size: 0.7777777778rem;
}
.u-clearfix::after {
  display: block;
  clear: both;
  content: "";
}
.u-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  max-width: 100%;
}
[hidden][aria-hidden="false"] {
  position: absolute;
  display: inherit;
  clip: rect(0, 0, 0, 0);
}
[hidden][aria-hidden="false"]:focus {
  clip: auto;
}
.u-screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}
@media not print {
  .u-screen-reader-text\@screen {
    position: absolute !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    margin: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    border: 0;
  }
}
.u-screen-reader-text.-focusable:focus,
.u-screen-reader-text.-focusable:active {
  clip: auto;
  width: auto;
  height: auto;
} /*# sourceMappingURL=main.css.map */

/* --------------------------    ANIMACIONES     ----------------------------- */
/* --------------------------------------------------------------------------- */
/* ------------- a partir de aquí todo lo relacionado con efectos ------------ */

/* SUA */

h1.sua {
  font-size: 3em;
  text-align: center;
  line-height: 1.4em;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

span.sua {
  color: #000;
  font-family: "spectral";
  font-size: 5em;
  text-transform: lowercase;
  vertical-align: middle;
  letter-spacing: 0.2em;
}

.fire {
  animation: animation 1s ease-in-out infinite alternate;
  -moz-animation: animation 1s ease-in-out infinite alternate;
  -webkit-animation: animation 1s ease-in-out infinite alternate;
  -o-animation: animation 1s ease-in-out infinite alternate;
}

.burn {
  animation: animation 0.65s ease-in-out infinite alternate;
  -moz-animation: animation 0.65s ease-in-out infinite alternate;
  -webkit-animation: animation 0.65s ease-in-out infinite alternate;
  -o-animation: animation 0.65s ease-in-out infinite alternate;
}

@media (max-width: 699px) {
  #sua {
    display: flex;
    flex-direction: column;
  }

  h1.sua {
    font-size: 1em;
    text-align: center;
    line-height: 1.4em;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    white-space: nowrap;
  }
  span.sua {
    color: #000;
    font-family: "spectral";
    font-size: 4em;
    text-transform: lowercase;
    vertical-align: middle;
    letter-spacing: 0;
  }
}

@keyframes animation {
  0% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
      -20px -20px 40px #ffae34, 20px -40px 50px #ec760c,
      -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
  }
  100% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9,
      -20px -20px 40px #feec85, 22px -42px 60px #ffae34,
      -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
  }
}

@-moz-keyframes animation {
  0% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
      -20px -20px 40px #ffae34, 20px -40px 50px #ec760c,
      -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
  }
  100% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9,
      -20px -20px 40px #feec85, 22px -42px 60px #ffae34,
      -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
  }
}

@-webkit-keyframes animation {
  0% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
      -20px -20px 40px #ffae34, 20px -40px 50px #ec760c,
      -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
  }
  100% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9,
      -20px -20px 40px #feec85, 22px -42px 60px #ffae34,
      -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
  }
}

@-o-keyframes animation {
  0% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
      -20px -20px 40px #ffae34, 20px -40px 50px #ec760c,
      -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
  }
  100% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9,
      -20px -20px 40px #feec85, 22px -42px 60px #ffae34,
      -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
  }
}

/* --------------- witch --------------- */

.bounce-animation {
  animation: bounce 1s ease-in 0.5 forwards;
}

.witch-shoe-back {
  animation-name: bounce-leg;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  animation-delay: 0.6s;
}
.witch-hat {
  animation-name: hat-animation;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  animation-delay: 0.6s;
}
.witch-hair {
  animation-name: wavy-hair;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  animation-delay: -0.5s;
}
.witch-shoe-front {
  animation-name: bounce-leg;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  animation-delay: -0.5s;
}
@keyframes wavy-hair {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes hat-animation {
  0%,
  100% {
    transform: rotate(0deg) translate(0, 0);
    transform-origin: 0% 0%;
  }
  50% {
    transform: rotate(-1deg) translate(1px, -2px);
    transform-origin: 100% 100%;
  }
}

@keyframes bounce-leg {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: translate(0%);
  }
  5% {
    opacity: 1;
    transform: translate(0%);
  }
  10% {
    transform: rotate(0deg);
  }
  20%,
  40% {
    transform: rotate(15deg);
  }
  50%,
  100% {
    transform: translate(300%);
  }
}

/* --------------- witch-end --------------- */

canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
@media (max-width: 699px) {
  canvas {
    visibility: hidden;
  }
}

/*---------    BEGIAK    ------------------*/

.eye {
  --pupil-x: 0;
  --pupil-y: 0;
  --color-whites: var(--fg, #fff);
  --color-lid: var(--bg, #fff);
  --color-pupil: var(--bg, #31595a);
  --color-glint: var(--fg, #fff);
  --scale: 0.75;
  max-width: 30%;
  max-height: 5vh;
  fill: none;
  transform: scale(var(--scale));
}

@media (max-width: 699px) {
  .eye {
    max-height: 2vh;
  }
}

.lids {
  stroke: #00000014;
  stroke-width: 1%;
}
.whites {
  fill: var(--color-whites);
}
.pupil {
  fill: var(--color-pupil);
  cx: 500px;
  cy: 500px;
}
.glint {
  fill: var(--color-glint);
}
.pupil-group {
  transform: translate(calc(var(--pupil-x) * 1px), calc(var(--pupil-y) * 1px));
}

#base-eye {
  display: none;
}
#grid {
  --num-columns: 2;
  --num-rows: 1;
  display: grid;
  grid-template-columns: repeat(var(--num-columns), 1fr);
  grid-template-rows: repeat(var(--num-rows), 1fr);
  gap: 10% 0%;
  justify-items: center;
  align-content: stretch;
  justify-content: end;
  align-items: end;
}

/* Efecto 3d imagenes  */

.card {
  width: 100%;
  height: var(--card-height);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 2500px;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrapper {
  transition: all 0.5s;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.card:hover .wrapper {
  transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
  box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
}

.wrapper::before,
.wrapper::after {
  content: "";
  opacity: 0;
  width: 100%;
  height: 80px;
  transition: all 0.5s;
  position: absolute;
  left: 0;
}
.wrapper::before {
  top: 0;
  height: 100%;
  background-image: linear-gradient(
    to top,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}
.wrapper::after {
  bottom: 0;
  opacity: 1;
  background-image: linear-gradient(
    to bottom,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}

.card:hover .wrapper::before,
.wrapper::after {
  opacity: 1;
}

.card:hover .wrapper::after {
  height: 120px;
}
.title {
  width: 100%;
  transition: transform 0.5s;
}
.card:hover .title {
  transform: translate3d(0%, -50px, 100px);
}

.character {
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  z-index: -1;
}

.card:hover .character {
  opacity: 1;
  transform: translate3d(0%, -30%, 100px);
}

/*   Cubo   */

.scene {
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: rotate 20s infinite linear;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
/*
.front {
  transform: rotateY(0deg) translateZ(150px);
  background-image: url("https://cdn.midjourney.com/1a2c3002-4a65-4921-9255-3780e47eeec5/0_0.png");
}
.right {
  transform: rotateY(90deg) translateZ(150px);
  background-image: url("https://cdn.midjourney.com/aac3d8e6-dffd-4265-97f4-b4f3e2b64c72/0_0.png");
}
.back {
  transform: rotateY(180deg) translateZ(150px);
  background-image: url("https://cdn.midjourney.com/72117e0c-4b92-45dd-8928-32a1b80b217a/0_1.png");
}
.left {
  transform: rotateY(-90deg) translateZ(150px);
  background-image: url("https://cdn.midjourney.com/538ad515-7e3b-43df-a4c8-5ae428275c6e/0_0.png");
}
.top {
  transform: rotateX(90deg) translateZ(150px);
  background-image: url("https://cdn.midjourney.com/a899d3fe-85a2-4291-bc1c-d1524ef1c6f4/0_0.png");
}
.bottom {
  transform: rotateX(-90deg) translateZ(150px);
  background-image: url("https://cdn.midjourney.com/899029ab-8701-4e42-9bd8-311d51f279ff/0_1.png");
}*/

.front {
  transform: rotateY(0deg) translateZ(150px);
  background-image: url("../images/capitulo-05/tortura-01.png");
}
.right {
  transform: rotateY(90deg) translateZ(150px);
  background-image: url("../images/capitulo-05/tortura-02.png");
}
.back {
  transform: rotateY(180deg) translateZ(150px);
  background-image: url("../images/capitulo-05/tortura-03.png");
}
.left {
  transform: rotateY(-90deg) translateZ(150px);
  background-image: url("../images/capitulo-05/tortura-04.png");
}
.top {
  transform: rotateX(90deg) translateZ(150px);
  background-image: url("../images/capitulo-05/tortura-05.png");
}
.bottom {
  transform: rotateX(-90deg) translateZ(150px);
  background-image: url("../images/capitulo-05/tortura-06.png");
}

@media (max-width: 699px) {
  .scene {
    margin: 90px;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
  }

  .front {
    transform: rotateY(0deg) translateZ(100px);
  }
  .right {
    transform: rotateY(90deg) translateZ(100px);
  }
  .back {
    transform: rotateY(180deg) translateZ(100px);
  }
  .left {
    transform: rotateY(-90deg) translateZ(100px);
  }
  .top {
    transform: rotateX(90deg) translateZ(100px);
  }
  .bottom {
    transform: rotateX(-90deg) translateZ(100px);
  }
}

@keyframes rotate {
  0% {
    transform: rotateX(0) rotateY(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/*   mitologia   */

/*vertical*/

/* Estilo para la barra de desplazamiento horizontal de la sección específica */
#vertical-section::-webkit-scrollbar {
  height: 10px; /* Altura de la barra de desplazamiento */
}

#vertical-section::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color de fondo de la pista */
}

#vertical-section::-webkit-scrollbar-thumb {
  background: #888; /* Color del "thumb" o la parte que se mueve */
  border-radius: 5px; /* Bordes redondeados */
}

#vertical-section::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color del "thumb" al pasar el ratón por encima */
}

/* Para Firefox */
#vertical-section {
  scrollbar-width: thin; /* Ancho de la barra de desplazamiento */
  scrollbar-color: #131313 #f1f1f1; /* Color del "thumb" y de la pista */
}

.vertical-scroll-section {
  overflow: auto;
  overflow-x: hidden;
  margin-left: -4;
}

.vertical-scroll-section.half-width {
  width: 50vw;
  padding: 0em 3em;
  background-color: var(--color-beltza);
  color: var(--color-zuria);
}

@media (max-width: 699px) {
  .vertical-scroll-section.half-width {
    width: 100vw;
    padding: 0;
  }
}

.vertical-scroll-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  background: #191814;
  height: 100vh;
}

.mito-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.mito-item {
  width: 70%;
  max-height: 500px;
  margin: 40px;
  display: block;
  position: relative;
}

.mito-thumb,
.mito-overlay {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.mito-thumb {
  max-height: 350px;
  margin-bottom: 30px;
}

@media (max-width: 699px) {
  .mito-item {
    width: 80%;
  }
  .mito-thumb img {
    width: 100%; /* Asegura que la imagen se ajuste al ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
  }
}

.mito-overlay {
  position: absolute;
  top: -75px;
  left: 0;
  height: 500px;
  background: radial-gradient(
    circle at 50%,
    #fff 9%,
    rgba(255, 255, 255, 0.25) 48%,
    rgba(255, 255, 255, 0) 74%
  );
  opacity: 0;
  mix-blend-mode: overlay;
}

.mito-item-info {
  opacity: 0.2;
  letter-spacing: 0.2px;
  word-wrap: break-word; /* Permite que las palabras largas se dividan y se ajusten al contenedor */
  white-space: normal; /* Permite que el texto se ajuste automáticamente al ancho del contenedor */
  overflow-wrap: break-word;
}

.mito-thumb,
.mito-txt {
  pointer-events: none;
}

.mito-hit {
  background: rgba(0, 0, 0, 0);
  width: 540px;
  height: 440px;
  position: absolute;
  top: -20px;
  left: -20px;
}

/*   EFECTO PERSIANA  */

.veredicto {
  display: inline-block;
  width: 100%;
  height: 800px;
  box-sizing: border-box;
  margin-top: 40px;
  position: relative;
}

.ejecucion {
  display: inline-block;
  width: 100%;
  height: 800px;
  box-sizing: border-box;
  margin-top: 40px;
  position: relative;
}

.column,
.blind,
.blindImg {
  position: absolute;
  top: 0;
  height: 100%;
  box-sizing: border-box;
}

.blind {
  overflow: hidden;
}

.blindImg {
  width: 100%;
  background-size: cover;
}

@media (max-width: 699px) {
  .veredicto {
    width: 100%; /* Ajusta el ancho al 100% */
    max-height: 200px; /* Permite que la altura se ajuste automáticamente */
  }
  .ejecucion {
    width: 100%; /* Ajusta el ancho al 100% */
    max-height: 200px; /* Permite que la altura se ajuste automáticamente */
  }
}

/*   ESTELA IMAGEN  */

.collage_container {
  display: inline-block;
  width: 800px;
  height: 500px;
  position: relative;
  margin-top: 100px;
}

@media (max-width: 699px) {
  .collage_container {
    display: none !important;
  }

  .collage_container--resonsive {
    background: url(../images/calavera.png) no-repeat center center;
    background-size: contain;
    width: 100vw;
  }
}

.collage_piece {
  overflow: hidden;
  position: absolute;
  box-sizing: border-box;
  background-repeat: no-repeat;
}

.level_1 {
  z-index: 1;
  -webkit-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.55);
  -moz-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.55);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.55);
}
.level_2 {
  z-index: 2;
  -webkit-box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, 0.24);
}

.link {
  color: grey;
  display: inline-block;
  position: absolute;
  bottom: 30px;
  right: 30px;
  text-decoration: none;
}

/* EFECTO DESCONCERTADA */

.tileContainer {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 768px;
  overflow: hidden;
  box-sizing: border-box;
}

.tile {
  position: relative;
  vertical-align: top;
  display: inline-block;
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.tile:after {
  content: "";
  background-color: #cc1c32;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 100%;
  right: 0px;
  transform: translate(50%, -50%);
  z-index: 2;
  line-height: 1;
}

/*-- no grid --*/

.noGrid .tile {
  border-right: 0px solid rgba(0, 0, 0, 0.5);
  border-bottom: 0px solid rgba(0, 0, 0, 0.5);
}

.noGrid .tile:after {
  content: none;
}

@media (max-width: 699px) {
  .tileContainer {
    height: 300px;
  }
}
