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

/*menu*/
#menu{
    margin-top: -150px;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

#menu ul{
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

#menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}


#menu ul li a::after{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
}


#menu ul li a:hover{
    color: goldenrod;
}


#menu ul li a:hover::after{
    width: 100%;
}


/*texto de principal*/
#texto h1{
    text-align: center;
    color:  white;
    margin-bottom: 20px;
    font-size: 32px;
}

#texto p{
    color: white;
    text-align: center;
    margin-bottom: 15px;
}


#texto{
    max-width: 800px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);   
}

#texto a{
color:black;
text-decoration: none;
font-weight: normal;
}


/*logo*/
#logo{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -295px;
}

#logo img{
    height: auto;
    width: 1050px;
  }
  

/*texto de contacto*/
#conta{
  max-width: 800px;
  margin-top: 40px;
  padding: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);   
}


#conta h1{
  text-align: center; 
  color: white;
  margin-bottom: 30px;
  font-size: 35px;
}

#conta p{
  color: white;
  text-align: center;
  margin-bottom: 30px;
}


/*cuadro del inicio*/
.cuadro{
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cuadro img{
  width: 100%;
  max-width: 500px;
  height: auto;
  padding: 20px;
}

/*video*/
#video{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;/*esto separa el video del texto*/
}

#video video{
  width: 100%;          /* ocupa todo el ancho del contenedor */
  max-width: 1200px;    /* aumenta el límite máximo */
  height: 400px;        /* altura fija más grande */
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  object-fit: cover;
}



 /*formulario*/
.container  .form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    margin-top: 110px;
  }
  
  .form p{
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .message {
    color: rgba(88, 87, 87, 0.822);
    font-size: 14px;
  }
  
  .flex {
    display: flex;
    width: 100%;
    gap: 6px;
  }
  
  .form label {
    position: relative;
  }
  
  .form label .input {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 5px;
  }
  
  .form label .input + span {
    position: absolute;
    left: 10px;
    top: 15px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
  }
  
  .form label .input:placeholder-shown + span {
    top: 15px;
    font-size: 0.9em;
  }
  
  .form label .input:focus + span,.form label .input:valid + span {
    top: 30px;
    font-size: 0.7em;
    font-weight: 600;
  }
  
  .form label .input:valid + span {
    color: green;
  }
  
  .input01 {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 5px;
  }
  
  .form label .input01 + span {
    position: absolute;
    left: 10px;
    top: 50px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
  }
  
  .form label .input01:placeholder-shown + span {
    top: 40px;
    font-size: 0.9em;
  }
  
  .form label .input01:focus + span,.form label .input01:valid + span {
    top: 50px;
    font-size: 0.7em;
    font-weight: 600;
  }
  
  .form label .input01:valid + span {
    color: green;
  }
  
  .fancy {
    background-color: transparent;
    border: 2px solid #cacaca;
    border-radius: 0px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 390;
    letter-spacing: 2px;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 8px 30px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 13px;
  }
  
  .fancy::before {
    content: " ";
    width: 1.7rem;
    height: 2px;
    background: #cacaca;
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform: translateX(230%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
  }
  
  .fancy .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 2em;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-transform: lowercase;
    text-decoration: none;
    color: #818181;
    transform: translateX(30%);
  }
  
  .fancy .top-key {
    height: 2px;
    width: 1.5625rem;
    top: -2px;
    left: 0.625rem;
    position: absolute;
    background: white;
    transition: width 0.5s ease-out, left 0.3s ease-out;
  }
  
  .fancy .bottom-key-1 {
    height: 2px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -2px;
    position: absolute;
    background: white;
    transition: width 0.5s ease-out, right 0.3s ease-out;
  }
  
  .fancy .bottom-key-2 {
    height: 2px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -2px;
    position: absolute;
    background: white;
    transition: width 0.5s ease-out, right 0.3s ease-out;
  }
  
  .fancy:hover {
    color: white;
    background: #cacaca;
  }
  
  .fancy:hover::before {
    width: 1.5rem;
    background: white;
  }
  
  .fancy:hover .text {
    color: white;
    padding-left: 1.5em;
  }
  
  .fancy:hover .top-key {
    left: -2px;
    width: 0px;
  }
  
  .fancy:hover .bottom-key-1,
   .fancy:hover .bottom-key-2 {
    right: 0;
    width: 0;
  }


/* fondo*/ 
.container {
    min-height: 100vh;
    width: 100%;
    /* height: 100%; */
    /* Add your background pattern here */
    background: linear-gradient(
      -45deg,
      #7da0ca,
      #5483b3,
      #1ea0b7,
      #1d778b,
      #052659,
      #021024
      
    );
    background-size: 400% 400%;
   
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 150px;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    25% {
      background-position: 50% 100%;
    }
    50% {
      background-position: 100% 50%;
    }
    75% {
      background-position: 50% 0%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  

/*redes sociales*/
.card {
  width: fit-content;
  height: fit-content;
  background-color:transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
  box-shadow: 0px 0px 20px rgb(255, 255, 255);
}
/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: .3s;
}
/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: .3s;
}
/* Whatsapp*/
.containerFour:hover {
  background-color: #128C7E;
  transition-duration: .3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

  /* Estilo 3D para cuadros de texto */
  #texto, #conta, .form {
    background: rgba(255, 255, 255, 0.05); /*Más transparente*/
    backdrop-filter: blur(25px); /* Más borroso*/
    border-radius: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
  }
  
  /* Efecto al pasar el mouse sobre el texto */
  #texto:hover, #conta:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2) inset;
    background: rgba(255, 255, 255, 0.1);
  }
   
  /*burbujas del fondo*/
  .bubbles {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* queda al fondo */
  }
  
  .bubbles span {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,255,255,0.25),rgba(255,255,255,0.05));
    box-shadow:inset -4px -4px 8px rgba(255,255,255,0.3),inset 4px 4px 8px rgba(255,255,255,0.15);
    animation: rise linear infinite;
    animation-delay: calc(-1s * var(--i));
    filter: blur(0.3px);
    opacity: 0;
  }
  
  /* Variaciones */
  .bubbles span:nth-child(1)  { left: 5%;  width: 18px; height: 18px; animation-duration: 14s; }
  .bubbles span:nth-child(2)  { left: 12%; width: 30px; height: 30px; animation-duration: 18s; }
  .bubbles span:nth-child(3)  { left: 20%; width: 22px; height: 22px; animation-duration: 16s; }
  .bubbles span:nth-child(4)  { left: 28%; width: 45px; height: 45px; animation-duration: 24s; }
  .bubbles span:nth-child(5)  { left: 36%; width: 26px; height: 26px; animation-duration: 17s; }
  .bubbles span:nth-child(6)  { left: 44%; width: 60px; height: 60px; animation-duration: 28s; }
  .bubbles span:nth-child(7)  { left: 52%; width: 20px; height: 20px; animation-duration: 15s; }
  .bubbles span:nth-child(8)  { left: 60%; width: 38px; height: 38px; animation-duration: 21s; }
  .bubbles span:nth-child(9)  { left: 68%; width: 24px; height: 24px; animation-duration: 16s; }
  .bubbles span:nth-child(10) { left: 75%; width: 50px; height: 50px; animation-duration: 26s; }
  .bubbles span:nth-child(11) { left: 82%; width: 28px; height: 28px; animation-duration: 18s; }
  .bubbles span:nth-child(12) { left: 88%; width: 16px; height: 16px; animation-duration: 13s; }
  .bubbles span:nth-child(13) { left: 92%; width: 42px; height: 42px; animation-duration: 22s; }
  .bubbles span:nth-child(14) { left: 96%; width: 34px; height: 34px; animation-duration: 20s; }
  .bubbles span:nth-child(15) { left: 50%; width: 70px; height: 70px; animation-duration: 32s; }
  
  /*animacion de las burbujas*/
  @keyframes rise {
    0% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.6;
    }
    50% {
      transform: translateY(-60vh) translateX(20px);
      opacity: 0.4;
    }
    100% {
      transform: translateY(-120vh) translateX(-20px);
      opacity: 0;
    }
  }
  