.mask_bg_color {
    background-color:chocolate;
    background-image: linear-gradient(to right, rgba(0,0,0,0.3) , rgba(0,0,0,0.7) , rgba(0,0,0,0.3)) , url(../img/office-time.webp);
}
#animContainer {
    position: relative;
    height: 500px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: url(../img/animation/coins.png) top left;
    zoom:75%;
    opacity: 0.33;
}

/* Defines the position and dimensions of the coinContainer div */
#coinContainer 
{
    position: absolute;
    width: 100%;
    height: 100%;
    left:33%;
}

@media (max-width: 479px) {
	#animContainer {
        zoom: 50%;
    }
    #coinContainer 
    {
        left:5%;
    }
}
@media (min-width: 480px) and (max-width: 767px) {
	#animContainer {
        zoom: 60%;
    }
    #coinContainer 
    {
        left:15%;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
	#animContainer {
        zoom: 70%;
    }
    #coinContainer 
    {
        left:25%;
    }
}

#coinContainer > div 
{
    position: absolute;
    width: 100px;
    height: 100px;
    
    /* We use the following properties to apply the fade and drop animations to each coin.
       Each of these properties takes two values. These values respectively match a setting
       for fade and drop.
    */
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-direction: normal, normal;
    -webkit-animation-timing-function: linear, ease-in;
}

/* This CSS rule is applied to all img elements directly inside div elements which are
   directly inside the coinContainer div. In other words, it matches the 'img' elements
   inside the coinDivs which are created in the createAcoin() function.
*/
#coinContainer > div > img {
     position: absolute;
     width: 100px;
     height: 100px;

    /* We use the following properties to adjust the clockwiseSpin or counterclockwiseSpinAndFlip
       animations on each coin.
       The createAcoin function in the Leaves.js file determines whether a coin has the 
       clockwiseSpin or counterclockwiseSpinAndFlip animation.
    */
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-direction: alternate;
     -webkit-animation-timing-function: ease-in-out;
     -webkit-transform-origin: 50% -100%;
}


/* Hides a coin towards the very end of the animation */
@-webkit-keyframes fade
{
    /* Show a coin while into or below 95 percent of the animation and hide it, otherwise */
    0%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { opacity: 0; }
}


/* Makes a coin fall from -300 to 600 pixels in the y-axis */
@-webkit-keyframes drop
{
    /* Move a coin to -300 pixels in the y-axis at the start of the animation */
    0%   { -webkit-transform: translate(0px, -50px); }
    /* Move a coin to 600 pixels in the y-axis at the end of the animation */
    100% { -webkit-transform: translate(0px, 450px); }
}

/* Rotates a coin from -50 to 50 degrees in 2D space */
@-webkit-keyframes clockwiseSpin
{
    /* Rotate a coin by -50 degrees in 2D space at the start of the animation */
    0%   { -webkit-transform: rotate(-50deg); }
    /*  Rotate a coin by 50 degrees in 2D space at the end of the animation */
    100% { -webkit-transform: rotate(50deg); }
}


/* Flips a coin and rotates it from 50 to -50 degrees in 2D space */
@-webkit-keyframes counterclockwiseSpinAndFlip 
{
    /* Flip a coin and rotate it by 50 degrees in 2D space at the start of the animation */
    0%   { -webkit-transform: scale(-1, 1) rotate(50deg); }
    /* Flip a coin and rotate it by -50 degrees in 2D space at the end of the animation */
    100% { -webkit-transform: scale(-1, 1) rotate(-50deg); }
}