﻿
.loader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
}

    .loader .dot {
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background-color: var(--medium-dark-grey);
        position: relative;
    }

        .loader .dot:nth-child(1) {
            -webkit-animation: 1.2s grow ease-in-out infinite;
            animation: 1.2s grow ease-in-out infinite;
        }

        .loader .dot:nth-child(2) {
            -webkit-animation: 1.2s grow ease-in-out infinite 0.15555s;
            animation: 1.2s grow ease-in-out infinite 0.15555s;
            margin: 0 20px;
        }

        .loader .dot:nth-child(3) {
            -webkit-animation: 1.2s grow ease-in-out infinite 0.3s;
            animation: 1.2s grow ease-in-out infinite 0.3s;
        }

@-webkit-keyframes grow {
    0%, 40%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes grow {
    0%, 40%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
