@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Bree+Serif&display=swap');
:root{
    --red: #fb3537;
    --white: #ffffff;
    --black: #000000;
    --gray: #f7f5f5;
    --gray444: #444444;
    --orange: #f58732;
    --green: #09c000;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background: #ffffff;
    position: relative;
}
a img:hover{
    filter: brightness(120%);
}
.wrapper{
    position: relative;
    min-height: 100vh;
    font-family: "Alegreya", serif;
    background: #181b23;
    margin-top: 75px;
}
.container_m{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 10px;
}
.menu-top{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #181b23;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}
.menu-right{
    display: flex;
    align-items: center;
}
.menu-right>a{
    margin-left: 10px;
    color: white;
    font-size: 18px;
    height: 35px;
    line-height: 35px;
    background: #1a2d53;
    border-radius: 3px;
    width: 130px;
    text-align: center;
}
.menu-right a:hover, .menu-right a.active{
    color: var(--orange);
    text-decoration: none;
}
.menu-right .pick-language{
    display: inline-block;
    margin-left: 20px;
    margin-right: 20px;
    height: 35px;
}
.menu-right .pick-language button{
    height: 35px;
}
.menu-right .pick-language .dropdown-menu{
    padding: 5px;
    min-width: 100%
}
.menu-right .pick-language a{
    display: block;
    height: 30px;
    margin-bottom: 5px;
}
.menu-right .pick-language a img{
    border-radius: 2px;
}
.g-title{
    font-size: 32px;
    color: white;
    margin: 15px 0;
}
.g-title img{
    width: 30px;
    margin-right: 5px;
}
.list-game{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: 10px;
}
.gbutton{
    margin-top: 5px;
}
.gbutton a{
    padding: 3px;
    text-align: center;
    width: 49%;
    border-radius: 5px;
    background: var(--green);
    color: white;
}
.gbutton a:first-child{
    background: var(--orange);
}
.gbutton a:hover{
    text-decoration: none;
    background: var(--red);
}
.plr-44{
    padding-left: 44px;
    padding-right: 44px;
}
.plr-2{
    padding-left: 2rem;
    padding-right: 2rem;
}
.plr-15{
    padding-right: 15px;
    padding-left: 15px;
}
.ptb-2r{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.mt-130{
    margin-top: 130px;
}
.fs-62{
    font-size: 62px;
}
.fs-50{
    font-size: 50px;
}
.fs-41{
    font-size: 41.67px;
}
.fs-33{
    font-size: 33px;
}
.fs-25{
    font-size: 25px;
}
.fs-16{
    font-size: 16.67px;
}
.w-48{
    width: 48%;
}

.color-red{
    color: var(--red);
}
.color-gray444{
    color: var(--gray444);
}
.color-white{
    color: var(--white);
}
.bg-gray{
    background: var(--gray);
}
.bg-red{
    background: var(--red);
}
.bg-white{
    background: var(--white);
}
.mw-790{
    max-width: 790px;
    margin: 0 auto;
}

/*menu*/
#menuToggle {
    display: none;
    flex-direction: column;
    position: relative;
    top: 17px;
    right: 15px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    height: 21px;
}

#menuToggle input
{
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

#menuToggle span
{
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-5px, -19px);
    background: #ffffff;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(5px, 14px);
}

/*end menu*/
.set-language{
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.set-language a{
    background: #e2e0df;
    color: #8f8f8f;
    font-size: 20px;
    display: block;
    height: 23px;
    width: 32px;
    text-align: center;
    line-height: 22px;
}
.set-language a.lang-active, .set-language a:hover{
    background: #e43e3a;
    color: white;
    text-decoration: none;
}
/*Payment form*/
.payment{
    background: #f7f5f5;
    border-radius: 10px;
    padding: 15px;
}
.payment-info{
    width: 30%;
    font-size: 16.67px;
}
.payment-cart{
    width: 68%;
}
.payment-table-container{
    border: 2px solid #878686;
    border-radius: 5px;
}
.payment-cart table{
    margin-bottom: 0;
}

.payment-cart .table tbody+tbody{
    border: none;
}
.payment-cart table th{
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 16.67px;
    border: none;
    padding: 10px 8px;
}
.payment-cart table th span{
    font-weight: 400;
}
.payment-cart .table td{
    border: none;
    padding: 4px;
}
.payment-cart .table td .tb-item{
    background: white;
    border-radius: 5px;
    padding: 10px 8px;
    font-size: 14.5px;
    line-height: 1;
    height: 35px;
    border: none;
}
.mw-100px{
    width: 100px;
}
.sp-quantity{
    width: 100px;
}
.sp-ship{
    font-weight: 600;
}
.sp-total{
    font-weight: bold;
    background: var(--red)!important;
    color: var(--white);
}
.sp-total-number{
    font-weight: bold;
    border: 1px solid var(--red)!important;
    color: var(--red);
}
.sp-btn-add{
    background: #6ab0ff;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14.5px;
    line-height: 1;
}
.sp-btn-add:hover{
    text-decoration: none;
    color: white;
    filter: brightness(110%);
}
.btn-order{
    display: inline-block;
    background: var(--red);
    color: white;
    font-weight: bold;
    font-size: 20.8px;
    line-height: 1;
    border-radius: 5px;
    padding: 8px 35px;
    margin-top: 15px;
    border: none;
}
.btn-order:hover {
    text-decoration: none;
    color: white;
    filter: brightness(110%);
}
.sp-name{
    position: relative;
}
.sp-name a{
    cursor: pointer;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.sp-image{
    display: none;
    position: absolute;
    width: 100%;
    aspect-ratio: 1/1;
    background: white;
    top: 35px;
    left: 0;
    text-align: center;
    vertical-align: middle;
    border: 2px solid #d7d3d2;
    border-radius: 5px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    z-index: 1;
}
.sp-image-desc{
    position: absolute;
    width: 100%;
    background: rgba(0, 0, 0, 0.51);
    bottom: 0;
    left: 0;
    color: white;
    font-size: 14.5px;
    line-height: 1;
    padding: 5px 10px;
}
.sp-image img{
    position: absolute;
    width: auto;
    height: 85%;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sp-name:hover .sp-image{
    display: block;
}
/*payment form end*/
.jconfirm.jconfirm-white .jconfirm-bg, .jconfirm.jconfirm-light .jconfirm-bg{
    opacity: 0.9;
}
#orderSuccess{
    background: rgba(0, 0, 0, 0.76);
    padding-right: 0;
}
.card-order-success {
    padding: 15px;
    text-align: center;
}
.card-order-success .tick-success{
    border-radius:200px;
    height:200px;
    width:200px;
    background: #F8FAF5;
    margin:0 auto;
    text-align: center;
}
.card-order-success h3 {
    color: #88B04B;
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 10px;
}
.card-order-success p {
    color: #404F5E;
    font-size: 16px;
    margin: 0;
}
.card-order-success i {
    color: #9ABC66;
    font-size: 100px;
    line-height: 200px;
    margin-left:-15px;

}
.confirm-success{
    display: inline-block;
    background: var(--red);
    color: white;
    font-weight: bold;
    font-size: 20.8px;
    line-height: 1;
    border-radius: 5px;
    padding: 8px 35px;
    margin-top: 15px;
    border: none;
}
.confirm-success:hover{
    text-decoration: none;
    color: white;
    filter: brightness(110%);
    background: #9ABC66;
}
.fb_iframe_widget,
.fb_iframe_widget > span,
.fb_iframe_widget iframe {
    width: 100% !important;
}
.ft-social-link{
    margin-right: 10px;
    color: black;
}
.ft-social-link:hover{
    color: #fb3537;
    text-decoration: none;
}
.ft-social-link img{
    margin-right: 5px;
    width: 20px;
}
@media only screen and (max-width: 1024px) {
    .wrapper{
        margin-top: 50px;
    }
    .logo img{
        height: 50px;
    }
    #menuToggle{
        display: flex;
    }
    .menu-right{
        position: absolute;
        width: 250px;
        height: calc(100vh - 50px);
        padding: 15px;
        background-color: #181b23;
        display: block;
        right: -250px;
        top: 50px;
        z-index: 999999;
        transition: right;
    }
    .menu-right a{
        display: block;
        transition-delay: 2s;
        margin-left: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .menu-right .pick-language{
        margin-left: 0;
        margin-right: 0;
        display: flex;
        justify-content: center;
    }
    .menu-right .pick-language .dropdown-menu{
        transform: translate3d(0px, 35px, 0px)!important;
    }
    .menu-right.open{
        box-shadow: -30px 0 30px 0 #141212;
        right: 0;
    }
    .list-game{
        grid-template-columns: repeat(4, 1fr);
    }
}
@media only screen and (max-width: 992px) {
    .payment{
        display: block!important;
    }
    .payment-info,.payment-cart{
        width: 100%;
    }
}
@media only screen and (max-width: 769px) {
    .set-language{
        right: 6rem;
    }
    .gbutton{
        display: block!important;
    }
    .gbutton a{
        display: block;
        width: 100%;
    }
    .gbutton a:first-child{
        margin-bottom: 5px;
    }
}
@media only screen and (max-width: 500px) {
    .sp-quantity ,.mw-100px{
        width: 50px;
    }
    .payment-cart table th{
        font-size: 14px;
    }
    .payment-cart .table td .tb-item{
        font-size: 12px;
    }
    .btn-order{
        font-size: 16px;
    }
    .plr-2{
        padding-left: 15px;
        padding-right: 15px;
    }
    .ft-info{
        font-size: 13px;
    }
    .ft-info h3{
        font-size: 16px;
    }
    .ft-email a{
        font-size: 13px;
    }
    .list-game{
        grid-template-columns: repeat(3, 1fr);
    }
    .g-title{
        font-size: 24px;
    }
    .g-title img{
        width: 24px;
    }
}
