/* 이미지 wave */
@-webkit-keyframes Wave_back {
    0% {
        background-position: 0% 30%
    }
    50% {
        background-position: 100% 30%
    }
    100% {
        background-position: 0% 30%
    }
}

@-moz-keyframes Wave_back {
    0% {
        background-position: 0% 30%
    }
    50% {
        background-position: 100% 30%
    }
    100% {
        background-position: 0% 30%
    }
}

@keyframes Wave_back {
    0% {
        background-position: 0% 30%
    }
    50% {
        background-position: 100% 30%
    }
    100% {
        background-position: 0% 30%
    }
}


/* wave */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
    .content {
        height:30vh;
    }
    h1 {
        font-size:24px;
    }
}

#ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 클릭 이벤트 방지 */
}

.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(10);
        opacity: 0;
    }
}


/* 마우스 애니메이션 */
@keyframes mouse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(5);
        opacity: 0;
    }
}

/* 마우스 스크롤 */
@keyframes mouse-scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}

