/* adapted from https://codepen.io/Szeviva/pen/MWeGoza */

.sunset #star-container {
    z-index: 2;
}

.sunset #sunWrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    
    .sun {
        position: relative;
        top: 200px;
        width: 500px;
        height: 500px;
        border-radius: 100%;
        background: radial-gradient(rgb(255, 234, 117) 10%, rgb(241, 140, 25) 60%);
    }
}

@keyframes move_hill {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1)
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(1)
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1)
    }
}

.landWaveWrapper {
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    
    .waveWrapperInner {
        position: absolute;
        width: 100%;
        overflow: hidden;
        height: 100%;
        bottom: -1px;
        /* background-image: linear-gradient(to top, rgba(134, 55, 123,0.5) 20%, rgba(39, 39, 60,0.5) 80%); */
    }
    .bgTop {
        z-index: 15;
        opacity: 1;
    }
    .bgMiddle {
        z-index: 10;
        opacity: 0.75;
    }
    .bgBottom {
        z-index: 5;
        opacity: 0.25;
    }
    .wave {
        position: absolute;
        left: 0;
        width: 200%;
        height: 100%;
        background-repeat: repeat no-repeat;
        background-position: 0 bottom;
        transform-origin: center bottom;
    }
    .waveTop {
        background-size: 120% auto;
        animation: move_hill 60s linear infinite;
    }
    .waveMiddle {
        background-size: 110% auto;
        animation: move_hill 60s linear infinite;
    }
    .waveBottom {
        background-size: 100% auto;
        animation: move_hill 60s linear infinite;
    }
}