* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif
}

body,
html {
    height: 100%;
    margin: 0;
     overflow-x: hidden;
}

.contenedor-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenedor-video iframe,
.contenedor-video video {
  width: 60vw;   
  height: 60vh;
  object-fit: contain;
  border: none;
  border-radius: 10px;
}


/* 360px a 767px */
@media (max-width: 767px) {
  .contenedor-video iframe,
  .contenedor-video video {
    width: 90vw; 
    height: auto;
  }

  .contenedor-video {
    border-top: 8px solid #fff;
    border-right: 10px solid #fff;
    border-bottom: 8px solid #fff;
    border-left: 10px solid #fff;
  }

  .icons-container {
    width: 100%;
  }

  .icons-container i {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .contenedor-video iframe,
  .contenedor-video video {
    width: 95vw;   
    height: auto;
  }

  .contenedor-video {
    border-top: 2px solid #fff;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
  }
}
.contenedor-ext {
  display: flex;
  padding: 5px 10px;
  height: 200px; 
  align-items: center;
  justify-content: center;
  margin-top: 10%;
}

.wrapper {
  display: flex;
  height: 100%;
  width: 80%;
  position: relative;
}

.wrapper i {
  top: 50%;
  color: #065da6;
  cursor: pointer;
  font-size: 4em;
  position: absolute;
  text-align: center;
  transform: translateY(-50%);
  transition: transform 0.5s linear;
  z-index: 1;
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.8);
}

.carousel img:hover,
.informacion .shop:hover {
  transform: scale(1.2);
}

.wrapper i:first-child {
  left: -50px;
  display: none;
}

.wrapper i:last-child {
  right: -50px;
}

.wrapper .carousel {
  font-size: 0;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.carousel.dragging {
  cursor: grab;
  scroll-behavior: auto;
}

.carousel.dragging img {
  pointer-events: none;
}

.carousel a {
  margin-left: 1vw;
}

.carousel img {
  margin: 3px;
  height: 100px; 
  aspect-ratio: 1 / 1;
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
  margin-left: 2vw;
  border: 6px solid #065da6;
  transition: 0.5s;
}

.carousel img:hover {
  transform: scale(0.9);
}

.carousel img:first-child {
  margin-left: 0;
}

/* (360px a 767px): cuadrícula 5x5 */
@media (max-width: 767px) {
  .contenedor-ext {
    display: flex;  
    justify-content: center;  
    align-items: center; 
    padding: 0;
    height: auto;
    margin-top: 5%;
    width: 100%;
  }

  .carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 5 columnas */
    gap: 10px;
    justify-items: center;  
    align-items: center;
    width: 100%;
  }

  .carousel img {
    width: 100%;  /* Ajusta el tamaño de las imágenes */
    height: 60px; 
    object-fit: cover;
    border: 3px solid #065da6;
    transition: 0.3s;
  }

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

/* (≥768px): diseño original */
@media (min-width: 768px) {
  .contenedor-ext {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 5px 10px;
    margin-top: 10%;
    width: 100%;  /
  }

  .carousel {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
  }

  .carousel img {
    height: 100px;
    width: auto;
    margin-left: 2vw;
    border: 6px solid #065da6;
  }
}



.icons-container,
.icons-container i {
    justify-content: center;
    display: flex
}

.informacion {
    background-color: #fff;
    text-align: center;
    padding: 10px;
    margin-left: 10%;
    margin-right: 10%
}

.informacion .btn-primary {
    background: #065da6;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    border: 0;
    padding: 5 10em
}

.footer,
.footer .row {
    padding: 0;
    text-align: center
}

.informacion .btn-primary:hover {
    background: #022a80
}

.informacion h5 {
    font-weight: bold;
    margin-top: 20px;
    color: #065598
}

.informacion .shop {
    height: 50px;
    width: auto;
    transition: .5s;
    margin-left: 1vw;
    margin-right: 1vw
}

.informacion p {
    text-align: center;
    font-weight: 600;
}

.icons-container {
    gap: 5px;
    margin: 0;
}

.facebook {
    background-color: #065da6;
    border-radius: 50%;
}

.footer {
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #065da6;
    margin: 0
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0
}

.footer a {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: 3ms
}

footer a:hover {
    color: #12e115
}
body.modal-abierto {
  overflow: hidden !important;
  height: 90vh;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.modal-abierto {
  overflow: hidden;
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.modal-contenido {
  background: transparent;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 80vw;
  max-height: 80vh;
  overflow: hidden;
  animation: fadeIn 0.5s ease-in-out;
  position: relative; /* Para posicionar la X */
}

.img-modal {
  max-width: 90vw;
  max-height: 80vh;
  height: auto;
  width: auto;
}

.cerrar-modal {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 60px;
  height: 60px;
  background-color: #e53935;
  border-radius: 50%;
  border: none;
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  opacity: 1;          
  pointer-events: auto;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.5),
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 12px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 100; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.cerrar-modal.mostrar {
  display: flex;
  animation: popIn 0.4s ease-out;
  opacity: 1;
  pointer-events: auto;
}

.cerrar-modal:hover {
  transform: scale(1.2);
  background-color: #c62828;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* ===== BOTONES DE REDES ===== */

.buttons-network {
  z-index: 100;
  transition: all 0.3s ease;
}

/* Botón individual */
.buttons-network__button {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  color: #222;
  background: white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 15px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.buttons-network__button i {
  font-size: 1.5em;
  line-height: 1;
}

.buttons-network__button p {
  display: none;
  margin: 0;
  padding: 0 8px;
  font-size: 14px;
}

.buttons-network__button:hover {
  width: 140px;
  padding: 0 10px;
}

.buttons-network__button:hover p {
  display: block;
}

@media (min-width: 768px) {
  .buttons-network {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .buttons-network {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px auto 10px auto;
  }

  .buttons-network__button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    margin: 5px;
    padding: 0;
  }

  .buttons-network__button:hover {
    width: 40px;
    padding: 0;
  }

  .buttons-network__button p {
    display: none !important;
  }
}

.buttons-network__button:nth-child(1):hover {
  color: #4267b2;
}

.buttons-network__button:nth-child(2):hover {
  color: #e1306c;
}

.buttons-network__button:nth-child(3):hover {
  color: #FF2056;
}

.buttons-network__button:nth-child(4):hover {
  color: #0e76a8;
}
.buttons-network__button:nth-child(5):hover {
  color: #0e76a8;
}
.buttons-network__button:nth-child(6):hover {
  color: #F4320B;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.buttons-network__button:hover {
  animation: bounce 0.5s ease;
}
.image-overlay-container {
  position: relative;
  width: 100%;
}

.image-overlay-container .img-modal {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay-container {
  position: relative;
  width: 100%;
}

.img-modal {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-btn {
  position: absolute;
  display: block;
  background: transparent;
  color: black;
  text-decoration: none;
  text-align: center;
  padding: 10px 16px;
  width: 50%;        
  left: 25%;         
  z-index: 2;
  transition: background-color 0.3s ease;  
}

/* Ubicaciones para cada botón*/
.boton1 { top: 48%; }
.boton2 { top: 56%; }
.boton3 { top: 64%; }
.boton4 { top: 72%; }
.boton5 { top: 80%; }
.boton6 { top: 88%; }

/* 360px a 479px */
@media (min-width: 360px) and (max-width: 479px) {
  .overlay-btn {
    width: 80%;
    left: 10%;
    padding: 14px 20px;
    font-size: 10px;
  }
  .boton1 { top: 45%; }
  .boton2 { top: 52.5%; }
  .boton3 { top: 60.8%; }
  .boton4 { top: 69.2%; }
  .boton5 { top: 77.5%; }
  .boton6 { top: 85.8%; }
}

/* 480px a 767px */
@media (min-width: 480px) and (max-width: 767px) {
  .overlay-btn {
    width: 60%;
    left: 20%;
    padding: 12px 18px;
  }
  .boton1 { top: 47%; }
  .boton2 { top: 55%; }
  .boton3 { top: 64%; }
  .boton4 { top: 72%; }
  .boton5 { top: 80%; }
  .boton6 { top: 88%; }
}


.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .banner-celebracion {
    height: auto;
    margin-top: 40px;
  }

  .banner-img {
    height: auto; 
  }
}

@media (min-width: 768px) {
  .banner-celebracion {
    height: 400px;
  }

  .banner-img {
    height: 100%;
  }
}
body {
  padding-top: 70px; 
}
