
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    min-height: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Tahoma;
    font-size: 14px;
    position: relative;
    z-index: 0;
    line-height: 1.5;
    color: #000000;
}
body, main {
    height: 100%;
    min-height: 100vh;
}
body a {
    color: #fff;
}
.head {
    background-color: #ff0e0e;
    align-items: center;
    display: flex;
}
#logo {
    margin: 3px 3% 0 5px;
}
#logo img {
    border-radius: 10px;
    width: 40px;
    height: 40px;
}
.head nav {
    display: flex;
    flex-grow: 2;
    align-items: center;
}
.head nav a {
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 10px;
    margin-right: 10px;
    border: 2px solid #ff6f6f;
}
.search {
    display: flex;
    justify-content: flex-end;
    line-height: 44px;
    height: 34px;
}
.searchBox {
    position: absolute;
    z-index: 999999;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 9, 17, 0.9);
    display: none;
}
.searchBox input {
    width: 96%;
    background: none;
    border: none;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: medium;
    outline: none;
    color: #fff;
    box-shadow: none;
    font-size: 120%;
    margin: 1% 2%;
    padding: 5px;
    border-bottom: solid thin #2f4a68;
}
.close {
    background: url(../images/icons1.png) no-repeat;
}
.close {
    width: 20px;
    height: 20px;
    background-position: -54px 0px;
    position: absolute;
    top: 18px;
    right: 15px;
    cursor: pointer;
}
main {
    background-color: #ffde65;
    display: flex;
}
.wrap {
    flex-wrap: wrap;
}
.cblock {
    width: 100%;
}
.ctg {
    display: none;
}
.leftC {
    width: 70%;
}
.rightC {
    width: 30%;
    padding: 5px;
}
#iframeGame {
    display: block;
}
.game {
    color: #333;
    margin: 10px 8px 10px 8px;
    box-shadow: 0 0 3px 0 #9e9e9e;
}
.game > div {
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 7px 10px;
    align-items: center;
}
.title2 {
    font-size: 18px;
    font-weight: 600;
}
.rRight {
    display: flex;
}

.rating {
    display:-ms-flexbox;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#ratingDiv span {
    padding: 0 5px;
}

.starRating {
    width: 175px;
    height: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    background: url(../images/star.png) 0 -2px;
}

.starRating a:active, .starRating a:focus, .starRating a:hover {
    background: url(../images/star.png) 0 -60px
}

.starRating li.current-rating {
    background-position: 0 -32px;
    text-indent: -1000px;
    background-image: url(../images/star.png)
}

.starRating li {
    height: 23px;
    float: left;
}

.starRating a {
    height: 24px;
    line-height: 24px;
    position: absolute;
    top: 0;
    left: 0;
    text-indent: -1000em;
    outline: 0;
    overflow: hidden;
    border: none
}

.starRating a.onestar {
    width: 10%;
    z-index: 11
}

.starRating a.twostars {
    width: 20%;
    z-index: 10
}

.starRating a.threestars {
    width: 30%;
    z-index: 9
}

.starRating a.fourstars {
    width: 40%;
    z-index: 8
}

.starRating a.fivestars {
    width: 50%;
    z-index: 7
}

.starRating a.sixstars {
    width: 60%;
    z-index: 6
}

.starRating a.sevenstars {
    width: 70%;
    z-index: 5
}

.starRating a.eightstars {
    width: 80%;
    z-index: 4
}

.starRating a.ninestars {
    width: 90%;
    z-index: 3
}

.starRating a.tenstars {
    width: 100%;
    z-index: 2
}

.votes {
    padding: 0 8px 0 2px;
}
.fullscreen {
    background: #ff9b00 url(../images/icons1.png) no-repeat;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 14px;
    cursor: pointer;
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}
.fullscreen, .fullscreen:hover {
    background-position: 6px -29px;
}

.moreGames {
    padding: 1.4%;
    margin-bottom: 1%;
}
.moreGames, .popGames {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5px 10px 5px;
}
.moreGames a {
    max-width: 140px;
    max-height: 140px;
    min-width: 120px;
    margin: 7px 0 7px 5px;
}
.g a {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.24);
}
.g a img {
    position: static;
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    margin: 0;
}
.g a div, .g a span {
    position: absolute;
    bottom: -50%;
    left: 0;
    right: 0;
    font-weight: 700;
}
.g a div {
    text-align: center;
    background-color: rgba(0, 0, 0, .75);
    padding: 7% 10px;
    margin-bottom: 0;
    width: 100%;
    height: 0%;
    line-height: 1.5;
}
.g a span {
    font-size: 16px;
    padding: 2px;
    margin: auto;
    width: 40%;
    background-color: #72d825;
    border-radius: 7px;
    text-align: center;
}
.g a p {
    display: none;
}

.g a:hover {
    border: 3px solid #fff;
    transition: border-color .3s linear;
}

.g a:hover div {
    bottom: 0;
    height: 100%;
    transform: translate(0, 0);
}

.g a span:hover {
    background-color: #f5c31a;
}
.moreGames a img {
    width: 140px;
    height: 140px;
}
.popGames a {
    width: 32%;
    max-width: 140px;
    margin: 7px 0;
}
.popGames a img {
    width: 100%;
    height: 100%;
}
.button-more {
    width: 100%;
    text-align: center;
    padding: 7px;
    margin-top: 10px;
    font-size: 110%;
    cursor: pointer;
    height: 37px;
    background: linear-gradient(90deg,rgba(30,87,153,0), rgba(255, 0, 0, 0.3) 50%,rgba(125,185,232,0));
    color: #fff;
}
.title {
    font-size: 16px;
    font-weight: 700;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    margin: 0;
}
h2 {
    margin: 0;
}
.comments {
    padding-top: 10px;
}
.commentArea {
    color: #555;
}
.commentArea .text {
    line-height: 1.3;
}
#comments {
    margin: 0 0 30px 0;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 400px;
}
.comment {
    border-top: 1px solid #999;
    padding: 20px 5px;
}
.commentTop {
    color: #7a7a7a;
    font-size: 85%;
    line-height: 200%;
}
.commentTop div {
    display: inline-block;
    color: #f00;
    font-size: 130%;
    margin-right: 5px;
    font-weight: bold;
}
.comment p {
    margin: 0;
    letter-spacing: .05rem;
}
.commentText, #name, #email {
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
    border: solid 1px #e2e2e2;
}
#commentButton {
    cursor: pointer;
    font-family: Barlow, sans-serif;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background-color: #000;
    padding: 7px 12px;
    outline: 0;
    float: right;
}
.privacy {
    padding: 5px 20px;
}
footer {
    color: #fff;
    background-color: #000;
    padding: 10px;
    text-align: center;
}
footer p {
    margin: 0;
}
.social a {
    background: url(../images/icons1.png) no-repeat;
}

.social {
    float: right;
}
.social a {
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 0 3px;
}
.social a:hover {
    opacity: .4;
}
.social a:first-child {
    background-position: -74px -26px;
}
.social a:nth-child(2) {
    background-position: -74px -57px;
}
.social a:nth-child(3) {
    background-position: -74px -88px;
}
.social a:nth-child(4) {
    background-position: -74px -119px;
}

@media only screen and (max-width: 1400px) {

    .leftC {
        width: 65%;
    }
    .rightC {
        width: 35%;
    }
}

@media only screen and (max-width: 1200px) {

    .popGames a {
        width: 48%;
    }
    .leftC {
        width: 73%;
    }
    .rightC {
        width: 27%;
    }
}

@media only screen and (max-width: 1050px) {

    .rating {
        display: none;
    }
    .leftC {
        width: 68%;
    }
    .rightC {
        width: 32%;
    }
}

@media only screen and (max-width: 840px) {

    .popGames {
        display: none;
    }
    main {
        flex-wrap: wrap;
    }
    .leftC, .rightC {
        width: 100%;
    }
}

@media only screen and (max-width: 450px) {

    .moreGames {
        justify-content: space-around;
    }
}
