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

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

.contenedor-video {
    padding: 100px 0;
    z-index: 1;
    margin: 0 auto;
}

video {
    width: 100%;
    height: auto;
    border-radius: 10px
}

@media (max-width:768px) {
    .contenedor-video {
        border-top: 10px solid #fff;
        border-right: 15px solid #fff;
        border-bottom: 10px solid #fff;
        border-left: 15px solid #fff
    }

    .icons-container {
        width: 100%
    }

    .icons-container i {
        font-size: 20px
    }
}

@media (max-width:480px) {
    .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: 5 10px;
    height: 200px;
    align-items: center;
    justify-content: center;
}

.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 .5s linear;
    z-index: 1
}

.wrapper i:active {
    transform: translateY(-50%) scale(.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: 0px;
    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: .5s
}

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

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

@media (min-width:200px) and (max-width:550px) {
    .contenedor-ext {
        max-width: 100%;
        display: flex;
        padding: 0;
        height: 10px;
        align-items: center;
        justify-content: center;
        background: 0 0
    }

    .wrapper i:last-child,
    i:first-child {
        display: none;
        right: 0;
        z-index: -3
    }

    .wrapper i {
        display: none
    }

    .wrapper {
        display: flex;
        max-width: 100%;
        position: relative
    }

    .carousel img {
        height: auto;
        object-fit: cover;
        -webkit-user-select: none;
        user-select: none;
        margin-left: 2vw;
        width: calc(100% / 7);
        transition: .5s
    }

    .informacion .social a {
        display: flex;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        align-items: center
    }
}

@media screen and (max-width:900px) {
    .contenedor-ext {
        display: flex;
        padding: 0 10px;
        height: 400px;
        align-items: center;
        justify-content: center
    }

    .carousel img {
        height: auto;
        object-fit: cover;
        -webkit-user-select: none;
        user-select: none;
        margin-left: 2vw;
        width: calc(100% / 8);
        transition: .5s
    }

    .informacion .social a {
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        align-items: center
    }
}

.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 {
  display: none;
  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: 0;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); /* Iluminado suave */
  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;
}

/* Mostrar con efecto pop */
.cerrar-modal.mostrar {
  display: flex;
  animation: popIn 0.4s ease-out;
  opacity: 1;
  pointer-events: auto;
}

/* Efecto al pasar el cursor */
.cerrar-modal:hover {
  transform: scale(1.2);
  background-color: #c62828;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
