#loader {
    display: block;
    position: fixed;
    top: 0;
    z-index: 10000;
    background-color: #343434;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
}
.hollowLoader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3em;
    height: 3em;
    animation: loaderAnim 1.25s infinite ease-in-out;
    outline: 1px solid transparent;
}
.largeBox {
    height: 3em;
    width: 3em;
    background-color: #ececec;
    outline: 1px solid transparent;
}
.smallBox {
    height: 3em;
    width: 3em;
    background-color: #34495e;
    z-index: 1;
    outline: 1px solid transparent;
    animation: smallBoxAnim 1.25s alternate infinite ease-in-out;
}

@media (max-width: 768px) {
    .hollowLoader {
        top: 43%;
        left: 44%;
    }
    #loader {
        align-items: center;
        height: 102vh;
    }
}

@keyframes smallBoxAnim {
    0% {
        transform: scale(0.2);
    }
    100% {
        transform: scale(0.75);
    }
}

@keyframes loaderAnim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(90deg);
    }
}
#loader {
    display: none;
    height: 90vh !important;
    top: 10vh !important;
}
@media (max-width: 768px) {
    #loader {
        height: 96vh !important;
        top: 5.2vh !important;
    }
}
