@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-color: #121521;
    background-image: url("../images/bg.png");
    background-repeat: repeat-y;
    background-attachment: fixed;
    background-position: top center;
    background-size: contain;
    font-family: "Kanit", sans-serif;
}

/* ==== code for cuttom css ==== */
.font-nev {
    font-size: 1rem;
    font-family: "fc-friday";
    src: url("../fonts/FC-Friday/FC-Friday-Medium.ttf");
    color: #ffffff;
}

.border-promotion {
    border: 1px solid #00D8FF;
    border-radius: 1rem;
    box-shadow: 0 0 3px #00D8FF;
}

.nev-border {
    border: 1px solid #FF5F0E;
    background-color: #121521;
    width: 400px;
    justify-content: center;
    border-radius: 1.5rem;
    gap: 1rem;
    font-style: italic;
}

.font-banner {
    font-size: 65px;
    color: #ffffff;
}

.font-banner-2 {
    background: #FCA012;
    background: linear-gradient(to bottom, #FCA012 0%, #EC5122 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.75rem;
}

.btn-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.btn-login{
    background: #A7FFB1;
    background: linear-gradient(to bottom, #A7FFB1 0%, #00E859 100%);

    /* background: linear-gradient(to bottom, #a7adff 0%, #0027e8 100%); */
    font-family: "fc-friday";
    color: #000;
    padding: 0.5rem;
    width: 100%;
    border-radius: 2rem;
    font-style: italic;
    animation: login 2s ease-out infinite alternate none;
}

@keyframes login {
	0% {
		transform: scale(0.9);
	}

	100% {
		transform: scale(1);
	}
}

.btn-login:hover{
    box-shadow: 0px 0px 10px 3px #2BEE6F;
}

.btn-register{
    background: #121521;

    /* background: linear-gradient(to bottom, #f12a2a 0%, #c50404 100%); */
    font-family: "fc-friday";
    color: #A7FFB1;
    padding: 0.5rem;
    width: 100%;
    border-radius: 2rem;
    font-style: italic;
    border: 2px solid #2BEE6F;
    animation: register 2s ease-out 2s infinite alternate none;

}

@keyframes register {
	0% {
		transform: scale(0.9);
	}

	100% {
		transform: scale(1);
	}
}

.btn-register:hover{
    box-shadow: 0px 0px 10px 3px #2BEE6F;
    background: #121521;
    color: #A7FFB1;
}

.announce{
    color: #EC5122;
}

.border-announce{
    border: 1px solid #EC5122;
    border-radius: 1rem;
    align-self: center;
    padding: 0;
}

#position{
    position: absolute;
    top: 10%;
}

#position-2{
    position: absolute;
    top: 60%;
}

.hr-1{
    background: #FF5A07;
    height: 4px;
}

.bg-organ{
    background: #FF5A07;
    border-radius: 2rem;
}

.border-game{
    border: 1px solid #FF5A07;
    padding: 1rem;
    border-radius: 1rem;

}

/* ==== 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: #FEBE02;
    background: linear-gradient(180deg, #FEBE02 0%, #EE3F15 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: 3px;
    border-top: 4px solid #000000;
}

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

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

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

/* === 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: #FEBE02;
    background: linear-gradient(180deg, #FEBE02 0%, #EE3F15 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: #FEBE02;
    background: linear-gradient(180deg, #FEBE02 0%, #EE3F15 100%);
    color: #fcfcfc;
    border: 4px solid #fcfcfc;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 2px #EE3F15;
}

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

.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: #ff4e00 #ffffff;
}

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

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

*::-webkit-scrollbar-thumb {
    background-color: #ff4e00;
    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: 768px) {}

@media (min-width: 1024px) {
    .nev-border {
        width: 500px;
    }
}

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