@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;700&display=swap");

@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");
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("../images/bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
    background-color: rgb(10, 10, 10);
    font-family: "Kanit", sans-serif;
}

/* ==== code for cuttom css ==== */
.bg-nav {
    background-color: #121212;
    border-radius: 0 0 1rem 1rem;
    margin-bottom: 5px;
}

.font-nev {
    font-size: 1rem;
    font-family: "fc-friday";
    src: url("../fonts/FC-Friday/FC-Friday-Medium.ttf");
    color: #000000;
}

.border-promotion {
    border: 1px solid #00d8ff;
    border-radius: 1rem;
    box-shadow: 0 0 3px #00d8ff;
}
.--btn-img{
    max-width: 90px;
}
.btn-login {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid #0169ee;
    color: #015ced;
    max-width: 120px;
    min-width: 100px;
    font-family: "fc-friday";
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid #0169ee;
    color: #015ced;
    max-width: 120px;
    min-width: 100px;
    font-family: "fc-friday";
    box-shadow: 0px 0px 15px 5px #0169ee;
}

.btn-register {
    background: #04a9f6;
    background: linear-gradient(180deg, #04a9f6 0%, #0171ef 50%, #013fe9 100%);
    color: white;
    max-width: 120px;
    min-width: 100px;
    font-family: "fc-friday";
}

.btn-register:hover {
    background: #04a9f6;
    background: linear-gradient(180deg, #04a9f6 0%, #0171ef 50%, #013fe9 100%);
    color: white;
    max-width: 120px;
    min-width: 100px;
    font-family: "fc-friday";
    box-shadow: 0px 0px 15px 5px #016aee;
}

.banner-border {
    border: 2px solid #04a9f6;
}

.btn-login-2 {
    background: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #cfecfc 100%);
    border: 1px solid #016aee;
    color: #016aee;
    min-width: 170px;
    padding: 0.5rem 0.5rem;
    font-family: "fc-friday";
    font-size: 1.5rem;
}

.btn-login-2:hover {
    background: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #cfecfc 100%);
    border: 1px solid #016aee;
    color: #016aee;
    min-width: 170px;
    padding: 0.5rem 0.5rem;
    font-family: "fc-friday";
    font-size: 1.5rem;
    box-shadow: 0px 0px 15px 5px #016aee;
}

.btn-register-2 {
    background: #04a9f6;
    background: linear-gradient(180deg, #04a9f6 0%, #0171ef 50%, #013fe9 100%);
    color: white;
    min-width: 170px;
    padding: 0.5rem 0.5rem;
    font-family: "fc-friday";
    font-size: 1.5rem;
}

.btn-register-2:hover {
    background: #04a9f6;
    background: linear-gradient(180deg, #04a9f6 0%, #0171ef 50%, #013fe9 100%);
    color: white;
    min-width: 170px;
    padding: 0.5rem 0.5rem;
    font-family: "fc-friday";
    font-size: 1.5rem;
    box-shadow: 0px 0px 15px 5px #016aee;
}

.bg-row-rule {
    background-image: url('../images/bg_rule.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1rem;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.font-semibold {
    font-weight: 600;
}

.min-h-9 {
    min-height: 2.25rem;
}

.text-base {
    font-size: calc(1rem * var(--font-scale, 1));
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0%;
}

.-mb-4 {
    margin-bottom: -1rem;
}

.bg-allow {
    background: #F8BC3B;
}

.bg-allow-2 {
    background: aliceblue;
}

.pingpong {
    padding: 5px;
}

.bg-banner-patner {
    background: rgb(44, 186, 0);
    background: linear-gradient(
        180deg,
        rgba(44, 186, 0, 1) 0%,
        rgba(172, 255, 147, 0) 100%
    );
    border-radius: 1.5rem;
}

.bg-foot {
    background-color: #121212;
    border-radius: 10px;
    height: 75px;
    align-self: center;
}

.bg-alpa-2 {
    background: #ffffff;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.67) 100%
    );
    padding: 3px;
    border-radius: 1rem 1rem 0 0;
}

.bg--box {
    
    border: 1px solid #EC9E22;
}

/* ==== end cuttom css ==== */

/* === code for mobile-nav ===*/
#mobile-nav {
    position: fixed;
    min-height: 80px;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    padding-bottom: 0;
    padding-top: 0;
    background: rgb(103, 24, 196);
    background: linear-gradient(
        180deg,
        rgba(103, 24, 196, 1) 0%,
        rgba(45, 7, 106, 1) 50%,
        rgba(21, 0, 54, 1) 100%
    );
    z-index: 3;
    /* border-top: 3px solid #842029; */
}

#mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    text-align: center;
}

#mobile-nav a div {
    font-size: 0.8rem;
}

#mobile-nav img {
    max-width: 110px;
    position: relative;
    left: 0%;
    right: 0%;
    bottom: 30%;
}

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

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

#nav-bottom-mobile {
    background-image: url("../images/bg_mb_img.png");
    background-position: center;
    background-size: cover;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 130px;
    /* min-height: 70px;
    max-height: 85px; */
    border-radius: 1rem 1rem 0 0;
    z-index: 5;
    padding: 0;
    /* border-top: 4px solid #0171EF; */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* #nav-bottom-mobile .bg-2 {
    background: rgb(139, 141, 138);
    background: linear-gradient(180deg, rgba(139, 141, 138, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 1rem 1rem 0 0;
    padding: 5px;
} */

#nav-bottom-mobile .pic-icon {
    max-width: 90%;
}

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

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

#nav-bottom-mobile .menu-center {
    margin-top: -10px;
    /* max-width: 90%; */
}

.icon-img {
    max-width: 55px;
    height: auto;
}

.--img-size {
    max-width: 4.5rem;
}

/* #nav-bottom-mobile .bg-alpa {
    background: #FFFFFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.49) 100%);
    padding: 3px;
    border-radius: 1rem 1rem 0 0;
} */

/* === end code for mobile-nav ===*/

/* ===== contact-box code css ===== */
.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: #6809d6;
    background: linear-gradient(
        180deg,
        rgba(104, 9, 214, 1) 0%,
        rgba(52, 5, 107, 1) 100%
    );
    color: #fcfcfc;
    border: 4px solid #fcfcfc;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 2px rgb(248 230 32 / 70%);
}

/* ==== code for contact-us ==== */
.contact-box-2 {
    border: 2px solid #016aee;
    background-color: #000000;
    color: #f1d670;
}

.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;
}

/* ===== End contact-us CSS ===== */

/* ==== code for animation ==== */
.border-line {
    position: relative;
    height: 25rem;
    width: 20rem;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 1rem;
}

.text {
    text-decoration: none;
    z-index: 10;
    font-size: 100px;
    font-family: system-ui;
    font-weight: bold;
    color: white;
    position: absolute;
}

.border-line::before {
    content: "";
    height: 40rem;
    width: 20rem;
    background: linear-gradient(90deg, red, blue);
    position: absolute;
    z-index: 1;
    animation: myAnim 2s linear 0s infinite reverse none;
}

@keyframes myAnim {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.logo_animation {
    position: relative;
    margin: 300px auto 0;
    width: 500px;
    height: 250px;
    background: linear-gradient(0deg, #000, #272727);
}

.logo_animation:before,
.logo_animation:after {
    content: "";
    position: absolute;
    left: -2px;
    top: -2px;
    background: linear-gradient(
        45deg,
        #ffe002,
        #ffe002,
        #1c1c1c,
        #1c1c1c,
        #ffe002,
        #ffe002,
        #1c1c1c,
        #1c1c1c,
        #ffe002,
        #ffe002
    );
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: steam 15s linear infinite;
}

@keyframes steam {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.logo_animation:after {
    filter: blur(10px);
}

/* ===== End animation CSS ===== */

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

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

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

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

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

.font-fc-friday {
    font-family: "fc-friday";
}

.font-fc-friday-l {
    font-family: "fc-friday-Italic";
}

@media (min-width: 430px) {
    .--img-size {
        max-width: 6rem;
    }

    .icon-img {
        max-width: 60px;
        height: auto;
    }
}

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

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

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