﻿.loader {
    transform: translateZ(1px);
    top: 40% !important;
    margin-left: 45%;
    position: relative;
}


@media (max-width: 500px) {

    .loader {
        transform: translateZ(1px);
        top: 40% !important;
        margin-left: 40%;
        position: relative;
    }
}

.loader:after {
    content: '$';
    display: inline-block;
    width: 81px;
    height: 75px;
    border-radius: 50%;
    text-align: center;
    line-height: 65px;
    font-size: 32px;
    font-weight: bold;
    background: #FFD700;
    color: #DAA520;
    border: 4px double;
    box-sizing: border-box;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, .1);
    animation: coin-flip 4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes coin-flip {
    0%, 100% {
        animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    }

    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(1800deg);
        animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
    }

    100% {
        transform: rotateY(3600deg);
    }
}
