@font-face {
    font-family: "fc-friday";
    src: url("../fonts/FC-Friday/FC-Friday-Medium.ttf");
}

@font-face {
    font-family: "fc-friday-Italic";
    src: url("../fonts/FC-Friday/FC-Friday-Medium-Italic.ttf");
}

@font-face {
    font-family: "Kanit-Light";
    src: url("../fonts/Kanit/Kanit-Light.ttf");
}

@font-face {
    font-family: "Kanit-M";
    src: url("../fonts/Kanit/Kanit-Medium.ttf");
}

@font-face {
    font-family: "Kanit";
    src: url("../fonts/Kanit/Kanit-Regular.ttf");
}

@font-face {
    font-family: "Kanit-BI";
    src: url("../fonts/Kanit/Kanit-BoldItalic.ttf");
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("../images/bg.png");
    /* background-size: cover; */
    background-attachment: fixed;
    font-family: 'Kanit';
    background-color: #212529;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #01A204 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 13px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #01A204;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

/* ===== End Scrollbar CSS ===== */

#nav-web {
    display: none;
}

.text-menu {
    font-family: 'Kanit-Light';
    color: #ffffff;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
}

.text-menu:hover {
    color: #01A204;
    font-weight: bold;
    text-decoration: none;
}

.top-logo {
    width: 100%;
    max-width: 95px;
    margin-left: 20px;
    margin-right: 20px;
}

.text-kj-big {
    font-family: 'Kanit-M';
    color: #ffffff;
    font-size: 3.25rem;
    line-height: 3rem;
}

.text-kj-sub {
    font-family: 'Kanit-M';
    color: #00F003;
    font-size: 1.75rem;
    line-height: 2rem;
}

.box-provider-text {
    font-family: 'Kanit-Light';
    padding: 5px 3px;
    color: #FFFFFF;
    border: 2px solid #00F003;
    border-radius: 5rem;
    margin-left: 5px;
    margin-right: 5px;
    min-width: 110px;
}

.img-promotion {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #00F003;
}

.img-game {
    width: 100%;
    border-radius: 20px;
    border: 3px solid #00F003;
    -webkit-box-shadow: 0px 0px 10px 2px rgba(0, 240, 4, 1);
    -moz-box-shadow: 0px 0px 10px 2px rgba(0, 240, 4, 1);
    box-shadow: 0px 0px 10px 2px rgba(0, 240, 4, 1);
}

.box-auth {
    position: absolute;
    bottom: 10%;
    left: 5%;
    transform: translate(0%, 10%);
    width: 60%;
}

.btn-login {
    background-image: url('../images/btn-login.png');
    background-size: 100% 100%;
    padding: 10px 30px;
    min-width: 170px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: btn-login-animate 4s ease 1s infinite normal forwards;
}

@keyframes btn-login-animate {
    0% {
        animation-timing-function: ease-out;
        transform: scale(1);
        transform-origin: center center;
    }

    10% {
        animation-timing-function: ease-in;
        transform: scale(0.91);
    }

    17% {
        animation-timing-function: ease-out;
        transform: scale(0.98);
    }

    33% {
        animation-timing-function: ease-in;
        transform: scale(0.87);
    }

    45% {
        animation-timing-function: ease-out;
        transform: scale(1);
    }
}

.btn-login:hover {
    scale: 105%;
}

.btn-login span {
    font-family: 'Kanit-BI';
    text-align: center;
    color: #FFFFFF;
}

.btn-register {
    background-image: url('../images/btn-register.png');
    background-size: 100% 100%;
    padding: 10px 30px;
    min-width: 170px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: btn-login-animate 4s ease 2s infinite normal forwards;
}


.btn-register:hover {
    scale: 105%;
}

.btn-register span {
    font-family: 'Kanit-BI';
    text-decoration: none;
    text-align: center;
    color: #FFFFFF;
}

.green-line {
    width: 95%;
    margin: auto;
    height: 2px;
    background-color: #00F003;
    border-radius: 5rem;
}

.trapezoid-green {
    width: 100%;
    height: 40px;
    background: rgb(0, 240, 3);
    background: linear-gradient(180deg, rgba(0, 240, 3, 1) 0%, rgba(1, 102, 2, 1) 50%, rgba(2, 34, 2, 1) 100%);
    clip-path: polygon(2% 0%, 98% 0%, 100% 100%, 0% 100%);
    padding-right: 2rem;
    padding-left: 2rem;
}

#footer {
    width: 100%;
    height: 75px;
}


#nav-top-mobile {
    background-color: rgba(0, 0, 0, 0.7);
}

#nav-top-mobile .offcanvas-header {
    border-bottom: 3px solid #00F003;
}

#nav-bottom-mobile {
    background: rgb(0, 240, 3);
    background: linear-gradient(180deg, rgba(0, 240, 3, 1) 0%, rgba(2, 34, 2, 1) 80%, rgba(0, 120, 2, 1) 100%);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    max-height: 80px;
    border-radius: 1rem 1rem 0 0;
    z-index: 5;
    padding: 10px;
}



#nav-bottom-mobile .menu {
    color: #FFFFFF;
    font-family: 'Kanit-Light';
    max-width: 90px;
}

#nav-bottom-mobile .menu .icon {
    font-size: 1.25rem;
}


#nav-bottom-mobile .menu-center {
    width: 90px;
    height: 90px;
    margin-top: -50px;
}

.contact-box{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 5%;
    right: 5%;
    z-index: 9;
    max-width: 75px;
    /* min-height: 75px; */
    background: #6809d6;
    background: linear-gradient( 180deg, rgba(104, 9, 214, 1) 0%, rgba(52, 5, 107, 1) 100% );
    border: 4px solid #fcfcfc;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 2px rgb(248 230 32 / 70%);
}

/*===== modal-box code css =====*/
.modal-box {
   background: rgb(0, 240, 3);
    background: linear-gradient(180deg, rgba(0, 240, 3, 1) 0%, rgba(2, 34, 2, 1) 80%, rgba(0, 120, 2, 1) 100%);
    color: #fcfcfc;
    border: 4px solid #fcfcfc;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 2px rgb(248 230 32 / 70%);
}

.custom-sidebar {
    max-width: 60%;
    height: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    border-radius: 1rem 0 0 1rem;
}

.btn-menu {
    position: absolute;
    right: 20px;
    top: 20px;
    border: 3px solid #00F003;
    color: #FFFFFF;
}

.floatingButtonWrap {
    display: block;
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: 9;
}


/* #---- */
.floatingButtonInner {
    position: relative;
}

.floatingButton {
    display: flex;
    width: 55px;
    height: 55px;
    justify-content: center;
    align-items: center;
    background: #212529;
    border: 3px solid #ffffff;
    -webkit-box-shadow: 0px 0px 10px 0px rgb(255, 255, 255);
    -moz-box-shadow: 0px 0px 10px 0px rgb(255, 255, 255);
    box-shadow: 0px 0px 10px 0px rgb(255, 255, 255);
    color: #fff;
    line-height: 50px;
    position: absolute;
    border-radius: 50% 50%;
    bottom: 0px;
    right: 0px;
    /* opacity: 0.3; */
    opacity: 1;
    transition: all 0.4s;
}

/* .floatingButton .fa {
  font-size: 15px !important;
} */

.floatingButton.open,
.floatingButton:hover,
.floatingButton:focus,
.floatingButton:active {
    opacity: 1;
    color: #fff;
}


.floatingButton .fa {
    transform: rotate(0deg);
    transition: all 0.4s;
}

.floatingButton.open .fa {
    transform: rotate(270deg);
}

.floatingMenu {
    position: absolute;
    bottom: 60px;
    right: -8px;
    display: none;
    padding: 1rem;
    background-color: rgba(34, 38, 42, 0.9);
    border-radius: 1rem;

}

.floatingMenu li {
    width: 100%;
    float: right;
    list-style: none;
    text-align: right;
    margin-bottom: 5px;
}

.floatingMenu .facebook {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 0;
    background: #0d6efd;
    color: #FFFFFF;
    border-radius: 5rem;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s;
}

.floatingMenu .line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 0;
    background: #0ec863;
    color: #FFFFFF;
    border-radius: 5rem;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s;
}

.floatingMenu .livechat {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 0;
    background: #FFFFFF;
    color: #fd5303;
    border-radius: 5rem;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s;
}


.floatingMenu li a:hover {
    -webkit-box-shadow: 0px 0px 10px 2px rgba(0, 240, 4, 1);
    -moz-box-shadow: 0px 0px 10px 2px rgba(0, 240, 4, 1);
    box-shadow: 0px 0px 10px 2px rgba(0, 240, 4, 1);
}


@media (min-width: 375px) {}

@media (min-width: 768px) {
    #nav-web {
        display: block;
    }

    .trapezoid-green {
        width: 100%;
        height: 40px;
        background: rgb(0, 240, 3);
        background: linear-gradient(180deg, rgba(0, 240, 3, 1) 0%, rgba(1, 102, 2, 1) 50%, rgba(2, 34, 2, 1) 100%);
        clip-path: polygon(1% 0%, 99% 0%, 100% 100%, 0% 100%);
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .floatingButton {
        bottom: -50px;
        right: 8px;
    }

    .floatingMenu {
        bottom: 0px;
        right: 0px;
    }

}

@media (min-width: 1024px) {}

@media (min-width: 1440px) {
    body {
        zoom: 110%;
    }

    .box-auth {
        bottom: 13%;
    }

    .btn-login {
        height: 60px;
    }

    .btn-register {
        height: 60px;
    }
}
