/*Stylesheet*/
body, html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    margin: 0;
    padding: 0;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #ccc;
    background-color: #61bce9;
    overflow: hidden;
}

#orientation {
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/rotate_portrait.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgb(0, 0, 0);
    background-size:25%;
    z-index: 999;
    display: none;
}

#loader {
    width: 100%;
    height: 50px;
    position: absolute;
    text-align: center;
    margin-top: 250px;
    display: block;
}

#loader,
#loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
#loader {
    margin: 60px auto;
    font-size: 10px;
    position: absolute;
    z-index: 99;
    left: 50%;
    top: 50%;
    margin-left: -5em;
    margin-top: -5em;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

#h5branding-version{
    display: none;
}

#more-games-container {
    display: none;
    position: absolute;
    background-color: rgba(38, 70, 83, 0.7);
    top: calc(100vh - 120px);
    left: 0;
    height: 100px;
    width: 99%;
    border-radius: 5px;
    padding: 10px;
    flex-direction: row;
    justify-content: space-evenly;
    animation: 500ms slide-up;
    margin-top:0%;
}

#more-games-title {
    display: none;
    position: absolute;
    top: calc(100vh - 170px);
    left: 0;
    height: 20px;
    width: 99%;
    padding: 10px;
    justify-content: space-evenly;
    animation: 700ms slide-up;
    margin-top:0%;
    font-size: 20px;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.7) 0 2px 4px;
    font-family: '182_Arial Black';
}

.more-games-item {
    margin: 0 20px;
    padding: 5px;
    animation: bounce 750ms cubic-bezier(0, 1.5, 0.8, 1) both;
}

.more-games-image {
    background-size: contain;
    height: 60px;
    width: 60px;
    margin: 0 auto;
    cursor: pointer;
}

.more-games-text {
    text-align: center;
    padding-top: 12px;
    animation: bounce 750ms cubic-bezier(0, 1.5, 0.8, 1) both;
    animation-delay: 500ms;
    min-width: 80px;
    font-weight: bold;
}

#game-0 {
    animation-delay: 500ms;
}
#game-1 {
    animation-delay: 600ms;
}

#game-2 {
    animation-delay: 700ms;
}

#game-3 {
    animation-delay: 800ms;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes slide-up {
    from {
        margin-top: 100%;
        height: 300%;
    }

    to {
        margin-top: 0%;
        height: 100%;
    }
}

@keyframes bounce {
    0%       { margin-top:120px; }
    100%      { margin-top:0; }
}

@media screen and (max-width: 550px) {
    .more-games-image {
        height: 40px;
        width: 40px;
    }

    .more-games-item {
        margin: 0 5px;
    }
}

@media screen and (max-height: 450px) {
    .more-games-image {
        height: 30px;
        width: 30px;
    }

    .more-games-item {
        margin: 0 3px;
    }

    #more-games-container {
        top: calc(100vh - 90px);
    }

    #more-games-title {
        top: calc(100vh - 130px);
        font-size: 16px;
    }
}

@media screen and (max-height: 360px) {
    #more-games-container {
        display: none;
    }

    #more-games-title {
        display: none;
    }
}
