@font-face {
  font-family: 'IRONMAN';
  src: url('IronManOfWar2Ncv-E85l.ttf') format('truetype');
}

.video-iron {
  position: relative;
  overflow: hidden;
}

.video-iron video{
  display: block;
  width: 100%;
  height: auto;
}

.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, #B22222, #FFD700);
  border: none;
  color: white;
  font-family: 'IRONMAN', sans-serif;
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px black;
  z-index: 9999; /* siempre encima */
}
.music-btn:hover {
  background: linear-gradient(45deg, #FFD700, #B22222);
  color: black;
}






.overlay-block {
  position: absolute; /* superpuesto */
  top: 40%;
  left: 20%;
  transform: translate(-50%, -50%); /* centrar */
  text-align: center;
  padding: 20px;
  max-width: 90%; /* responsivo */
}

.overlay-block h1 {
  font-size: 150px;
  font-family: 'IRONMAN', sans-serif;
  text-shadow: 1px 1px 3px black; /* Para que resalte */
  margin-bottom: -7%;
}

.overlay-block h2 {
  font-size: 60px;
  margin-bottom: -7%;
}

.overlay-block p {
  font-size: 30px;
  max-width: 500px;
  text-align: justify;
}

@media (max-width: 1024px) {
    .overlay-block {
        top: 50%;
        left: 50%;
        padding: 10px;
    }

    .overlay-block h1 {
        font-size: 70px;   /* más pequeño para móvil */
    }

    .overlay-block h2 {
        font-size: 35px;
    }

    .overlay-block p {
        font-size: 18px;
        max-width: 90%;   /* ocupa casi todo el ancho */
    }
}





p {
  justify-content: center;
  text-align: justify;
  padding: 20px;
}

br {
  margin-bottom: 20px;
}

h1, h2 {
 background: linear-gradient(4deg, #B22222, #FFD700);
 background-clip: text;
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 font-weight: bold;
 padding: 20px;
}

body {
background-color: #1C1C1C;
font-family: 'IRONMAN', sans-serif;
color: white;
font-size: x-large;
padding: 0px;
margin: 0;
height: 100vh;
overflow-x: hidden;
}

body img{
  background-color: #2C2C2C;
  border: 2px solid #FFD700;
  box-shadow: 0 0 15px #FF0000;
  object-fit: cover;
}













.comic-container {
  display: grid; /* Activar Grid */
  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
  justify-content:center;
  gap: 10px; /* Espacio entre celdas */
  margin-left: 50px;
  padding: 20px;
}

.comic-container img {
  background-color: white;
  border: 2px solid #FFD700;
  box-shadow: 0 0 15px #FF0000;
  padding: 10px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.1s ease;
}

.comic-container img:hover {
    transform: scale(1.1); /* Aumenta el tamaño un 20% */
}






.tabla-canciones {
  margin: 0 auto;
  width: 90%;
  border-collapse: collapse;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 8px;
  overflow: hidden;
}

.tabla-canciones th, 
.tabla-canciones td {
  padding: 12px 15px;
  text-align: center;
  border: solid white;
}

.tabla-canciones thead {
  background: #b22222; /* rojo Iron Man */
  color: #fff;
  letter-spacing: 1px;
}

.tabla-canciones tbody tr:hover {
  background: rgba(222, 198, 10, 0.858); /* efecto hover */
  color: black;
  transition: background 0.3s;
}

.tabla-canciones video{
  width: 80%;
}





.poster-container,
.empresa-container, 
.family-container,
.secuestro-container,
.armadura-container {
  display: flex;
  justify-content:center;
  gap: 20px;
  margin-top: 20px;
  padding: 20px;
}

.poster-container img,
.empresa-container img, 
.family-container img,
.secuestro-container img,
.armadura-container img {
  transition: transform 0.1s ease;
}

.poster-container img:hover,
.empresa-container img:hover , 
.family-container img:hover,
.secuestro-container img:hover,
.armadura-container img:hover {
  transform: scale(1.2);
}







.carousel-container {
  position: relative;
  width: 70%;        /* antes estaba en 80%, ahora 70% */
  margin: auto;      /* centra el carrusel */
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  border: 5px solid transparent;
  border-radius: 12px;
  border-image: linear-gradient(45deg,#B22222, #FFD700) 1;
}

.carousel-item video {
  width: 100%;
}

.descrip-video {
  font-size: 20px;
  color: white;
  font-family: 'IRONMAN', sans-serif;
  text-shadow: 1px 1px 3px black; /* Para que resalte */
}

/* Botones */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-button.prev { 
  left: 10px;
  border: 2px solid #FFD700;
  border-radius: 0%;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  transition: transform 0.3s, background 0.3s;
}

.carousel-button.next { 
  right: 10px;
  border: 2px solid #FFD700;
  border-radius: 0%;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  transition: transform 0.3s, background 0.3s;
}

.carousel-button:hover{
  border: 2px solid red;
  background-color: yellow;
  color: red;
}







.swiper{
  width: 90%;
  border: none;
  background-color: #2C2C2C;
  border: 2px solid #FFD700;
  box-shadow: 0 0 15px #FF0000;
  object-fit: cover;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #2C2C2C;
  border: 2px solid #FFD700;
  box-shadow: 0 0 15px #FF0000;
  object-fit: cover;
}


:root {
  --swiper-navigation-color: #ff6600;   /* Color de flechas */
  --swiper-pagination-color: #ff6600;   /* Color de puntos activos */
  transition: background 0.3s;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  color: #ff6600; /* color normal */
  font-weight: bold;
  transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: yellow; /* color al pasar el mouse */
}



.social-section {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
  background: #111; /* fondo oscuro estilo Iron Man */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  text-decoration: none;
  font-size: 24px;       /* tamaño del símbolo */
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
  color: white;
}

/* Colores oficiales */
.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.instagram { background: #e1306c; }
.youtube { background: #ff0000; }

.social-icons a:hover {
  transform: scale(1.2);
  background: #fbc02d; /* dorado Iron Man */
  color: #d32f2f;      /* rojo Iron Man */
}

.social-section p{
  text-align: center;
  padding: 20px;
}






@media (max-width: 1024px) {
  body {
    font-size: large;
  }

  h1,
  h2 {
    padding: 16px;
  }

  p {
    padding: 16px;
  }
  
  .comic-container {
    align-items: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en pantallas pequeñas */
    max-width: 85%;
    gap: 130px;
  }

  .comic-container img{
    width: 100%;
    height: 100%;
  }

  .tabla-canciones {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  .tabla-canciones th,
  .tabla-canciones td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .tabla-canciones iframe,
  .tabla-canciones video {
    width: 100%;
    max-width: 100%;
  }

  .poster-container,
  .empresa-container,
  .family-container,
  .secuestro-container,
  .armadura-container {
    flex-wrap: wrap;
  }

  .poster-container img,
  .empresa-container img,
  .family-container img,
  .secuestro-container img,
  .armadura-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
  }

  .carousel-container {
    width: 90%;
  }

  .carousel-item {
    padding: 12px;
  }

  .descrip-video {
    font-size: 18px;
  }

  .social-icons {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  body {
    font-size: medium;
    line-height: 1.5;
  }

  h1,
  h2 {
    padding: 12px;
    font-size: 1.8rem;
  }

  p {
    padding: 12px;
    text-align: left;
  }

  .comic-container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
  }

  .comic-container img{
    width: 80%;
    height: 80%;
  }

  .tabla-canciones {
    font-size: 0.85rem;
  }

  .tabla-canciones thead {
    display: none;
  }

  .tabla-canciones tr {
    display: block;
    margin-bottom: 12px;
  }

  .tabla-canciones td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .carousel-container {
    width: 100%;
  }

  .carousel-button {
    padding: 8px;
  }

  .descrip-video {
    font-size: 16px;
  }

  .social-section {
    margin: 20px 0;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: larger;
  }

  h1,
  h2 {
    font-size: 1.5rem;
    padding: 10px;
  }

  .comic-container {
    margin-left: 0;
  }

  .carousel-button {
    padding: 6px;
  }

  .descrip-video {
    font-size: 14px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}


