/**** Reset ****/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/**** Style général de la page ****/

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1b1b1b;
}

.container {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(70, 70, 70, 0.1);
}

.cloud {
    position: relative;
    width: 320px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 100px;
    filter: drop-shadow(8px 8px 0 #000500);
    animation: animeCloud 2s steps(1) infinite;
}

/**** Animation animeCloud ****/

@keyframes animeCloud {
    0% {
        filter: drop-shadow(8px 8px 0 #000100) drop-shadow(0 0 0 #ffffff) brightness(1);
    }

    95% {
        filter: drop-shadow(8px 8px 0 #000100) drop-shadow(0 0 50px #fff5ff) brightness(10);
    }
}

.cloud::before {
    content: "";
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #484f48;
    position: absolute;
    top: -50px;
    left: 40px;
    box-shadow: 90px 10px 0 30px #484f48;
}

.cloud::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #484f48;
    border-radius: 100px;
    z-index: 100;
}

.drop {
    position: absolute;
    top: 40px;
    width: 2px;
    height: 10px;
    background-color: #05a2eb;
    transform-origin: bottom;
    animation: anime 2s linear infinite;
}

/**** Animation anime ****/

@keyframes anime {
    0% {
        transform: translateY(0) scaleY(1);
    }

    70% {
        transform: translateY(360px) scaleY(1);
    }

    80% {
        transform: translateY(360px) scaleY(0.2);
    }

    100% {
        transform: translateY(360px) scaleY(0) scaleX(15);
    }
}