@font-face {
    font-family: "ATF_HYSHUHUNJ";
    src: url(../fonts/atf_hyshuhunj1.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "ATF_HYSHUHUNJ";
    background-size: cover;
    background-position: top center;
}

.m-header {
    position: fixed;
    width: 100%;
    padding: 16px 32px;
    background: rgba(76, 3, 3, .5);
    border-bottom: 3px solid #fcfc93;
    z-index: 9999;
}

@media(max-width: 991px) {
    .m-header {
        height: 70px;
        background: rgba(76, 3, 3, .7);
    }
}

.m-logo {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 180px;
    z-index: 2;
}

@media(min-width: 992px) {
    .m-logo {
        display: none;
    }
}

.m-logo img {
    width: 100%;
}

@media(max-width: 991px) {
    .m-nav {
        position: fixed;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(76, 3, 3, .7);
        left: -100%;
        transition: .5s ease-in-out;
    }
}

.m-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    border: 0;
    padding: 0;
    margin: 0;
}

@media(max-width: 991px) {
    .m-nav__list {
        flex-direction: column;
        gap: 48px;
        height: 100%;
        justify-content: flex-start;
        margin-top: 48px;
    }
}


.m-nav__item {
    position: relative;
}

.m-nav__link {
    color: #f9f1e8;
    font-size: 2rem;
    transition: .3s ease-in-out;
}

@media(max-width: 991px) {
    .m-nav__link {
        font-size: 3rem;
    }
}

.m-nav-logo img {
    max-width: 120px;
}

@media(max-width: 991px) {
    .m-nav-logo img {
        display: none;
    }
}

.m-nav__link:hover {
    color: #fffbd8;
}

.m-nav__item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -24px;
    background: url(../images/dot_head.png) no-repeat center center;
    width: 16px;
    height: 16px;
    background-size: 16px;
}

@media(max-width: 991px) {
    .m-nav__item:not(:last-child)::before {
        top: 64px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 24px;
        height: 24px;
        background-size: 24px;
    }
}

.m-nav__item:first-child::before {
    content: unset;
}

.limit__game {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.groupRes {
    display: flex;
    align-items: center;
    background: url(../images/bg_groupaction.png) no-repeat top center / 100% 100%;
    gap: 0 0.46875vw;
    width: 40vw;
    height: 10.2604166667vw;
    padding: 10px;
}

@media(max-width: 991px) {
    .groupRes {
        gap: 1.2vw;
        width: 88.2666666667vw;
        height: 23.2vw;
    }
}

.item__game {
    width: 25%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.icongame img {
    width: 100%;
}

.btnDlGame {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px 0;
}

.item__link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1em;
    padding: 0;
    width: 100%;
    height: 2.7604166667vw;
    font-size: 1.09375vw;
    position: relative;
    z-index: 3;
    background: url(../images/bgLink.png) no-repeat center center;
    background-size: 100% 100%;
    color: #fff;
}

@media(max-width: 991px) {
    .item__link {
        width: 19.2vw;
        height: 6.8vw;
        font-size: 2.5333333333vw;
    }
}

.item__link img {
    width: 1.2vw;
    margin-right: 4px;
}

@media(max-width: 991px) {
    .item__link img {
        width: 2vw;
        margin-right: 4px;
    }
}

.ios img {
    margin-top: -.1vw;
}

@media(max-width: 991px) {
    .ios img {
        margin-top: -.4vw;
    }
}

.item__base {
    padding: 0;
    width: 9.1145833333vw;
    height: 9.1145833333vw;
    font-size: 2.1354166667vw;
    background: url(../images/btn_main.png) no-repeat center center;
    background-size: 100% 100%;
    color: #7d0b0c;
    text-align: center;
    transition: .3s ease-in-out;
    line-height: 1em;
}

@media(max-width: 991px) {
    .item__base {
        width: 20.6666666667vw;
        height: 20.6666666667vw;
        font-size: 4.8vw;

    }
}

a {
    transition: .3s ease-in-out !important;
}

.groupRes a:hover {
    color: #fff;
    transform: translateY(-4px);
}

.groupRes a.item__game:hover {
    color: #7d0b0c;
}


.icon-hamburger {
    width: 40px;
    height: 40px;
    top: 12px;
    position: fixed;
    right: 16px;
    cursor: pointer;
}

@media (min-width: 992px) {
    .icon-hamburger {
        display: none;
    }

}

.icon-hamburger #menu__header-page {
    display: inline-block;
    position: relative;
    width: 100%;
    cursor: pointer;
    margin-top: 2px;
    height: 5px;
    top: 16px;
    background-color: #fff;
    position: absolute;
    -webkit-transition: -webkit-transform 0.2s ease 0s;
    transition: -webkit-transform 0.2s ease 0s;
    transition: transform 0.2s ease 0s;
    transition: transform 0.2s ease 0s, -webkit-transform 0.2s ease 0s
}

.icon-hamburger #menu__header-page:after,
.icon-hamburger #menu__header-page:before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    height: 5px;
    width: 100%;
    background-color: #fff
}

.icon-hamburger #menu__header-page:before {
    top: -12px
}

.icon-hamburger #menu__header-page:after {
    top: 12px
}

.icon-hamburger #menu__header-page img {
    display: none
}


.icon-hamburger.is-open #menu__header-page {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.icon-hamburger.is-open #menu__header-page:before {
    top: 0px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.icon-hamburger.is-open #menu__header-page:after {
    top: 0px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.icon-hamburger.is-open~.m-nav {
    left: 0
}

.login {
    position: fixed;
   background: rgba(76, 3, 3, .7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
    width: 100%;
    height: 100%;
    transition: .5s ease-in-out;
}

.has-login .login{
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
    z-index: 2;
}

.login-signin h2 {
    color: #fff;
    font-size: 4vw;
}

@media (max-width: 991px) {
.login-signin h2 {
    font-size: 4rem;
}
}

.login-signin p {
    color: #fff!important;
    font-size: 1.6vw;
}

@media (max-width: 991px) {
.login-signin p {
    font-size: 2rem;
}
}

.login-signin .form-control {
   height: 48px !important;
    font-size: 1.5rem;
    padding: 16px !important;
    line-height: 1;
}

.login-signin .checkbox {
    font-size: 1.5rem;
    color: #fff!important;
    line-height: 1;
}

.login-signin .checkbox-inline .checkbox span {
    margin-top: -3px;
}

.login-signin #kt_login_forgot{
 font-size: 1.5rem;
 color: #fff!important;
}

.login-signin #kt_login_signin_submit {
   width: 200px;
    font-size: 1.5rem;
    background: rgba(76, 3, 3, 1);
    border: 1px solid rgba(76, 3, 3, 1);
}

.login-signin #kt_login_signin_submit:hover {
    opacity: .7;
}

.return {
    font-size: 2rem;
    color: #fff;
    position: absolute;
    top: 124px;
    right: 32px;
    cursor: pointer;
    z-index: 3;
}

.return img {
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-top: -4px;
}

@media (max-width: 991px) {
  .return {
    font-size: 1.5rem;
       top: 86px;
    right: 24px;
}

 .return img {
   width: 24px;
   height: 24px;
}
}