@keyframes animatedBackground {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 100% 0;
    }
  }
.stock-wrap-game {
    font-family: 'Montserrat';
    text-align: center;    
    min-height: 100vh;
    max-height: 100%;
    background: black;
}
.game {
    width: 100%;
    max-width: 532px;
    height: 250px;
    border: 4px solid white;
    border-radius: 10px;
    margin: 0px 8px;
    position: relative;
    background-image: url("../img/wrap/cloud-background.png");
    /* background: white; */
    overflow: hidden;
    
}
.mt-32 {
    margin-top: 32px;
}
.game video {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    object-fit: cover;
    z-index: 0;
}
.game-track {
    position: absolute;
    top: 190px;
    border-bottom: 1px solid #000;
    margin-bottom: 16px;
    width: 100%;
}
.background-animation {
    background-position: 0px 0px;
    background-repeat: repeat-x;
    animation: animatedBackground 8s linear infinite;
}
#character {
    z-index: 20;
    /* background-color: red; */
    position:absolute;
    display: block;
    background-size: 100%;
    background-repeat: no-repeat;
}

#smartBanner1 .wrap-game-text {
    font-size: 16px;
    font-weight: bold;
    padding: 0;
}

#monthText {
    padding: 4px 8px;
    margin: auto;
    max-width: 500px;
    /* font-weight: bold; */
    font-size: 14px;
    color: #fff;
    width: 100%;
    position: absolute;
    top: 95px;
}

#monthDescriptionText {
    padding: 8px;
    margin: auto;
    width: 100%;
    max-width: 500px;
    padding-top: 0;
    font-weight: bold;
    color: white;
    font-size: 15px;
    margin-bottom: 0px;
    margin-top: 0px;
}

#cardText {
    width: 100%;
    margin: auto;
    max-width: 500px;
    font-weight: 900;
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 70px;
    /* background-image: linear-gradient(to right, #4C1CE5, #4E1CE2, #511CBC, #511CA2, #521B94) !important; */
}

#cardSubText {
    width: 100%;
    padding-top: 8px;
    margin: auto;
    max-width: 500px;
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    color: white;
    background: #000;
}

#skipButton {
    position: absolute;
}

.animate{
    animation: jump 2s linear;
}

#scoreSpan {
    margin-top: 8px;
    font-weight: bold;
}

.wrap-game-content {
    /* position: absolute;
    top: 0; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 16px;
    margin: 16px 0;
}

@keyframes jump {
    0%{top: 150px;}
    30%{top: 150px;}
    70%{top: 150px;}
    100%{top: 150px;}
}

@keyframes jumping {
    0%{top: 90px;}
    15% {top: 60px;}
    30%{top: 30px;}
    50%{top: 60px;}
    70%{top: 90px;}
    100%{top: 150px;}
}

#block {
    /* background-color: blue; */
    width: 32px;
    height: 32px;
    position: absolute;
    top: 200px;
    left: 450px;
    background-image: url('../img/wrap/speed-limit.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}
#block.block-left {
    left: 28px;
    
}
.block-animate {
    animation: block 4s infinite linear;
}
@keyframes block {
    0%{left: 500px}
    100%{left: 0px}
}
.stock-wrap-2021 p {
    text-align: center;
}

.stock-wrap-game p {
    text-align: center;
}

.hide-replay {
    display: none;
}
.show-replay {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    top: 0;
    left: 8px;
    right: 8px;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
    border-radius: 10px;
    color: white;
}
.game-replay-text {
    width: 32px;
    height: 32px;
    
    background: url("../img/wrap/reload.png");
    background-size: 100%;
}
.my-16 {
    margin-top: 16px;
    margin-bottom: 16px;
}
.stock-wrap-title{
    font-size: 24px;
    font-weight: bold;
    color: white;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    width: 100%;
    padding: 24px 64px;
    margin-bottom: 0;
    /* background-image: url('../img/wrap/heading_purple.png');
    background-size: 100%;
    background-repeat: no-repeat; */
}
.desktop-only {
    display: none;
}
.stock-wrap-title img {
    max-width: 100%;
    max-height: 110px;
}

.stock-wrap-game  .social-list li a {
    color: white;
    opacity: 1;
}
.stock-wrap-game .social-list-wrap ul li span {
    font-size: 24px;
}
.stock-wrap-buttons {
    background: white;
    padding: 8px;
    padding-top: 16px;
    
}
.pt-16 {
    padding-top: 16px;
}

.py-16 {
    padding-top: 16px;
    padding-bottom: 16px;
}
.stock-wrap-game-heading {
    padding: 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(to right, #4C1CE5, #4E1CE2, #511CBC, #511CA2, #521B94) !important;
}
.hide-play {
    width: 48px;
    display: none;
    margin: auto;
    margin-top: 24px;
    left: 45%;
}
.hide-play img {
    max-width: 100%;
}

@keyframes fade {
  0%,100% { opacity: 0.4 }
  50% { opacity: 1 }
}
.show-play {
    display: block;
    opacity: 1;
    animation: fade 5s infinite linear;
}
.stock-wrap-game-heading a {
    line-height: 0;
}
.white-cta-button {
    background: #fff;
    color: #521b94;
    font-size: 16px;
    border-radius: 30px;
    padding: 6px 16px;
    font-family: 'Montserrat';
    font-weight: 700;
    border: none;
    line-height: 30px !important;
}
.white-cta-button:hover {
    color: #521b94;
}
.white-cta-button:focus {
    outline: none;
}
.wrap-game-text {
    flex-grow: 1;
    padding: 0 8px;
    color: white;
    font-size: 15px;
    line-height: 16px;
    text-align: left;
}
.social-list-wrap {
    position: fixed;
    bottom: 0px;
    width: 100%;
    /* background-image: linear-gradient(to right, #4C1CE5, #4E1CE2, #511CBC, #511CA2, #521B94) !important; */
    border-top-left-radius: 50% 48px;
    border-top-right-radius: 50% 48px;
    height: 48px;
    display: flex;
    justify-content: center;
}
.game-container {
    position: relative;
    display: flex;
    justify-content: center;
}
.goodies-win-text {
    color: white;
    display: none;
    margin-top: 8px;
    padding: 8px;
}
.goodies-win-text.show {
    display: block;
}
.goodies-win-text p{
    margin-bottom: 16px;
    line-height: 14px;
    font-size: 14px;
    font-weight: bold;
}

#playQuizButton.white-cta-button{
    color: #521b94 !important;
    margin-top: 16px;
}
@keyframes runningBull{
    0%{background-image: url("../img/wrap/run1.png");}
    25%{background-image: url("../img/wrap/run3.png");}
    50%{background-image: url("../img/wrap/run5.png");}
    75%{background-image: url("../img/wrap/run3.png");}
    100%{background-image: url("../img/wrap/run1.png");}
}

#bullJump {
    margin: 32px 0;
    color: #d3acf7;
    font-weight: bold;
    opacity: 0.8;
}
.running {
    top: 160px;
    left: 20px;
    width: 75px;
    height: 80px;
    background-image: url("../img/wrap/running.png");
    
}
.running-bull {
    animation: runningBull 2s infinite;
}

.t-14 {
    font-size: 14px !important;
}
.standing {
    width: 38px;
    height: 75px;
    left: 25px;
    background-image: url('../img/wrap/standing.png') ;
    top: 125px;
    animation: none

}
.jumping {
    top: 125px;
    left: 20px;
    width: 60px;
    height: 65px;
    background-image: url("../img/wrap/running.png");
    background-size: 100%;
    animation: jumping 1s infinite linear;
    /* background-image: url('../img/wrap/jumping.png') ; */
}
.stockgro-only-logo {
    height: 32px;
    width: 32px;
}
.stockgro-only-logo img {
    max-height: 100%;
}
.social-list {
    position: relative;
    top: 10px;
}
.social-list .list-inline-item {
    margin-right: 20px;
}
.social-list .list-inline-item:last-child {
    margin-right: 0px;
}
.social-list img {
    height: 30px;
    width: 30px;
}

.hide-text {
    display: none;
}
.wrap-game-text-1, .wrap-game-text-2  {
    color: white;
    text-align: right;
    width: 100%;
    font-size: 13px;
    line-height: 15px;
    margin-top: 8px;
}

.wrap-game-text-2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 0px;
}

.flex-column {
    flex-direction: column;
}
.stock-wrap-2021 {
    min-height: 100vh;
    max-height: 100%;
    width: 100%;
    /* background-image: url('../img/wrap/bg_empty.jpg'); */
    /* background-size: 100%; */
    background: #000;
    text-align: center;
}

.play-game-button-container .white-cta-button {
    position: fixed;
    bottom: 60px;
    width: 50%;
    left: 25%;
}
.stock-wrap-2021 .goodies-win-text {
    margin-top: 0px;
    padding: 0 16px;
}
.stock-wrap-2021 .goodies-win-text p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: 'Montserrat';
    padding: 0 16px;
    color: #d3acf7
}
.purple-color-text {
    color: #d3acf7 !important;
}
.stock-wrap-flashy-logo {
    margin-bottom: 0;
    position: relative;
    top: -16px;
}

.stock-wrap-flashy-logo img {
    max-width: 100%;
}

.invite-code-value {
    background: #fff;
    border-radius: 16px;
    width: fit-content;
    padding: 8px 32px;
    margin: auto;
    margin-top: 32px;
    margin-bottom: 32px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.18px;
    color: #222127;
    opacity: 1;    
}
.copy-button {
    margin-left: 16px;
}

.copy-button img {
    position: relative;
    top: 6px;
}

.invite-code-container {
    width: 100%;
    position: fixed;
    margin: auto;
    bottom: 140px;
}

.mb-16 {
    margin-bottom: 16px !important;
}
.mt-32 {
    margin-top: 32px !important;
}
.tandc-link {
    position: fixed;
    bottom: 4px;
    left: 16px;
    font-size: 12px;
    text-decoration: underline;
}
.tandc-link .tandc-link-button {
    color: white;
}
@media (min-width: 992px) {
    .stock-wrap-title img {
        max-height: 80px;
    }
    .background-animation {
        background-position: 0px 0px;
        background-repeat: repeat-x;
        animation: animatedBackground 6s linear infinite;
    }
    .mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
        padding-bottom: 16px;
    }

    .social-list-wrap {
        right: 0;
        bottom: auto;
        /* flex-direction: column; */
        z-index: 10;
        top: 45%;
        width: auto;
    }

    .social-list {
        display: flex;
        flex-direction: column;
        margin-right: 16px;
    }
    .social-list .list-inline-item {
        margin-right: 0px;
        margin-bottom: 20px;
    }
    .social-list .list-inline-item:last-child {
        margin-bottom: 0px;
    }
    .stock-wrap-flashy-logo {
        height: 320px;
    }
    .stock-wrap-flashy-logo img {
        max-height: 100%    ;
    }
    .play-game-button-container .white-cta-button {
        bottom: 36px;
    }
    .stock-wrap-2021 .goodies-win-text {
        padding-top: 0;
    }
}