body {
  margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: black;
  color: white;
}

.navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 55px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  border-bottom: 3px solid #f7d000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-links a {
  color: white;
  padding: 18px 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

.nav-links a:hover {
  background: #f7d000;
  color: black;
}

.nav-logo {
    position: absolute;
    left: 20px; /* Lo separa del borde izquierdo */
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px; /* Ajusta este tamaño según tu imagen */
    width: auto;
    transition: transform 0.3s;
}

.body-web {
  background: #f7d000;
  display: flex;
  justify-content: center;
}

.flex-body {
  justify-content: center;
  width: 80%;
}

.flex-body h2 {
  margin-top: 30px;
  text-align: center;
  background-color: black;
}

.video-container {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  margin-top: 50px;
}

.video-bg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: 0px;
  pointer-events: none;
  object-fit: cover;
}

.intro {
  background-color: black;
  color: white;
  padding: 40px 40px;
  text-align: center;
}

.intro h2 {
  color: #f7d000;
  font-size: 40px;
  margin-bottom: 25px;
  padding-top: 20px;
}

.intro p {
  font-size: 20px;
  line-height: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.container-flex {
  background-color: #f7d000;
  color: black;
  display: flex;
  align-items: center;
}

.container-flex img {
  width: 600px;
  height: 400px;
  object-fit: cover;
}

.text-content {
  padding: 50px;
}

.text-content p {
  font-size: 20px;
  line-height: 30px;
  margin: 0px;
}

.seccion-personajes {
  background-color: #f7d000;
  padding: 10px;
  text-align: center;
}

.descubrir-historia {
  background-color: #f7d000;
  padding: 10px;
  text-align: center;
}

.seccion-personajes h3 {
  background-color: black;
  font-size: 35px;
  margin-bottom: 30px;
}

.descubrir-historia h3 {
  background-color: black;
  font-size: 35px;
  margin-bottom: 30px;
}

.descubrir-historia p {
  color: black;
}

.contenedor-cartas {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.carta {
  width: 300px;
  border: 3px solid black;
}

.carta img {
  width: 100%;
  object-fit: cover;
}

.carta-info {
  color: black;
  text-align: center;
}

.Boton-Personajes {
  background-color: black;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 18px;
  padding: 15px 30px;
  width: 250px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 20px 5px;
}

.Boton-Personajes span{
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.Boton-Personajes span::after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.Boton-Personajes:hover span {
  padding-right: 25px;
}

.Boton-Personajes:hover span::after {
  opacity: 1;
  right: 0;
}

footer {
  background-color: black;
  text-align: center;
  font-size: 12px;
  color: white;
  padding: 20px;
}

footer a {
  color: white;
}

/* CREADOS PARA PAGINA PERSONAJES */

.container-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                    url("./../Resources/Images/intro-image-characters.png");
  background-color: black;
  margin-top: 49px;
  width: 100%;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-image h2 {
  font-size: 50px;
}

.container-gallery {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* 8 columns side by side */
.column {
  float: left;
  width: 12.5%;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.mySlides img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.descripcion-personaje {
  background-color: black;
  color: white;
  padding: 30px;
  margin-top: 20px;
  border: 3px solid #f7d000; 
  text-align: left;
}

.descripcion-personaje h3 {
  color: #f7d000;
  margin-top: 0;
  text-transform: uppercase;
}

/* CREADOS PARA PAGINA HISTORIA */

.container-image-historia {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                    url("./../Resources/Images/p4gstaff.bin_2.png");
  background-color: black;
  margin-top: 49px;
  width: 100%;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-image-historia h2 {
  font-size: 50px;
}

* {
  box-sizing: border-box;
}
/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  color: black;
  position: relative;
  border-radius: 6px;
}

.content h2 {
  color: white;
}

/* PARA PAGINA CONTACTO */

.container-image-contacto {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                    url("./../Resources/Images/background_main.jpg");
  background-color: black;
  margin-top: 49px;
  width: 100%;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Add a background color and some padding around the form */
.container-form {
  border-radius: 5px;
  background-color: #f7d000;
  padding: 20px;
}

.container-image-contacto h2 {
  font-size: 50px;
}

label {
  color: black;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: black;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Pagina privacidad */

.privacidad {
  background-color: black;
  color: white;
  padding: 40px 40px;
  justify-content: center;
}


/* @media para páginas responsive */

.menu-container {
  display: none;
  cursor: pointer;
  position: absolute;
  left: 15px;
}

.bar1, .bar2, .bar3 {
  width: 30px;
  height: 4px;
  background-color: #f7d000;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 { transform: translate(0, 10px) rotate(-45deg); }
.change .bar2 { opacity: 0; }
.change .bar3 { transform: translate(0, -10px) rotate(45deg); }

@media screen and (max-width:1280px) and (min-width:768px) {
 .container-flex {
  flex-direction: column;
 }

 .container-flex img { width: 100%; height: auto; }
}

@media screen and (max-width: 768px) {
  .menu-container { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 3px solid #f7d000;
  }

  .nav-links.show { display: flex; }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(247, 208, 0, 0.1);
  }

  .nav-logo {
    left: 45%;
  }

  .flex-body { width: 100%; } 
  
  .container-flex { flex-direction: column; }
  .container-flex img { width: 100%; height: auto; }
  
  .contenedor-cartas {
    flex-direction: column;
    align-items: center;
  }

  .video-container { height: 500px; }
  
  .intro h2 { font-size: 28px; }

  .container-image, .container-image-historia { height: 250px; }
  .container-image h2, .container-image-historia h2 { font-size: 35px; }

  .column {
    width: 25%; 
  }

  .mySlides img {
    height: 300px; 
  }

  .text-content {
    padding: 20px;
  }

  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }
}