@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
}

body {
    /*background-image: url(/assets/img/demo-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;*/
    font-family: "Kanit", sans-serif;
    background-color: #c1ecbe;
}

a {
    text-decoration: none;
    color: #000;
}

a :hover {
    color: #000;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1040px;
    }
}

.nav-top {
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.content {
    top: 155px;
    padding-bottom: 85px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    position: fixed;
    right: 0;
    scroll-behavior: smooth;
    z-index: 1;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.main-top-nav {
    height: 60px;
    padding: 8px 12px;
    align-items: center;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 10px;
}

.box1 {
    grid-column: 1;
}

.box2 {
    grid-column: 2/6;
}

.box3 {
    grid-column: 6;
}

.box4 {
    grid-column: 1 / 7;
    grid-row: 2;
}

/* Mobile layout */
@media (max-width: 900px) {
    .content {
        top: 165px;
    }

    .main-top-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .box1 {
        grid-column: 1;
    }

    .box3 {
        grid-column: 2;
    }

    .box4 {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .box2 {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

.img-main-logo {
    cursor: pointer;
    height: 100%;
    width: 170px;
    object-fit: scale-down;
}

.img-aff {
    cursor: pointer;
    height: 60px;
    width: 60px;
}

@media only screen and (max-width: 599px) {
    .img-aff {
        height: 36px;
        width: 36px;
    }
}

@media (min-width: 1024px) {
    .main-top-nav {
        height: 90px;
        margin: 8px 40px;
        padding: 0;
    }

    .img-main-logo {
        width: 206px;
    }
}

.swiper {
    width: 100%;
    background-color: #e0f4e1;
    border-top: #6bd3a1 solid 3px;
    border-bottom: #6bd3a1 solid 3px;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    width: 75%;
}

.board-game {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.leftside {
    height: 100%;
    width: calc(40% - 5px);
}

.rightside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: calc(60% - 5px);
}

@media only screen and (max-width: 599px) {
    .leftside {
        width: calc(100% - 5px);
    }

    .rightside {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 5px);
    }
}

.rightchild {
    height: 100%;
    width: 100%;
}


.board-game img {
    cursor: pointer;
    display: block;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    transition: transform .2s ease-in-out;
    width: 100%;
}

.nav-bot {
    -webkit-backdrop-filter: blur(3.5px);
    backdrop-filter: blur(3.5px);
    background: #ffffff85;
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
    bottom: 0;
    left: 0;
    padding: 12px;
    position: fixed;
    right: 0;
    z-index: 2;
}

.nav-bot {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

.nav-bot-menu {
    display: flex;
    gap: 12px;
    justify-content: space-evenly;
}

.nav-bot-menu img {
    cursor: pointer;
    transition: transform .2s ease-in-out;
    width: 48px;
}

@media (min-width: 1024px) {

    .nav-bot {
        align-items: center;
        height: 75px;
    }

    .nav-bot-menu {
        display: flex;
        gap: 12px;
    }

    .nav-bot-menu img {
        transition: transform .2s ease-in-out;
        width: 55px;
    }

}

.quote-bar {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    overflow: hidden;
    height: 35px;
    border-top-left-radius: 40px;
}

.label {
    background: #c5fdad;
    color: #000;
    padding: 0 15px;
    font-weight: 500;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
}

.quote-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.quote-text {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
    color: #333;
    font-size: 1.1em;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.top-nav-cat {
    text-align: center;
    padding: 5px 0;
}

.top-nav-cat img {
    width: 55px;
    margin: 4px 0;
}

.cover-button {
    justify-content: space-evenly;
    gap: 10px;
}

.button-register {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 15px;
}

.sport-content {
    margin: 10px 0;
}

.sport-content img {
    border-radius: 15px;
    border: 1px solid white;
}

.game-banner img {
    cursor: pointer;
    display: block;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    transition: transform .2s ease-in-out;
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.m-show {
    display: block !important;
}

.m-hide {
    display: none !important;
}

@media (min-width: 900px) {
    .c-hide {
        display: none !important;
    }

    .c-show {
        display: block !important;
    }
}

.modal-dialog {
    max-width: 450px;
}

.modal-floating-image {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    z-index: -1;
}

.modal-header {
    border: none;
    padding: 1rem 1rem 0rem 1rem;
}

.modal-dialog-login .modal-content {
    border-radius: 30px;
    overflow: hidden;
    background-color: #ffffff80;
    border: none;
}

.modal-footer {
    border: none;
    padding: 0 .75rem .75rem .75rem;
    justify-content: space-evenly;
}

.fixed-size-dialog {
    min-height: 500px;
    max-height: 500px;
}

.modal-dialog-scrollable .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.fixed-size-dialog .modal-content {
    background-color: #c1ecbe;
}

.sidebar {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-right: 2px solid #fff;
}

.sidebar .list-group-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: transparent;
    padding: 6px 0;
    gap: 2px;
    transition: background 0.2s;
}

.sidebar .list-group-item img {
    width: 36px;
    height: 36px;
}

.sidebar .list-group-item span {
    font-size: 11px;
    color: #333;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    background: #e8f6e8;
    color: #006600;
}


.menu-icon-bg {
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
    background: #e8f6e8;
    width: 100%;
    text-align: center;
    padding: 3px 0;
    margin-right: 10px;
}

.tag-name {
    background-image: url(/assets/img/demo/modal/1/1-1.png);
    width: 100%;
    cursor: pointer;
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    padding-top: .5rem;
    padding-bottom: .5rem;
    line-height: 1rem;
    color: #000;
    text-align: center;
}

.level {
    width: 45px;
    max-width: 100%;
    transition: 0.3s;
    filter: grayscale(50%) brightness(70%);
    opacity: 0.5;
}

.level.active {
    filter: none;
    opacity: 1;
}

.tag-wallet {
    background-image: url(/assets/img/demo/modal/1/3.png);
    width: 100%;
    cursor: pointer;
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    line-height: 14px;
    color: #fff;
    text-align: right;
    padding: .5rem .5rem .5rem;
    font-size: 15px;
}

.tag-diamond {
    background-image: url(/assets/img/demo/modal/1/4.png);
    width: 100%;
    cursor: pointer;
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    line-height: 14px;
    color: #fff;
    text-align: right;
    padding: .5rem .5rem .5rem;
    font-size: 15px;
}