.preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #ffffff;
    opacity: 0.6;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/backgrounds/preloader.svg);
    background-size: 80px;
}

#loader {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#loader::after {
    content: "";
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 55px;
    height: 55px;
    border-style: solid;
    border-color: #007bff;
    border-top-color: transparent;
    border-width: 3px;
    border-radius: 50%;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

/* Styles for mobile view */
@media only screen and (max-width: 767px) {
    .web-view {
        display: none;
    }
}

/* Styles for web view */
@media only screen and (min-width: 768px) {
    .mobile-view {
        display: none;
    }
}
