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

body {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    
}

.bubble {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%; 
    box-shadow: inset 0 0 25px rgba(255, 255, 255, .25);
    animation: animate 5s ease-in-out infinite;
}

.bubble:nth-child(1) {
    zoom: .45;
    position: relative;
    left: -200px;
    top: -100px;
    animation-delay: -4s;
}

.bubble:nth-child(2) {
    zoom: .25;
    position: relative;
    left: 20%;
    top: -20%;
    animation-delay: -6s;
}
.bubble:nth-child(3) {
    zoom: .25;
    position: relative;
    left: -60px;
    top: 250px;
    animation-delay: -8s;
}

@keyframes animate {
    0%, 100% {
        transform: translateY(-50px);
    }
    50% {
        transform: translateY(50px);
    }
}

.bubble::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    top: 70px;
    left: 70px;
    filter: blur(2px);
    -webkit-filter: blur(2px);  
    z-index: 10;
}
.bubble::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    top: 120px;
    left: 120px;
    filter: blur(2px);
    -webkit-filter: blur(2px);  
    z-index: 10;
}

.bubble span {
    position: absolute;
    border-radius: 50%;

}

.bubble span:nth-child(1) {
    inset: 10px;
    border-left: 40px solid #0fb4ff;
    filter: blur(8px);
    -webkit-filter: blur(8px);  
}

.bubble span:nth-child(2) {
    inset: 10px;
    border-right: 30px solid #ff4484;
    filter: blur(8px);
    -webkit-filter: blur(8px);     
}

.bubble span:nth-child(3) {
    inset: 20px;
    border-top: 30px solid #c5b448;
    filter: blur(8px); 
    -webkit-filter: blur(8px);  
}

.bubble span:nth-child(4) {
    inset: 30px;
    border-left: 30px solid #ff4484;
    filter: blur(12px);
    -webkit-filter: blur(12px);     
}

.bubble span:nth-child(5) {
    inset: 10px;
    border-bottom: 20px solid #fff;
    filter: blur(8px); 
    -webkit-filter: blur(8px);    
    transform: rotate(330deg);
}

@media (max-width: 480px) {
    .bubble:nth-child(1) {
        left: -100px;
    }
    
}
