:root {
  --primary: #3876bf;
}

footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: var(--primary);
  height: 300px;
  padding: 8rem 0rem;
  flex-direction: column;
  
  
}

footer .social-icons,
footer .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
 

}

footer .social-icons li,
footer .menu li {
  list-style: none;
}

footer .social-icons li a {
  font-size: 2rem;
  color:#ffffff;
  margin: 0 10px;
  display: inline-block;
}

footer .menu li a {
  font-size: 1.2rem;
  color:#ffffff;
  margin: 0 10px;
  display: inline-block;
  text-decoration: none;
  opacity: 0.75;
  z-index: -9999999;
}
footer .menu li a:hover {
  opacity: 1;
}

footer p {
  color: #ffffff;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  opacity: 0.75;
}

footer .wave {
  position: absolute;
  display: flex;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
   z-index: -1;
  
   background-image: url("public/gambar/wave.png");
  background-size: 2000px 100px;
  background-color: white;
}

footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  top: 0;
  animation: animateWave 10s linear infinite;
}
footer .wave#wave2 {
  z-index: 999;
  opacity: 1;
  top: 0;
  animation: animateWave-02 10s linear infinite;
}
footer .wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  top: 0;
  animation: animateWave-02 10s linear infinite;
}
footer .wave#wave4 {
  z-index: 999;
  opacity: 0.75;
  top: 0;
  animation: animateWave-02 10s linear infinite;
}

@keyframes animateWave {
  0% {
    background-position-x: 2000px;
  }
  100% {
    background-position-x: 0px;
  }
}

@keyframes animateWave-02 {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 2000px;
  }
}
