﻿@keyframes move_wave {
    0% {
        transform: translateX(0) translateZ(0)
    }

    100% {
        transform: translateX(-50%) translateZ(0)
    }
}

.waveWrapper {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.waveBackground {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 100%;
    bottom: -1px;
    background-image: linear-gradient(0deg, rgba(162,93,0,1) 0%, rgba(255,191,111,1) 100%);
}

.bgTop {
    z-index: -1;
    opacity: 0.2;
}

.bgMiddle {
    z-index: -2;
    opacity: 0.3;
}

.bgBottom {
    z-index: -3;
    opacity: 0.4;
}

.wave {
    position: absolute;
    left: 0;
    width: 300%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-repeat: repeat no-repeat;
    background-position: 0 bottom;
    transform-origin: center bottom;
}

.waveTop {
    background-size: 50%;
}

.waveAnimation .waveTop {
    animation: move_wave 20s infinite;
    -webkit-animation: move_wave 8s infinite;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.waveMiddle {
    background-size: 50%;
}

.waveAnimation .waveMiddle {
    animation: move_wave 10s linear infinite;
}

.waveBottom {
    background-size: 50%;
}

.waveAnimation .waveBottom {
    animation: move_wave 10s linear infinite;
}
