* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-principal: #fd7e14;
  --color-secundario: #e85c0d;
}

::selection {
  background: var(--color-secundario);
  color: black;
  text-shadow: none;
}

::-moz-selection {
  background: var(--color-secundario);
  color: black;
  text-shadow: none;
}

/* width */

::-webkit-scrollbar {
  width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px transparent;
  border-radius: 10px;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: grey;
  border-radius: 10px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  /*background: #b30000;*/
  cursor: grab;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color-scheme: dark;
  padding: 10px;
  scroll-behavior: smooth;
}

html, body {
  min-width: 350px;
}

strong {
  color: #e2bf37;
}

#fondo-negro {
  width: 100%;
  height: 330px;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  mask-image: linear-gradient(black 80%, transparent);
}

#banner {
  width: 100%;
  height: 330px;
  background-image: url("banner.webp;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  mask-image: linear-gradient(black 70%, transparent);
}

.titulo-seccion {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
  border-bottom: 4px solid var(--color-principal);
  border-radius: 2px;
  text-wrap: balance;
}

footer {
  width: 350px;
  margin: auto;
  padding-bottom: 10px;
  display: flex;
  gap: 15px;
  list-style: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

footer h3 {
  letter-spacing: 1px;
  text-align: center;
}

footer ul:nth-child(2) {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  list-style: none;
}

footer ul:nth-child(2) li {
  text-align: center;
}

footer ul:nth-child(2) li svg {
  width: 35px;
  height: 35px;
}

footer ul:nth-child(2) li svg:hover {
  transform: scale(1.1);
}

footer ul:nth-child(3) {
  flex: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

footer ul:nth-child(3) li {
  text-align: center;
  flex: 1;
}

/* ---- CABECERA ---- */

body header {
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

body header section {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

header h1 {
  font-size: 50px;
  text-align: center;
  padding-inline: 4px;
  margin-bottom: 25px;
  color: var(--color-principal);
  text-wrap: balance;
}

body header aside {
  width: 0px;
  transition: all 0.8s;
}

body header aside, #btn-menu-movil {
  display: none;
}

#btn-menu-movil {
  background-color: transparent;
  border: 0;
}

.menu-scroll {
  position: fixed !important;
  top: 10px;
  z-index: 1;
  transition: all 0.9s;
  background-color: #121212;
  border-radius: 10px;
  padding: 10px;
}

#menu-principal ul {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 5px;
  list-style: none;
}

#menu-principal ul li {
  font-size: 22px;
  padding: 5px;
  font-weight: 500;
}

#menu-principal ul li a {
  color: white;
  text-decoration: none;
}

#menu-principal ul li a:hover + .linea-enlaces {
  width: 100%;
}

.linea-enlaces {
  width: 0px;
  height: 5px;
  background-color: var(--color-principal);
  border-radius: 10px;
  transition: width 1s;
  margin-top: 3px;
}

.linea-enlaces.enlace-seleccionado {
  width: 100%;
}

/* ---- SECCIÓN VÍDEO ---- */

#video {
  height: 60vh;
  margin-top: 20px;
}

#video iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  mask-image: linear-gradient(black 95%, transparent);
}

/* ---- SECCIÓN INFORMACIÓN ENTRADAS ---- */

#informacion-entradas {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-block: 50px;
}

#informacion-entradas p {
  width: 85%;
  font-size: 17px;
  font-weight: 400;
  line-height: 26px;
  text-align: justify;
}

#informacion-entradas p:nth-child(2) {
  margin-bottom: 25px;
}

/* ---- SECCIÓN CALENDARIO ---- */

#calendario {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-block: 50px;
}

#calendario section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
}

#calendario section article {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  object-fit: cover;
}

#calendario section article:nth-child(1) {
  max-width: 290px;
}

#calendario section article h4 {
  font-size: 18px;
  text-align: center;
  border: 2px solid var(--color-principal);
  padding: 10px;
  border-radius: 5px;
  text-wrap: balance;
  margin-top: 10px;
  margin-bottom: 20px;
}

#calendario section article > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 15px;
}

.evento {
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.evento img {
  border-radius: 5px;
  transition: all 0.5s;
}

.evento:hover img {
  transform: scale(1.1);
}

.evento ul {
  width: 80%;
  padding-inline: 10px;
  list-style: none;
}

.evento ul li {
  text-align: center;
  text-wrap: balance;
}

.evento ul li:nth-child(1) {
  margin-bottom: 5px;
}

.evento ul li:nth-child(1) {
  font-size: 17px;
}

/* ---- SECCIÃ“N PROTAGONISTAS ---- */

#protagonistas {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-block: 50px;
}

#protagonistas section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  margin-top: 20px;
}

#protagonistas section article {
  width: 280px;
  object-fit: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

#protagonistas section article:hover > img {
  transform: scale(1.1);
}

#protagonistas section article img {
  width: 100%;
  height: 200px;
  border-radius: 5px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: all 0.4s;
}

#protagonistas section article h3 {
  font-size: 18px;
  text-align: center;
  margin-block: 10px;
  letter-spacing: 1.5px;
  color: var(--color-principal);
  text-transform: capitalize;
  text-wrap: balance;
}

.texto-cortado {
  font-size: 17px;
  margin-top: 10px;
  text-align: left;
  line-height: 25px;
  text-wrap: balance;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  mask-image: linear-gradient(black 75%, transparent);
}

.texto-alargado {
  font-size: 17px;
  margin-top: 10px;
  line-height: 25px;
  text-wrap: balance;
  display: -webkit-box;
  overflow-y: scroll;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  padding-inline: 1.1px;
}

#protagonistas section article p {
  transition: all 0.8s;
}

.btn-leer-mas {
  padding: 10px;
  background-color: transparent;
  border: 1px solid var(--color-principal);
  font-size: 15px;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  margin: 20px auto 0 auto;
  transition: all 0.4s;
}

.btn-leer-mas:hover {
  transform: scale(1.1);
  color: var(--color-principal);
}

/* ---- SECCIÃ“N CÃ“MO LLEGAR ---- */

#como-llegar {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-block: 50px;
  padding-inline: 10px;
}

#como-llegar h3 {
  text-align: center;
  margin-bottom: 30px;
}

#como-llegar iframe {
  border-radius: 10px;
}

/* ---- SECCIÃ“N CONTACTO ---- */

#contacto {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-block: 50px;
}

#contacto ul {
  list-style: none;
}

#contacto ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

#contacto ul li p {
  margin: 10px 0 0 10px;
  font-size: 16px;
}

#contacto ul li p a {
  color: var(--color-principal);
  font-weight: 700;
  text-decoration: none;
}

#contacto ul li p a:hover {
  text-decoration: underline;
}

/* ---- SECCIÃ“N SOBRE LA TORRE ---- */

#sobre-la-torre {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-block: 50px;
}

#sobre-la-torre h2 {
  margin-bottom: 20px;
}

#sobre-la-torre section {
  width: 90%;
}

#sobre-la-torre section p {
  font-size: 18px;
  text-align: left;
  margin-block: 15px;
  line-height: 25px;
}

