* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    display: block;
}

body {
    margin: 0;
    font-size: 1rem;
    height: 100%;
    font-family: "Montserrat", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    line-height: 1.15;
    color: #212529;
    text-align: left;
    background-color: var(--color-white);
}

p {
    font-size: 1.6rem;
    line-height: 24px;
    margin: 0 0 15px 0;
}

img {
    max-width: 100%;
}

a {
    cursor: pointer;
    text-decoration: none;
    outline: none;
    background-color: transparent;
}

ul,
li {
    margin: 0;
    list-style: none;
    padding: 0;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.5rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}


/* ================================== comon ===================================== */

:root {
    --primary-color: #121212;
    --color-green: #00b82e;
    --color-white: #fff;
    --color-red: #c22d5c;
    --color-black: #000;
}

.container {
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    width: 100%;
}

.row--wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.btn {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    display: block;
    background: var(--color-green);
    text-align: center;
    border-radius: 1000px;
    -webkit-transition: all, 0.5s;
    -o-transition: all, 0.5s;
    transition: all, 0.5s;
    padding: 12px 15px;
    margin: auto;
    width: 120px;
    cursor: pointer;
}

.btn:hover {
    background: red;
}

.text-overflow {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}


/* ================================= header menu ====================================== */

.menu__icon {
    display: none;
    font-size: 22px;
    color: var(--color-white);
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid var(--color-white);
    border-radius: 2px;
    cursor: pointer;
}

.search__icon {
    position: absolute;
    color: var(--color-white);
}

.offcanvans--menu-wrap {
    top: 0;
    right: -270px;
    width: 270px;
    height: 100%;
    /* -webkit-transform: translate(-270px);
    -ms-transform: translate(-270px);
    transform: translate(-270px); */
    background-color: var(--color-red);
    position: fixed;
    -webkit-transition: 0.25s all ease;
    -o-transition: 0.25s all ease;
    transition: 0.25s all ease;
    z-index: 10;
}

.offcanvas__close {
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

.mobile--menu-wrap {
    padding: 15px;
    font-size: 15px;
    font-weight: 500;
}

.mobile__menu {
    padding: 0;
}

.mobile--menu-wrap a {
    display: block;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-white);
    color: var(--color-white);
    font-weight: 600;
}

.mobile--menu-wrap li {
    width: 100%;
}

.mobile--menu-wrap li+li {
    margin-top: 8px;
}


/* ===================== gameplay ============================== */

.game__content {
    font-size: 16px;
    margin-top: 50px;
}

.game__content h2,
.game__content h3,
.game__content h4,
.game__content h5 {
    color: var(--color-black);
}

.game__content ul {
    margin-left: 40px;
    margin-bottom: 20px;
}

.game__content li {
    margin-top: 20px;
    list-style-type: square;
}

.game__content p {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.tags-btn {
    display: inline-block;
    background: var(--color-red);
    color: #F9FAFF;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 10px;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 30px;
    -webkit-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    transition: all 250ms ease;
    border: none;
    cursor: pointer;
    text-transform: lowercase;
}


/* ===================== header ============================== */

.header {
    background: var(--primary-color);
    /* position: fixed; */
    top: 0;
    z-index: 9;
    width: 100%;
    -webkit-box-shadow: 0px 5px 10px rgb(91 91 91 / 10%);
    box-shadow: 0px 5px 10px rgb(91 91 91 / 10%);
}

.fix-wrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
}

.header__logo img {
    width: 50px;
    vertical-align: middle;
}

.header__wrapmenu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.header__right {
    white-space: nowrap;
    overflow: hidden;
}

.header__active {
    display: inline-block;
    box-sizing: border-box;
    /* margin: 0 15px; */
}

.header__right .header__active {
    margin: 0 15px;
}

.header__active a {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--color-white);
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.header-section {
    /* background: url(../img/bg.jpg) no-repeat; */
    background-position: center center;
    background-size: cover;
    position: relative;
    padding: 150px 0;
    min-height: 200px;
}

.header-section__title p {
    color: var(--color-white);
    font-weight: 500;
    line-height: 1.2;
    font-size: 4rem;
}

.fix--header {
    /* height: 70px; */
}


/* phần trang chủ nền khác */

.page-header {
    background-color: var(--color-red);
    min-height: 200px;
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    text-transform: uppercase;
    font-size: 4rem;
    font-weight: 400;
}

.page-header p {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 10px;
}


/* thanh/ô search */

.search {
    font-size: 14px;
    border-radius: 30px;
    position: relative;
    border-color: transparent;
    height: 40px;
    overflow: hidden;
}

.search_term {
    background-color: rgba(0, 0, 0, 4);
    height: 100%;
    outline: 0px;
    color: rgb(249, 250, 255);
    width: 100%;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 50px;
    border: 0;
    outline: 0;
}

.search_term:focus {
    background-color: var(--color-red);
}

.search_term:focus::placeholder {
    color: transparent;
}

.search_term::placeholder {
    color: var(--color-white);
}

.btn-search {
    position: absolute;
    width: 50px;
    height: 100%;
    top: 0;
    right: 0;
    background-color: transparent;
    border: 0;
    outline: 0;
    color: var(--color-white);
    cursor: pointer;
}

.wrap--form.mobile .search_term {
    color: var(--color-black)!important;
}

.wrap--form.mobile .search_term::placeholder {
    color: var(--color-black)!important;
}


/* =========================== game_play.php  ================================ */

.page-section {
    margin-bottom: 70px;
}

#rating .text-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    overflow: hidden;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#rating .rating-element {
    display: inline-block;
    color: inherit;
    font-size: 1.6rem;
}

#default-demo {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    margin-right: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#default-demo img {
    width: 1.6rem;
}


/* ================================== Main__categories ===================================== */

.categories {
    background-color: var(--color-red);
    padding-top: 60px;
}

.ol-01 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.header-section .ol-01 {
    z-index: -1;
}

.width-50,
.width-50-child {
    width: 50%;
    padding: 0 15px;
    padding-bottom: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.width-50-child>.item {
    height: 360px;
}

.flex-box-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.width-50>.item {
    min-height: 360px;
    margin-bottom: 15px;
}

.main-game>.item {
    height: calc(100% - 30px);
}

.item {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.item>.item {
    margin: 0 -15px;
}

.wrap-text {
    position: absolute;
    top: 40%;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--color-white);
    width: 100%;
}

.btn-url {
    font-size: 14px;
    color: var(--color-white);
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    padding: 0 0 3px;
    margin-top: 20px;
}

.btn-url::after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: var(--color-green);
    content: "";
}


/* ================================== Main__product ===================================== */

.product__title {
    margin-bottom: 45px;
}

.product h4 {
    color: var(--color-black);
}

.product__item {
    margin-bottom: 30px;
}

.product__item_pic {
    display: block;
    height: 360px;
    position: relative;
}

.product--wrap {
    width: 25%;
    padding: 0 15px;
}

.product__label_new {
    background: var(--color-red);
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
    display: inline-block;
    padding: 2px 8px;
    text-transform: uppercase;
    position: absolute;
    left: 10px;
    top: 10px;
}

.product__item_text {
    text-align: center;
    padding-top: 22px;
    position: absolute;
    bottom: 20px;
    margin: auto;
    left: 0;
    right: 0;
    padding: 0 10px;
}

.product__item_text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.product__rating {
    line-height: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.product__rating i {
    font-size: 13px;
    color: #e3c01c;
    margin-right: -1px;
}


/* ================================== breadcrumb ===================================== */

.breadcrumb {
    padding: 15px 0;
    list-style: none;
    color: #0275d8;
}

.breadcrumb li {
    display: inline;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.breadcrumb li+li:before {
    padding: 0 5px;
    color: var(--color-black);
    content: "/\00a0";
}

.breadcrumb li a {
    color: #0275d8;
    text-decoration: none;
}

.breadcrumb li a:hover {
    color: #01447e;
    text-decoration: underline;
}

.breadcrumb li span {
    color: var(--color-black);
    text-decoration: none;
}


/* ================================== header-game - game-full-rate ===================================== */

.header-game {
    background-color: #252833;
    height: auto;
    overflow: hidden;
    color: var(--color-white);
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.box-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box-header h1 {
    font-size: 20px;
    white-space: nowrap;
    text-transform: uppercase;
}

.header-game-extend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.header-game-extend>span {
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 44px;
    cursor: pointer;
    /* margin-left: 5px; */
    border-radius: 5px;
    text-align: center;
}

.expand {
    margin-right: -5px;
}

.header-game-extend>span>svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.header-game-extend>span:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.game-full-rate {
    padding-left: 10px;
}

.exit-fullscreen {
    width: 36px;
    height: 36px;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 100000;
    padding: 6px;
    background-color: rgba(0, 0, 0, 0.65);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}

.clipboard-share {
    position: fixed;
    z-index: 100;
    background-color: var(--color-white);
    padding: 16px;
    border-radius: 8px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    min-width: 300px;
    min-height: 45px;
}

.hide-zindex {
    z-index: -20;
    visibility: hidden;
}

.close-sharing-box {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
}

.inline-sharing-box h3 {
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .header-game {
        max-height: unset;
    }
}


/* ================================== panigation ===================================== */

.panigation {
    text-align: center;
}

.panigation .btn {
    display: inline-block;
    width: 45px;
    height: 45px;
    margin: 5px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    padding-top: 13px;
}


/* ================================== error.php ===================================== */

.error {
    margin: 4% 0;
    font-size: 2rem;
}

.error p {
    font-size: 2rem;
    font-weight: 400;
}

.error li {
    list-style-type: square;
    margin-top: 10px;
    margin-left: 30px;
}

.error em {
    font-weight: 600;
}


/* ================================== Footer ===================================== */

.footer {
    background-color: var(--color-black);
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 30px;
}

.tex-center {
    text-align: center;
}

.infor {
    margin-top: 15px;
    font-size: 1.6rem;
}

.infor a {
    color: var(--color-red);
}

.infor a::after {
    content: "|";
    margin: 0 5px;
    color: var(--color-white);
}

.infor a:last-child::after {
    content: "";
}

.footer__logo {
    width: 120px;
}

.footer__wrap {
    width: 100%;
}

.footer__copyright {
    padding: 18px 0 25px;
    text-align: center;
    margin-top: 0px;
    color: var(--color-white);
}

.footer__copyright p {
    margin-bottom: 0;
    color: var(--color-white);
    padding: 0 15px;
}

.footer__wrap a {
    color: var(--color-red);
}

#expand {
    cursor: pointer !important;
}

.force_full_screen {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999;
    top: 0px !important;
    border: 0px !important;
    left: 0px !important;
    right: 0px !important;
    cursor: pointer !important;
}

.active {
    background-color: #000;
}


/* ================================== Responsive ===================================== */


/* tablet: < 1024px */

@media only screen and (min-width:1025px) {
    .offcanvans--menu-wrap {
        right: -270px!important;
    }
}

@media only screen and (max-width: 1024px) {
    .header__wrapmenu {
        display: none;
    }
    .main-game>.item {
        height: 600px;
    }
    .menu__icon {
        display: block;
    }
    .pulls-right {
        margin-top: 100px;
    }
    .fix--header {
        height: 70px;
    }
    .header-section {
        padding: 30% 5% 25%;
    }
    .header-section h1 {
        font-size: 3.8rem;
        width: 100%;
    }
    .product--wrap {
        width: 50%;
    }
    .width-50 {
        width: 100%;
    }
    .offcanvas-menu-overlay {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        content: "";
        z-index: 9;
        visibility: hidden;
    }
    .mobile {
        display: none;
    }
}


/* mobile: width <740px */

@media only screen and (max-width: 500px) {
    .offcanvans--menu-wrap {
        /* display: block; */
    }
    .header-section {
        padding: 65px 15px 50px;
    }
    .header-section h1 {
        font-size: 2.5rem;
        width: 100%;
    }
    .header-section__title {
        top: 0;
        left: 0;
        padding: 0 15px;
    }
    .header-section__title p {
        font-size: 2.5rem;
    }
    .main-game>.item {
        height: 360px;
    }
    .wrap--form {
        display: none;
    }
    .mobile {
        display: block;
        margin: 100px 15px 0 15px;
    }
    .mobile .search_term {
        background-color: var(--color-white);
        color: var(--color-black);
    }
    .mobile .btn-search {
        background-color: #201c1d;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .pulls-right {
        margin-top: 15px;
    }
    #rating .rating-element {
        font-size: 1.2rem;
    }
    .header-game-extend {
        margin-right: 0;
    }
    .width-50,
    .product--wrap {
        width: 100%;
    }
    .categories__item {
        width: 100%;
    }
    .categories__image--large .categories--wrapgame {
        width: 100%;
    }
    .width-50-child {
        width: 100%;
    }
}