/* Importing Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

}

section {
    height: 100vh;
    width: 100%;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
}

section .loader {
    height: 25px;
    width: 25px;
    /* background: white; */
    position: relative;
}

.loader .ball{
    position: absolute;
    height: 25px;
    width: 25px;
    background: blue;
    border-radius: 50%;
}

.loader .upper {
    left: 0;
    top: -25px;
    background: #ff0000;
    animation: upper 1.5s infinite;
}

@keyframes upper {
    50% {
        top: 25px;
        background: #0dff00;
    }
}

.loader .right {
    bottom: 0;
    right: -25px;
    background: #002aff;
    animation: right 1.5s infinite;
}

@keyframes right {
    50% {
        right: 25px;
        background: #eaff00;
    }
}

.loader .lower {
    right: 0;
    bottom: -25px;
    background: #0dff00;
    animation: lower 1.5s infinite;

}

@keyframes lower {
    50% {
        bottom: 25px;
        background: #ff0000;
    }
}

.loader .left {
    bottom: 0;
    left: -25px;
    background: #eaff00;
    animation: left 1.5s infinite;
}

@keyframes left {
    50% {
        left: 25px;
        background: #002aff;
    }
}