@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(bg.jpg);
  background-repeat: repeat-y;
  background-attachment: fixed;
  background-position: top;
  background-size: contain;

  font-family: "Kanit", sans-serif;
}

/* ==== code for cuttom css ==== */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.font-nev {
  font-size: 1rem;
}

.bg-nev {
  background:rgb(130 24 1);
}
.bg-main {
  background-image: url("bg.jpg");
 background-color: #cccccc;
 background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
}
.btn-login {
  background: #000000;
  border: 1px solid #fb2105;
  border-radius: 1.5rem;
  min-width: 100px;
}

.btn-login:hover {
    background: rgb(7 76 141);
    background: linear-gradient(180deg, rgba(96,0,1,1) 0%, rgba(194,0,0,1) 0%, rgba(96,0,1,1) 100%);
    border: 1px solid #fb2105;
    border-radius: 1.5rem;
    min-width: 100px;
    box-shadow: 0px 0px 30px -3px #4b0606;
}

.btn-register {
    background: rgb(7 76 141);
    background: linear-gradient(180deg, rgba(96,0,1,1) 0%, rgba(194,0,0,1) 0%, rgba(96,0,1,1) 100%);
    border: 1px solid #fb2105;
    border-radius: 1.5rem;
    min-width: 100px;
    box-shadow: 0px 0px 30px -3px #4b0606;
}

.btn-register:hover {
  background: #000000;
  border: 1px solid #fb2105;
  border-radius: 1.5rem;
  min-width: 100px;
}

.bg-all-game {
  background-image: url('../images/bg_jamacafub.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10px 0 10px 0;

}

.bg-footer {
  padding-top: .75rem;
  background: rgb(130 24 1);
}

.bg-model {
  background: rgb(24, 0, 52);
  background: linear-gradient(90deg, rgba(96,0,1,1) 0%, rgba(194,0,0,1) 50%, rgba(96,0,1,1) 100%);
  color: white;
  border: 2px solid white;
}

.lux-btn {
  border: 2px solid white;
  border-radius: 10px;
  width: 220px;
  height: 45px;
}

.model-bg{
    background: rgb(130, 2, 224);
  background: linear-gradient(0deg, rgba(130, 2, 224, 1) 0%, rgba(57, 0, 185, 1) 100%);
  border: 1px solid #6C15AB;
  box-shadow: 0px 0px 30px -3px #2802C5;
}

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

/* ===== 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 #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: #6C15AB #ffffff;
}

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

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

*::-webkit-scrollbar-thumb {
  background-color: #821801;
  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";
}

.pic-game {
  width: 100%;
  max-width: 35px;
}

.pic-game:hover {
  scale: 105%;
}

@media (min-width: 375px) {
  .pic-game {
    width: 100%;
    max-width: 45px;
  }
}

@media (min-width: 768px) {
  .pic-game {
    width: 100%;
    max-width: 85px;
  }
}

@media (min-width: 1024px) {
  .pic-game {
    width: 100%;
    max-width: 110px;
  }
}

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

  .pic-game {
    width: 100%;
    max-width: 140px;
  }
}
