@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

section {
    height: 100vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

section .loader {
    height: 25px;
    width: 25px;
    position: relative;
}

.loader .ball {
    position: absolute;
    height: 25px;
    width: 25px;
    border-radius: 50%;
}


.loader .upper{
    left: 0;
    top: -25px;
    background: #2da2ff;
    animation: upper 1s infinite;
}

@keyframes upper {
    50%,100% {
        top: 25px;
    }
}

.loader .right{
    bottom: 0;
    right: -25px;
    background: #ff337a;
    animation: right 1s infinite;
}

@keyframes right {
    50%,100% {
        right: 25px;
    }
}

.loader .lower{
    bottom: -25px;
    right: 0;
    background: #ffff00;
    animation: lower 1s infinite;
}

@keyframes lower {
    50%,100% {
        bottom: 25px;
    }
}

.loader .left{
    left: -25px;
    bottom: 0;
    background: #00ff00;
    animation: left 1s infinite;
}

@keyframes left {
    50%,100% {
        left: 25px;
    }
}