@font-face {
    font-family: 'super-comic';
    src: url('media/fonts/super-comic.eot'), url('media/fonts/super-comic.ttf'), url('media/fonts/super-comic.woff');
}

body {
    font-family: "super-comic", sans-serif;
    background-color: #231f20;
    /*background-image: url("media/images/background.png");*/
      height: 100%;
      width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

button{
    display: none;
    border:none;
    background-color: #f8a617;
    padding: 8px 25px;
    font-size: 25px;
    color: #aa0c14;
    margin-bottom: 1em;
    text-align: center;
    font-family: 'super-comic', sans-serif;
    border-radius: 5px;
    /*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: 20px;
  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 #5f0517;
  background: #ca1238;
  border-radius: 10px;
}*/

/* Handle on hover */
/*::-webkit-scrollbar-thumb:hover {
  background: #e01c40;
}/*/
/*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: 10px;
}

img#imageText {
    width: 100%;
    margin-bottom: 10px;
    max-width: 700px;
}

.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: #231f20;
}

.game-wrapper,
#game-preview {
	max-width: 480px;
    max-height: 640px;
    width: 39.75vw;
    height: 53vw;
    background-image: url("media/images/game-preview-portrait.png");
    background-size: cover;
    background-color: #231f20;
    margin: auto;
}
#game-preview{
    display: none;
}

button#playnow {
    color: #FFFFFF;
    border: none;
    background-color: #ef4849;
    padding: 8px 16px;
    font-size: 25px;
    width: 60%;
    margin: 0.5em auto 0.65em auto;
    text-align: center;
    font-family: 'super-comic', sans-serif;
    border-radius: 11px;
    cursor: pointer;
}

button#btnterms{
    display: block;
    color: #FFFFFF;
    border: none;
    background-color: #ef4849;
    padding: 8px 16px;
    font-size: 25px;
    width: 60%;
    margin: 0.5em auto 0.65em auto;
    text-align: center;
    font-family: 'super-comic', sans-serif;
    border-radius: 11px;
    cursor: pointer;
}
button#btnback{
    display: block;
    color: #FFFFFF;
    border: none;
    background-color: #ef4849;
    padding: 8px 16px;
    font-size: 25px;
    width: 60%;
    margin: 0.5em auto 0.65em auto;
    text-align: center;
    font-family: 'super-comic', sans-serif;
    border-radius: 11px;
    cursor: pointer;
}

.leaderboard {
    margin-top: 1vh;
    max-width: 960px;
    max-height: 540px;
    width: 48vw;
    height: 50vh;
    /*padding:20px 40px 0px 40px;
    background-color: #5f202d;*/
    /*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: "super-comic";
    color:white;
    font-size:1.5em;
    margin-bottom: 10px
}

.terms-title {
    font-family: "arial";
    color:white;
    font-size:2.5em;
    margin-bottom: 12px
}
.terms-text {
    font-family: "arial";
    color:white;
    font-size:1em;
    text-align: left;
}

.termslink {
    margin-bottom: 15px;
}

.termslink a {
    color:white;
    font-size:1.2em;
    margin-bottom: 15px;
}

.catch {
    padding-top: 20px;
    margin: auto auto auto auto;
    font-family: "super-comic";
    color:white;
    font-size:3em;
}

.game-leaderboard * {
    box-sizing: border-box;
}

.notification {
    font-family: 'super-comic', 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;
    }

    img#imageText {
        width: 100%;
        margin-bottom: 10px;
        max-width: 500px;
    }

    .ready-play {
        /*margin: 3vh auto auto auto;*/
        font-family: "super-comic";
        color:white;
        font-size:1.3em;
        margin-bottom: 10px
    }

    .terms-title {
        font-family: "arial";
        color:white;
        font-size:2em;
        margin-bottom: 12px
    }
    .terms-text {
        font-family: "arial";
        color:white;
        font-size:1em;
        margin-bottom: 12px;
        text-align: left;
    }

    .termslink a {
        color:white;
        font-size:1em;
        margin-bottom: 15px;
    }

    .leaderboard-wrapper {
        width: 70%;
        /* height: 36vw; */
    }

    .game-wrapper {
        width: 45vw;
        height: 60vw;
        margin: auto;
    }

    .catch {
        font-size: 4vw;
        margin-top: 1em;
        line-height: 5vw;
    }

    .notification {
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .shown-buttons,
    div#countdown {
        display: none;
    }
}

@media only screen and (max-width: 555px) {
    .notification {
        padding-left: 5px;
        padding-right: 5px;
    }


    img#banner {
        width: 95%;
        /*height: 20vh;*/
        margin-bottom: 5px;
    }

    img#imageText {
        width: 90%;
        margin-bottom: 5px;
        max-width: 250px;
    }


    .ready-play {
        /*margin: 3vh auto auto auto;*/
        font-family: "super-comic";
        color:white;
        font-size:1em;
        margin-bottom: 7px
    }

    terms-title {
        font-family: "arial";
        color:white;
        font-size:1.5em;
        margin-bottom: 12px
    }
    terms-text {
        font-family: "arial";
        color:white;
        font-size:0.8em;
        margin-bottom: 12px;
        text-align: left;
    }

    .termslink a {
        color:white;
        font-size:0.8em;
        margin-bottom: 15px;
    }

    .container {
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
    }

    .game-wrapper,
    #game-preview {
        width: 50.625vw;
        height: 90vw;
    }

    .leaderboard-wrapper {
        width: 90vw;
        margin-top: 0px;
        /*height: 50.625vw;*/
    }

    .leaderboard {
        width: 90vw;
        /*height: 50.625vw;*/
    }

     .catch {
        font-size: 4.5vw;
        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;
    }
}
