@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-position: top center;
    background-size: contain;
    background-attachment: fixed;
    font-family: 'Kanit';
    background-color: #212529;
    background-repeat: repeat;
}

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

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

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

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

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

.glowing-line {
    width: 400px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(227, 0, 252, 0.7), #ffffff, rgba(227, 0, 252, 0.7), transparent);
    box-shadow: 0 0 10px 2px rgba(227, 0, 252, 0.7);
    border-radius: 50%;
}

.banner-position {
    position: absolute;
    top: 10%;
    left: 3%;
    right: 18%;
}

#nav-web {
    display: none;
}

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

.text-menu:hover {
    color: #662F94;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0px 0px 10px 2px #662F94;
}

.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: #ffffff;
    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: 3px solid #FFFFFF;
}

.img-game {
    width: 100%;
    border-radius: 2rem;
    border: 1px solid #662F94;
    /* box-shadow: 0px 0px 10px 2px #FCE48A; */
}

.box-auth {
    position: absolute;
    bottom: 10%;
    left: 3%;
    transform: translate(0%, 10%);
    width: 50%;
    display: flex;
}

.btn-login {
    background-image: url('../images/btn-login.png');
    background-size: 100% 100%;
    /* padding: 10px 30px; */
    min-width: 135px;
    max-width: 150px;
    height: 35px;
    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: #662F94;
}

.btn-register {
    background-image: url('../images/btn-register.png');
    background-size: 100% 100%;
    /* padding: 10px 30px; */
    min-width: 135px;
    max-width: 150px;
    height: 35px;
    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: #662F94;
    /* clip-path: polygon(2% 0%, 98% 0%, 100% 100%, 0% 100%); */
    padding-right: 2rem;
    padding-left: 2rem;
    border-radius: 2rem;
}

.border-lr{
    border: 1px solid #662F94;
    border-radius: 1.2rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

.text-1{
    font-size: 24px;
    font-weight: bold;
    color: #662F94;
}

.text-2{
    color: #662F94;
    font-size: 14px;
}

.bg-foot{
    background-image: url('../images/bg_foot.png');
    background-size: cover;
    background-position: center;
}

.position-mt{
    margin-top: -4%;
}

#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 rgba(227, 0, 252, 0.7);
}

#nav-bottom-mobile {
    background: rgb(96,0,167);
    background: linear-gradient(0deg, rgba(96,0,167,1) 0%, rgba(48,0,127,1) 35%, rgba(6,0,28,1) 100%);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    max-height: 85px;
    border-radius: 1rem 1rem 0 0;
    z-index: 5;
    padding: 5px;
    /* border-top: 4px solid #fce48a; */
}

#nav-bottom-mobile .menu {
    color: #ffffff;
    font-family: "prompt";
    max-width: 80px;
}

#nav-bottom-mobile .bg-secondary-2 {
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 55%, rgba(255,255,255,0.49) 100%);
    border-radius: 1.2rem;
    padding: 5px 5px 0 5px;
}

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

#nav-bottom-mobile .menu-center {
    margin-top: -5px;
}

.btn-line {
    background-color: #06c755;
    border: 2px solid #06c755;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    min-width: 130px;
    margin-right: 0.5rem;
}

.btn-line:hover {
    border: 2px solid #0f8d59;
    background-color: #0f8d59;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    min-width: 130px;
    margin-right: 0.5rem;
}


.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: relative;
    right: -45%;
    /* 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: 390px) {
    .box-auth {
        left: 5%;
    }
}

@media (min-width: 414px) {
    .box-auth {
        left: 8%;
    }
}

@media (min-width: 430px) {
    .box-auth {
        left: 9%;
    }
}

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

    /* .trapezoid-green {
        width: 100%;
        height: 40px;
        background: rgb(196,0,255);
        background: linear-gradient(180deg, rgba(196,0,255,1) 0%, rgba(54,0,177,1) 100%);
        clip-path: polygon(2% 0%, 98% 0%, 100% 100%, 0% 100%);
        padding-right: 2rem;
        padding-left: 2rem;
        border-radius: 2rem;
    } */

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

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

    .box-auth-2 {
        position: relative;
        display: flex;
        justify-content: space-around;
        margin-top: -13%;
    }

    .banner-position {
        position: absolute;
        top: 10%;
        left: 8%;
        right: 21%;
    }

    .text-1{
        font-size: 2.5rem;
        font-weight: bold;
        color: #662F94;
    }

    .text-2{
        color: #662F94;
        font-size: 1.5rem;
    }

    .position-mt{
        margin-top: 0;
    }

}

@media (min-width: 1024px) {
    .box-auth-2 {
        position: relative;
        display: flex;
        justify-content: space-around;
        margin-top: -13%;
    }

    .btn-login {
        min-width: 250px;
        max-width: 300px;
        height: 50px;

    }

    .btn-register {
        min-width: 250px;
        max-width: 300px;
        height: 50px;
    }

    .text-1{
        font-size: 2.5rem;
        font-weight: bold;
        color: #662F94;
    }

    .text-2{
        color: #662F94;
    }

    .position-mt{
        margin-top: 0;
    }
}

@media (min-width: 1440px) {

    .position-mt{
        margin-top: 0;
    }

    .text-1{
        font-size: 2.5rem;
        font-weight: bold;
        color: #662F94;
    }

    .text-2{
        color: #662F94;
    }
    body {
        zoom: 110%;
    }

    .box-auth-2 {
        position: relative;
        display: flex;
        justify-content: space-around;
        margin-top: -10%;
    }

    .btn-login {
        min-width: 250px;
        max-width: 300px;
        height: 50px;

    }

    .btn-register {
        min-width: 250px;
        max-width: 300px;
        height: 50px;
    }
}
