/* wave_animation.css */
.canvas {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    /* width: 3000px; */
    width: 100%;
    height: 700px;
    background-color: #333333;
}

.wave-element {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 200%;
    background: linear-gradient(135deg, #ffd700, #4facfe); 
    animation: wave linear 40s infinite;

    box-sizing: border-box;
}

.wave-1 {
    top: 100%;
    background: linear-gradient(135deg, #FFB2B2, #FF4700);
    border-radius: 50% 50% / 50% 70%;
    animation-delay: 0s;
    left: -20%;
    opacity: 90%;
}

.wave-2 {
    top: 70%;
    border-radius: 50% 50% / 20% 70%;
    animation-delay: -4s;
    left: 0%;
    opacity: 80%;
}

.wave-3 {
    top: 90%;
    background: linear-gradient(135deg, #FFFFFF, #BFBFFF);
    border-radius: 50% 45% / 50% 90%;
    animation-delay: -2s;
    left: 20%;
    opacity: 90%;
}

.wave-4 {
    top: 100%;
    background: linear-gradient(135deg, #FFB2B2, #FF4700);
    border-radius: 50% 50% / 50% 70%;
    animation-delay: 2s;
    left: -20%;
    opacity: 10%;
}

.wave-5 {
    top: 70%;
    border-radius: 50% 50% / 20% 70%;
    animation-delay: -1s;
    left: 0%;
    opacity: 10%;
}

.wave-6 {
    top: 90%;
    background: linear-gradient(135deg, #FFFFFF, #BFBFFF);
    border-radius: 50% 45% / 50% 90%;
    animation-delay: 1s;
    left: 20%;
    opacity: 40%;
}

@keyframes wave {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Footer text */
.footer-text {
  position: relative;
  bottom: -650px;  /* --------move down this element ----------------------------*/
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  text-align: center;
  z-index: 9999;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .wave-element {
        height: 550px;
    }
}
@media (max-width: 960px) {
    .wave-element {
        height: 300px;
    }
}