@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Asegura que el body ocupe toda la altura de la ventana */
    margin: 0;
  }
  body, html {
    overflow-x: hidden;
}

  
  main {
    flex: 1; /* Ocupa el espacio restante entre el header (si lo hay) y el footer */
  }
/* Restringir estilos solo al footer */
.footer * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer .social-icon,
.footer .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.footer .social-icon__item,
.footer .menu__item {
  list-style: none;
}

.footer .social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.footer .social-icon__link:hover {
  transform: translateY(-10px);
}

.footer .menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.footer .menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.footer .wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("https://img.freepik.com/vector-premium/dibujo-vectorial-olas-mar-fondo-natural_149326-2166.jpg?w=996");
  background-size: 1000px 100px;
}

.footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.footer .wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.footer .wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}



.footer .wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-position-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-position-x: 0px;
  }
}

/* Estilos responsive */
@media screen and (max-width: 768px) {
    .footer {
      padding: 20px;
    }
  
    .footer .social-icon {
      flex-direction: row;
      justify-content: center;
    }
  
    .footer .menu {
      flex-direction: column;
      align-items: center;
    }
  
    .footer .menu__link {
      margin: 5px 0;
      font-size: 1rem;
    }
  
    .footer p {
      font-size: 0.9rem;
      text-align: center;
    }
  }
  
  @media screen and (max-width: 480px) {
    .footer {
      padding: 15px;
    }
  
    .footer .social-icon {
      flex-direction: row;
      justify-content: center;
    }
  
    .footer .menu {
      flex-direction: column;
      align-items: center;
    }
  
    .footer .menu__link {
      margin: 5px 0;
      font-size: 0.9rem;
    }
  
    .footer .social-icon__link {
      font-size: 1.5rem;
      margin: 5px;
    }
  
    .footer p {
      font-size: 0.8rem;
    }
  }