@import url('https://fonts.googleapis.com/css2?family=Platypi:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background-image: url("https://images4.alphacoders.com/135/thumb-1920-1351636.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

#clouds img {
    width: 30%;
    height: 44%;
    z-index: -1;
    position: absolute;
    background-color: transparent;
}

#clouds img:nth-child(1) {
    top: -5%;
    left: -26%;

    animation-name: animLeftToRight;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#clouds img:nth-child(2) {
    top: 30%;
    left: -30%;

    animation-name: animLeftToRight;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 7s;
}

#clouds img:nth-child(3) {
    top: 80%;
    right: 10%;
    opacity: 0%;

    animation-name: animRightToLeft;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 4s;
}

@keyframes animLeftToRight {
    0% {
        transform: scale(1) translateX(-300px) rotate(0);
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translateX(1300px) rotate(0);
        opacity: 0;
    }
}

@keyframes animRightToLeft {
    0% {
        transform: scale(1) translateX(-50px) rotate(0);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translateX(-1600px) rotate(0);
        opacity: 0;
    }
}