@keyframes hideLoader {
    0% {
        width: 100%;
        height: 100%
    }

    100% {
        width: 0;
        height: 0
    }
}

body>div.loader {
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 1071;
    opacity: 0;
    transition: opacity .5s ease;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center
}

body:not(.loaded)>div.loader {
    opacity: 1
}

body:not(.loaded) {
    overflow: hidden
}

body.loaded>div.loader {
    animation: hideLoader .5s linear .5s forwards
}

.loading-animation {
    width: 40px;
    height: 40px;
    margin: 100px auto;
    background-color: #bff5e7;
    border-radius: 100%;
    animation: pulse 1s infinite ease-in-out
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0
    }
}