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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh
}

.main {
    text-align: center;
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center
}

.loader>span {
    display: inline-block;
    background-color: purple;
    width: 0px;
    height: 0px;
    border-radius: 50%;
    margin: 0 8px;
    transform: translateY(0);
    animation: bounce 0.6s infinite alternate
}

.loader>span:nth-child(2) {
    background-color: palevioletred;
    animation-delay: 0.2s
}

.loader>span:nth-child(3) {
    background-color: palevioletred;
    animation-delay: 0.4s
}

@keyframes bounce {
    to {
        width: 16px;
        height: 16px;
        transform: translateY(-16px)
    }
}