@font-face {
    font-family: 'cooperb';
    src: url('media/fonts/cooperb.eot'), url('media/fonts/cooperb.ttf'), url('media/fonts/cooperb.woff');
}

body {
    font-family: "cooperb", sans-serif;
    background-color: #FFFAD4;
    
    /* background-image: url("media/images/background.png");
      height: 100%;
      width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%; */
   
}

button{
    border:none;
    background-color: #e72446;
    padding: 8px 16px;
    font-size: 25px;
    color: white;
    margin-bottom: 1em;
    text-align: center;
    font-family: 'avenir-black', sans-serif;
    border-radius: 10px;
    box-shadow: inset 0 0 5px #5f0517; 
    cursor: pointer;  
}
button:disabled{
    color:black; 
    background: #ddd;
    box-shadow: inset 0 0 5px black; 
}

::-webkit-scrollbar {
  width: 10px;
  background: white;
  border-radius: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 5px #1e3c55; 
  background: #ff9f1d;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ff9500; 
}
/*TOP NAVIGATION BAR*/
.topnav {
    overflow: hidden;
    background-color: #e10038;
    padding: 0;
    border-bottom: 2px solid #065b66;
    color:white;
}

.topnav a {
    float: right;
    display: block;
    color: #065b66;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    margin: 0;
}

.topnav a:not(:first-child) {
    padding: 8px;
}

.topnav a.navi {
    cursor: pointer;
}

.topnav a.navi:hover {
    opacity: 0.8;
}


.topnav a.navi.active {
    background-color: #ffb33e;
    color: white;
}

.topnav a#brand {
    padding: 8px;
    padding-left: 36px;
    height: 37px;
    float: left;
}

.topnav a#brand img {
    display: block;
    height: 100%;
    width: auto;
}

.topnav .social-share {
    height: 37px;
}

.topnav .social-share img {
    display: block;
    height: 100%;
    width: auto;
}

.topnav .terms {
    line-height: 37px;
    color:white;
}

.social-bar {
    display: none;
    position: fixed;
    right: 6px;
    top: 50%;
    width: 38px;
    -webkit-transform: translateY(-50%);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-50%);
    /* IE 9 */
    transform: translateY(-50%);
    /* Firefox 16+, IE 10+, Opera */
}

.social-bar a {
    display: inline-block;
    width: 38px;
}

.social-bar a img {
    display: block;
    width: 100%;
    opacity: 0.7;
}

.social-bar a img:hover {
    opacity: 1;
}

/*CONTAINER - BANNER - STEPS*/
.container {
    text-align: center;
    margin-top: 30px;
    margin-left: 13.5%;
    margin-right: 13.5%;
}

img#ready {
    width: 80%;
    margin-top: 3vh !important;
    margin-bottom: 3vh !important;
}

img#banner {
    width: 100%;
    /*height: 20vh;*/
    margin-bottom: 0 !important;
}

.steps {
    margin: 30px 0;
}

.steps img {
    width: 86%;
    margin: auto;
}

/*GAME - LEADERBOARD*/

div#countdown {
    margin: 1.2em;
    text-align: center;
}

.fb-like {
    text-align: center;
}

.game {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    background-color: #ffffff;
}

.game-wrapper,#game-preview {
    max-width: 960px;
    max-height: 640px;
    width: 48vw;
    height: 32vw;
    background-image: url("media/images/game-preview.png");
    background-size: cover;
    background-color: #ffffff;
    margin: auto;
}
#game-preview{
    display: none;
}
button#playnow {
    display: none;
    color: white;
    border: none;
    background-color: #003057;
    padding: 8px 16px;
    font-size: 25px;
    width: 70%;
    margin: 2em auto 0.65em auto;
    text-align: center;
    font-family: 'avenir-black', sans-serif;
    border-radius: 10px;
    box-shadow: inset 0 0 5px #5f0517; 
    cursor: pointer;
}

.leaderboard {
    margin-top: 1vh;
    max-width: 960px;    
    max-height: 540px;    
    width: 48vw;
    height: 50vh;
    /*box-sizing: border-box;*/
}

.leaderboard-wrapper {
    width: 70vw;
    /*height: 100%;*/
    /*max-height: 400px;*/
    /*border: 3px solid #FFF;*/
    margin: auto;
    margin-bottom: 30px;
    margin-top: 3vh;
}

.content-desktop {
    display: block;
}

.content-mobile {
    display: none;
}

.ready-play {    
    margin: 3vh auto auto auto;
    font-family: "avenir-black";
    color:white;
    font-size:2.7em;
}

.game-leaderboard * {
    box-sizing: border-box;
}

.notification {
    font-family: 'avenir-book', sans-serif;
    font-size: 16px;
    color: #065b66;
    text-align: center;
    padding: 8px 20px 0 20px;
    width: 90%;
    min-width: 300px;
    max-width: 600px;
    display: block;
    margin: auto;
}

.notification ol {
    color:white;
    background: rgba(0,0,0,0.4);
    margin-top: 6px;
    padding: 4px;
    border-radius: 4px;
}

/*FOOTER*/
footer {
    margin-bottom: 37.5%;
    text-align: center;
}

.button-wrap {
    width: 35%;
    margin: auto;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    justify-content: center;
}

.btn {
    box-sizing: border-box;
    text-decoration: none;
    margin: 1% 5%;
    padding: 0;
    border-radius: 32px;
    width: 30%;
    min-width: 40px;
}

.btn img {
    display: block;
    margin: 0;
    width: 100%;
}

.btn img:hover {
    opacity: 0.8;
}

.subfooter {
    text-align: center;
    font-size: 15px;
    background-color: #ab012c;
    color: #FFF;
    padding: 14px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 40px 0px 0px 0px;
}

a#mjs {
    color: #fff200;
}

.fb-buttons {
    text-align: center;
    margin: 0.9em auto 0.6em auto;
}

/*MEDIA QUERIES*/
@media screen and (max-width: 950px) {
    .container {
        margin-left: 5%;
        margin-right: 5%;
    }

    img#intro {
        margin-top: 0 !important;
    }

    .leaderboard-wrapper {
        width: 70%;
        /* height: 36vw; */
    }

    .game-wrapper {
        width: 78vw;
        height: 52vw;
        margin: auto;
    }

    .ready-play {
        font-size: 3vw;
        line-height: 6vw;
        margin-top: 1em;
    }

    .notification {
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .shown-buttons,
    div#countdown {
        display: none;
    }
}

@media only screen and (max-width: 612px) {
    .steps img {
        width: 50%;
    }

    .notification {
        font-size: 11px;
    }

    .mjs-copyright {
        font-size: 11px;
    }
}

@media only screen and (max-width: 555px) {
    .notification {
        padding-left: 5px;
        padding-right: 5px;
    }

    .container {
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
    }

    .game-wrapper, #game-preview {
        width: 90vw;
        height: 50.625vw;
    }

    .leaderboard-wrapper {
        width: 90vw;
        margin-top: 0px;
        /*height: 50.625vw;*/
    }

    .leaderboard {
        width: 90vw;
        /*height: 50.625vw;*/
    }

    .ready-play {
        font-size: 4.5vw;
        margin-bottom: 0.2em;
        line-height: 7vw;
        margin-top: 3vh;
    }

    .game {
        display: none;
    }
    
    button#playnow, #game-preview{ 
        display: block;
    }

    .button-wrap {
        width: 46%;
    }

    .topnav .social-share {
        display: none;
    }

    .social-bar {
        display: block;
    }

    #intro {
        width: 98% !important;
    }
}

@media only screen and (max-width: 446px) {
    .topnav a.terms {
        font-size: 13px;
        margin: 0;
        width: 30%;
        padding: 10px;
        line-height: 16px;
    }
}