/* Estilos Generales */

html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
}

.btn-scrolltop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 20px;
  background: rgb(86, 0, 100) !important;
  color: white;
  border: 1px solid white;
  border-radius: 100%;
  cursor: pointer;
  transform: translateY(100px);
  transition: 0.3s;
}

.btn-scrolltop-on {
  transform: translateY(0);
}


/* Botón wpp */

.container-boton-wp {
  background-color: #2e6329;
  border: 1px solid #fff;
  position: fixed;
  z-index: 999;
  border-radius: 50%;
  bottom: 20px;
  left: 25px;
  padding: 25px;
  transition: ease 0.3s;
  animation: efecto 1.2s infinite;
}

.container-boton-wp:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.boton-wp {
  width: 40px;
  transition: ease 1s;
}

@keyframes efecto {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
  }
  100% {
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
  }
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* Reseting */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.container {
  transform-style: preserve-3d;
}

.container .box {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 20px;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

.container .box .body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: 0.9s ease;
}

.container .box .body .imgContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.container .box .body .imgContainer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .box .body .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
}

.container .box:hover .body {
  transform: rotateY(180deg);
}

.container .box .body .content div {
  transform-style: preserve-3d;
  padding: 20px;
  background: linear-gradient(45deg, #fe0061, #ffeb3b);
  transform: translateZ(100px);
}

.container .box .body .content div h3 {
  letter-spacing: 1px;
}

.logo-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hover en los enlaces de la barra de navegación */
.navbar-nav .nav-link:hover {
  color: #f0f0f0; /* Cambia el color según tu preferencia */
  background-color: #444; /* Opcional: fondo al hacer hover */
  border-radius: 5px; /* Opcional: bordes redondeados */

}




/* Pantallas pequeñas */
@media only screen and (max-width: 600px) {
  .container .box {
    width: 100%; /* Ajustar para pantallas pequeñas */
  }

  .container .box .body .imgContainer img {
    width: 100%;
    height: auto; /* Mantener la relación de aspecto */
    object-fit: cover; /* Cubrir el área sin perder proporciones */
  }



  .embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  /* Pseudo-elemento para mantener la relación de aspecto 16:9 */
  .embed-responsive::before {
    display: block;
    content: "";
    padding-top: 56.25%; /* 9/16 = 0.5625 */
  }

  /* Hace que el contenido se ajuste al contenedor */
  .embed-responsive > * {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .responsiveForm{
    width: 100% !important;

  }


}

/* Pantallas medianas (tabletas) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .container .box {
    width: 90%; /* Ajustar para pantallas pequeñas */
  }

 
   /* Pseudo-elemento para mantener la relación de aspecto 16:9 */
  .embed-responsive::before {
    display: block;
    content: "";
    padding-top: 56.25%; /* 9/16 = 0.5625 */
  }

  /* Hace que el contenido se ajuste al contenedor */
  .embed-responsive > * {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .paddingPersonalizado{
    padding: 5rem;
  }


}

/* Pantallas grandes */
@media only screen and (min-width: 1200px){
  form{
    width: 50%;
  }



}

  /* Estilos generales para el video */
  .video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: black; /* Fondo negro para cubrir cualquier espacio vacío */
}

.video-header {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paddingPersonalizadoDiv{
  padding: 5rem;
}


/* Estilos específicos para resoluciones de PC */
@media only screen and (min-width: 1024px) {
  .video-container {
      width: 100%; /* Ocupa todo el ancho */
      height: 75vh; /* Ajustado al 50% de la altura de la pantalla */
      overflow: hidden; /* Oculta cualquier parte del video que se salga del contenedor */
      position: relative; /* Asegura que los hijos posicionados sean relativos a este contenedor */
  }

  .video-header {
      width: 100%;
      height: 200%; /* Doble de la altura para asegurarse de que cubra el 50% */
      position: absolute; /* Coloca el video absolutamente dentro del contenedor */
      top: 50%; /* Mueve el video hacia arriba un 50% de su altura */
      transform: translateY(-50%); /* Alinea verticalmente el centro del video */
  }
}


