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

/*menu*/
#menu{
    margin-top: -40px;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

#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: -150px;
}

#logo img{
    height: auto;
    width: 500px;
    animation: float 4s ease-in-out infinite; 
}

/* Flotación */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


/*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%;
  padding: 50px;
  display: block;

}

/*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;
  }
}