/* Moving Clouds */
.clouds-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.floating-cloud {
    position: absolute;
    background: white;
    border-radius: 100px;
    opacity: 0.9;
    filter: drop-shadow(0 5px 5px rgba(179, 229, 252, 0.4));
}

.floating-cloud::before,
.floating-cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

/* Shape 1: Classic Balanced Cloud */
.cloud-shape-1 {
    width: 180px;
    height: 80px;
}

.cloud-shape-1::before {
    width: 80px;
    height: 80px;
    top: -35px;
    left: 20px;
}

.cloud-shape-1::after {
    width: 90px;
    height: 90px;
    top: -45px;
    right: 20px;
}

/* Shape 2: Longer, Flatter Cloud */
.cloud-shape-2 {
    width: 240px;
    height: 70px;
}

.cloud-shape-2::before {
    width: 70px;
    height: 70px;
    top: -30px;
    left: 40px;
}

.cloud-shape-2::after {
    width: 80px;
    height: 80px;
    top: -40px;
    right: 40px;
}

/* Shape 3: Taller, Puffier Cloud */
.cloud-shape-3 {
    width: 160px;
    height: 90px;
}

.cloud-shape-3::before {
    width: 90px;
    height: 90px;
    top: -45px;
    left: 15px;
}

.cloud-shape-3::after {
    width: 100px;
    height: 100px;
    top: -60px;
    right: 15px;
}


/* Keyframes using CSS Custom Property for scale to persist it */
@keyframes floatAcross {
    0% {
        left: 110%;
        transform: scale(var(--scale));
    }

    100% {
        left: -300px;
        transform: scale(var(--scale));
    }
}

/* Individual Cloud Behaviors (Position & Animation) */

.cloud-1 {
    top: 10%;
    --scale: 0.8;
    animation: floatAcross 35s linear infinite;
    animation-delay: 0s;
    opacity: 0.9;
}

.cloud-2 {
    top: 25%;
    --scale: 0.6;
    animation: floatAcross 45s linear infinite;
    animation-delay: -15s;
    opacity: 0.7;
    z-index: 1;
}

.cloud-3 {
    top: 55%;
    --scale: 1.0;
    animation: floatAcross 30s linear infinite;
    animation-delay: -5s;
    opacity: 0.8;
}

.cloud-4 {
    top: 75%;
    --scale: 0.7;
    animation: floatAcross 40s linear infinite;
    animation-delay: -25s;
    opacity: 0.75;
}

.cloud-5 {
    top: 40%;
    --scale: 0.5;
    animation: floatAcross 50s linear infinite;
    animation-delay: -10s;
    opacity: 0.5;
    z-index: 1;
}