/**************************/
/*     General Styles     */
/**************************/
body {
  font-family: "Noto Sans Thai", sans-serif !important;
}

body h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans Thai", sans-serif !important;
}

.btn-container a {
  text-decoration: none;
}

#myVideo {
  /* background-image:
    url("../img/Header.png"); */
  object-fit: cover;
  width: 100%;
  max-height: 1080px;
  top: 0;
  left: 0;
  background-color: #fff;
}

body.sub {
  background-image:
    url("../img/bg-sub.png");
  object-fit: cover;
  width: 100%;
  top: 0;
  left: 0;
}

/*********************/
/*      Details      */
/*********************/

header {
  overflow: hidden;
}

header img {
  object-fit: cover;
  width: 100%;
  top: 0;
  left: 0;
}

.body-sub {
  background-image:
    url("../img/bg-sub.png");
  background-position: center bottom, left top;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-sub {
  background-image: url("../img/bg-vector-sub.png");
  background-size: cover;
  min-height: 100%;
}

.bg-vector {
  background-image: url("../img/bg-vector.png");
  background-size: cover;
  min-height: 100%;
}

.section-char {
  width: 100%;
  position: relative;
  z-index: -1;
}

.section-char-l {
  margin-left: 120px;

}

.section-char-r {
  margin-left: -190px;

}

.section-logo {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-button {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  top: -170px;
}

.carousel {
  border-color: #3b5997;
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
}

.carousel-item img {
  border-radius: 10px;
}

.status-login {
  color: #fff;
  padding-bottom: 7px;
}

.status-login .image-container {
  margin-bottom: 4rem;
}

.status-login h2 {
  margin-bottom: 1.75rem;
}

.status-login p {
  margin-bottom: 2rem;
}

.status-login h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.status {
  background-color: #4a4a4a !important;
  color: #fff;
  padding: 3rem 0;
  /* margin: 5rem 0; */
  margin-top: 5rem;
}

.status .image-container {
  margin-bottom: 4rem;
}

.status h2 {
  margin-bottom: 1.75rem;
}

.status p {
  margin-bottom: 2rem;
}

.news {
  background-color: #1e0c0c;
}

.news .image-container {
  margin-bottom: 4rem;
}

.news h2 {
  margin-bottom: 1.75rem;
}

.job-info {
  background-color: #fff;
  background-image:
    url("../img/bg-0.jpg");
}

.job-info .image-container {
  margin-bottom: 4rem;
}

.job-info h2 {
  margin-bottom: 1.75rem;
}

.job-info p {
  margin-bottom: 2rem;
}

.section-slide {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 733;
  padding-bottom: 30px;
  margin-top: -780px;
}

.button_enter {
  display: inline-block;
  vertical-align: middle;
  float: none;
  -webkit-animation: 4s logo infinite linear;
  -moz-animation: 4s logo infinite linear;
  animation: 4s logo infinite linear;
}

.button_enter:hover {
  -webkit-animation: bounce 1s;
  animation: bounce 1s;
}

@-webkit-keyframes logo {

  0%,
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  10%,
  50% {
    -webkit-transform: rotate(-3deg);
    transform: rotate(-3deg);
    -webkit-transform-origin: 80% 100%;
    transform-origin: 80% 100%;
  }

  30%,
  70% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
    -webkit-transform-origin: 20% 100%;
    transform-origin: 20% 100%;
  }
}

@keyframes logo {

  0%,
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  10%,
  50% {
    -webkit-transform: rotate(-3deg);
    transform: rotate(-3deg);
    -webkit-transform-origin: 80% 100%;
    transform-origin: 80% 100%;
  }

  30%,
  70% {
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
    -webkit-transform-origin: 20% 100%;
    transform-origin: 20% 100%;
  }
}

.header_logo {
  width: 390px;
  padding-bottom: 20px;
  display: block;
  margin: 0 auto;
  -webkit-animation: 4s heart infinite linear;
  -moz-animation: 4s heart infinite linear;
  animation: 4s heart infinite linear;
}

@-webkit-keyframes heart {

  0%,
  100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  30%,
  80% {
    -webkit-transform: scale(1.15);
    opacity: 1;
    transform: scale(1.15);
    opacity: 1;
  }

  40%,
  60% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  50%,
  70% {
    -webkit-transform: scale(0.95);
    opacity: 1;
    transform: scale(0.95);
    opacity: 1;
  }
}

@keyframes heart {

  0%,
  100% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  30%,
  80% {
    -webkit-transform: scale(1.15);
    opacity: 1;
    transform: scale(1.15);
    opacity: 1;
  }

  40%,
  60% {
    -webkit-transform: scale(1);
    opacity: 0.95;
    transform: scale(1);
    opacity: 0.95;
  }

  50%,
  70% {
    -webkit-transform: scale(0.95);
    opacity: 1;
    transform: scale(0.95);
    opacity: 1;
  }
}

/********************/
/*   CUSTOM CURSOR  */
/********************/

.custom {
  cursor: url("../img/cursor.png"), auto;
}

.custom:hover a {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover li {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover button {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover input {
  cursor: url("../img/activec.png"), auto;
}

.custom:hover i {
  cursor: url("../img/activec.png"), auto;
}

.bg-update {
  background-color: #65a72a;
  float: right;
}

.bg-promotion {
  background-color: #ff6b6b;
  float: right;
}

.bg-notice {
  background-color: #2495cc;
  float: right;
}

.bg-event {
  background-color: #fd973f;
  float: right;
}

.bg-view {
  background-color: #89582b;
  float: right;
}

.status-event {
  display: inline;
  padding: 0.2em 0.8em 0.3em;
  font-size: 85%;
  font-weight: 300;
  line-height: 1.2em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.status-box {
  display: inline;
  padding: 0.2em 0.8em 0.3em;
  font-size: 85%;
  font-weight: 300;
  line-height: 1.2em;
  /* background-color: #e9952d; */
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  vertical-align: baseline;
  -webkit-border-radius: 50em;
  border-radius: 50em;
  /* -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); */
}

.footer {
  font-family: "Noto Sans Thai";
  background: #1e0c0c;
  height: auto;
  width: 100%;
  left: 0;
  bottom: 0;
  /* box-shadow: rgba(167, 31, 31, 0.1) 0px 0px 16px; */
  padding: 32px 0;
  z-index: 5000;
}

.footer-member {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 65px;
  width: 100%;
  background: #410000;
  color: white;
  text-align: center;
  box-shadow: rgba(167, 31, 31, 0.1) 0px 0px 16px;
  padding: 15px 50px;
  display: flex;
  z-index: 5000;
}

.footer_logo {
  display: block;
  -webkit-animation: 4s heart infinite linear;
  -moz-animation: 4s heart infinite linear;
  animation: 4s heart infinite linear;
}

.footer-upper {
  background-image:
    url("../img/upper-status.png");
  object-fit: cover;
  width: 100%;
  height: 190px;
  top: 0;
  left: 0;
  margin-bottom: -110px;
}

.footer-job {
  background-image:
    url("../img/upper.png");
  object-fit: cover;
  width: 100%;
  height: 234px;
  top: 0;
  left: 0;
  margin-bottom: -110px;
}

.footer-bottom {
  background-image:
    url("../img/bottom.png");
  object-fit: cover;
  width: 100%;
  height: 234px;
  top: 0;
  left: 0;
  margin-top: -110px;
}

.news-bottom {
  background-image:
    url("../img/news-bottom.png");
  object-fit: cover;
  width: 100%;
  height: 545px;
  top: 0;
  left: 0;
  margin-top: -300px;
}

.news-up {
  background-image:
    url("../img/news-up.png");
  object-fit: cover;
  width: 100%;
  height: 545px;
  top: 0;
  left: 0;
  margin-top: -300px;
}

.status-upper {
  background-color: #742517;
  background-image:
    url("../img/upper-status.png");
  object-fit: cover;
  width: 100%;
  height: 190px;
  top: 0;
  left: 0;
  margin-top: -1px;
}

.copy {
  text-align: center;
  margin-top: 12px;
  color: #ffbb00;
  font-size: 12px;
}

.nevline {
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.toggle-b {
  margin-left: 340px;
  margin-top: -25px;
  cursor: pointer;
}

.imgcenter {
  display: block;
  margin: 0 auto;
}

.bg-nav {
  background-color: #53090b !important;
}

.bg-dark-card {
  background-color: #53090b !important
}

.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/********************/
/*    page-loader   */
/********************/
.page-loader {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #e7e7e7;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999999;
  transition: opacity .4s ease-in-out, visibility .4s ease-in-out
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden
}

.page-loader .page-loader-decoration {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 28px;
}

.page-loader .page-loader-decoration .icon-logo {
  fill: #fff;
  width: 36px;
  height: 52px
}

.page-loader .page-loader-info .page-loader-info-text,
.page-loader .page-loader-info .page-loader-info-title {
  color: #777777;
  text-transform: uppercase;
  text-align: center
}

.page-loader .page-loader-info .page-loader-info-title {
  margin-top: 24px;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 1.75rem;
  font-weight: 900
}

.page-loader .page-loader-info .page-loader-info-text {
  margin-top: 10px;
  font-size: .75rem;
  font-weight: 700
}

.page-loader .page-loader-indicator {
  margin-top: 60px
}

/*page loader*/

hr {
  border-top: 1px solid #e957e9 !important;
}

.classicon {
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  display: block;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

div.dataTables_wrapper div.dataTables_filter label {
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
  display: none;
}

div.dataTables_wrapper div.dataTables_length label {
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  display: none;
}

.dropdown-item {
  color: #e9e9e9 !important;
}

.dropdown-item:hover {
  color: rgb(255, 255, 255) !important;
}

.dropdown-menu {
  background-color: #3b5997 !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #5676b7;
}

.guild-bgem {
  position: relative;
  background: url(../img/flag.png) no-repeat;
  width: 50px;
  height: 101px;
  float: left;
  margin-top: -1.2em;
  margin-left: 1.2em;
  margin-right: 0.9em;
}

.guild-bgem .icon-em {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #ccc;
  border: 1px solid #612711;
  top: 2.5em;
  left: 0.9em;
}

.social {
  background: #d9e8ff;
  opacity: .79;
  width: 1.45833vw;
  height: 1.45833vw;
  border-radius: 1.45833vw;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}


.datepicker {
  font-family: "Noto Sans Thai", sans-serif !important;
}

.btn-container {
  display: flex;
  justify-content: center;
}

.btn-container button {
  margin: 5px;
}

.btn-container button i {
  margin-right: 5px;
}

.news-container {
  margin-bottom: 20px;
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.nav-item {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .nav-item {
    padding: 0 0rem;
  }
}

.navbar {
  background-color: #1e0c0c;
}

.navbar-nav .nav-item .nav-link {
    color: #ffc400 !important;
}
/* .navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item:hover .nav-link {
    color: #53090b !important;
} */

/* Custom responsive styles */
@media (max-width: 767px) {
  .btn-container {
    flex-wrap: wrap;
  }

  .btn-container button {
    width: 100%;
  }
}

/* Custom styles for the status boxes */
.status-container {
  /* border: 1px solid #101010; */
  /* border-radius: 35px; */
  /* background-color: #ccc; */
  padding: 1rem 0;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.status h4 {
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #a8a8a8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.status h3 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #eee;
}

.status-box {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* Media query for responsiveness */
@media (max-width: 576px) {
  .status .col-xl-3 {
    flex-basis: 50%;
    max-width: 50%;
  }
}

/* Set the initial styles for the image container */
.image-containers {
  padding-right: 1px;
  overflow: hidden;
}

/* Add the hover animation */
.image-containers img {
  transition: transform 0.3s ease;
  height: 100%;      /* เพิ่ม */
  width: auto;       /* รักษาสัดส่วน */
  object-fit: cover; /* ครอบคลุมพื้นที่ */
  border: 1px solid #FFD700; /* เส้นขอบสีเหลืองทอง หนา 1px */
  border-radius: 8px;         /* มุมโค้งมน */
  box-sizing: border-box;     /* รวมเส้นขอบในขนาด */
  /* Set the transition duration and easing here */
}

/* Add the zoom-in effect on hover */
.image-containers:hover img {
  transform: scale(1.1);
  /* Increase the scale to zoom in (1.1 means 10% larger) */
}

.Offline {
  color: #da2d2d
}

.Online {
  color: #2dda44
}

.navbar-logo {
  padding: 15px;
  color: #fff;
}

.navbar-mainbg {
  background-color: #3b5997;
  padding: 0px;
}

#navbarSupportedContent {
  overflow: hidden;
  position: relative;
}

#navbarSupportedContent ul {
  padding: 0px;
  margin: 0px;
}

#navbarSupportedContent ul li a i {
  margin-right: 10px;
}

#navbarSupportedContent li {
  list-style-type: none;
  float: left;
}

#navbarSupportedContent ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 20px 20px;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

#navbarSupportedContent>ul>li.active>a {
  color: #53090b;
  background-color: transparent;
  transition: all 0.7s;
}

#navbarSupportedContent a:not(:only-child):after {
  content: "\f105";
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
  transition: 0.5s;
}

#navbarSupportedContent .active>a:not(:only-child):after {
  transform: rotate(90deg);
}

.hori-selector {
  display: inline-block;
  position: absolute;
  height: 100%;
  top: 0px;
  left: 0px;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background-color: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-top: 10px;
}

.hori-selector .right,
.hori-selector .left {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #fff;
  bottom: 10px;
}

.hori-selector .right {
  right: -25px;
}

.hori-selector .left {
  left: -25px;
}

.hori-selector .right:before,
.hori-selector .left:before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #53090b;
}

.hori-selector .right:before {
  bottom: 0;
  right: -25px;
}

.hori-selector .left:before {
  bottom: 0;
  left: -25px;
}


@media(min-width: 992px) {
  .navbar-expand-custom {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .navbar-expand-custom .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .navbar-expand-custom .navbar-toggler {
    display: none;
  }

  .navbar-expand-custom .navbar-collapse {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
  }
}


@media (max-width: 991px) {
  #navbarSupportedContent ul li a {
    padding: 12px 30px;
  }

  .hori-selector {
    margin-top: 0px;
    margin-left: 10px;
    border-radius: 0;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
  }

  .hori-selector .left,
  .hori-selector .right {
    right: 10px;
  }

  .hori-selector .left {
    top: -25px;
    left: auto;
  }

  .hori-selector .right {
    bottom: -25px;
  }

  .hori-selector .left:before {
    left: -25px;
    top: -25px;
  }

  .hori-selector .right:before {
    bottom: -25px;
    left: -25px;
  }

  .nevline {
    font-size: 10px;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
  }
}

#register-section {
  display: none;
}

#download-section {
  display: none;
}

#database-section {
  display: none;
}

#worldmap-section {
  display: none;
}


#login-section {
  display: none;
}

/* Custun */

.btn {
  border-radius: 100px;
  min-width: 120px;
}

.btn-main {
  color: #fff;
  background-color: #89582b;
  border-color: #89582b;
}

.btn-main:hover {
  color: #fff;
  background-color: #89582b;
  border-color: #89582b;
  opacity: 50%;
}

.btn-warning:not(:disabled):not(.disabled).active, .btn-warning:not(:disabled):not(.disabled):active, .show>.btn-warning.dropdown-toggle {
  color: #fff;
  background-color: #89582b;
  border-color: #89582b;
}

.btn-warning:not(:disabled):not(.disabled).active:focus, .btn-warning:not(:disabled):not(.disabled):active:focus, .show>.btn-warning.dropdown-toggle:focus {
  box-shadow: 0 0 0 .2rem rgb(255, 187, 0);
}

.btn-secon {
  color: #fff;
  background-color: #89582b;
  border-color: #89582b;
  opacity: 50%;
}

.btn-secon:hover {
  color: #ffbb00;
  background-color: #89582b;
  border-color: #89582b;
  opacity: 50%;
}

.card {
  background-color: #441b00;
}

.card-title {
  color: #ffffff;
}

.card-text {
  color: #ffffff;
}

.team_logo {
  padding: 0.5rem -3rem 2.5rem 0;
}

.team_logo img {
  max-width: 200px;
}

.footer a {
  color: #ffbb00;
  text-decoration: none;
}

.footer a:hover {
  color: #ce2f10;
}

.footer span {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.img-header {
    width: 100%;
}

/* Confetti */
.confetti {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  position: absolute;
  top: -1rem;
  left: 0;
  z-index: 150;
}

.confetti .rotate {
  animation: driftyRotate 1s infinite both ease-in-out;
  perspective: 1000;
}

.confetti .askew {
  background: currentColor;
  transform: skewY(10deg);
  width: 1rem;
  height: 1rem;
  animation: drifty 1s infinite alternate both ease-in-out;
  perspective: 1000;
}

.confetti:nth-of-type(5n) {
  color: #F56620;
}

.confetti:nth-of-type(5n+1) {
  color: #00EAFF;
}

.confetti:nth-of-type(5n+2) {
  color: #EA8EE0;
}

.confetti:nth-of-type(5n+3) {
  color: #EBFF38;
}

.confetti:nth-of-type(5n+4) {
  color: #0582FF;
}

.confetti:nth-of-type(7n) .askew {
  animation-delay: -.6s;
  animation-duration: 2.25s;
}

.confetti:nth-of-type(7n + 1) .askew {
  animation-delay: -.879s;
  animation-duration: 3.5s;
}

.confetti:nth-of-type(7n + 2) .askew {
  animation-delay: -.11s;
  animation-duration: 1.95s;
}

.confetti:nth-of-type(7n + 3) .askew {
  animation-delay: -.246s;
  animation-duration: .85s;
}

.confetti:nth-of-type(7n + 4) .askew {
  animation-delay: -.43s;
  animation-duration: 2.5s;
}

.confetti:nth-of-type(7n + 5) .askew {
  animation-delay: -.56s;
  animation-duration: 1.75s;
}

.confetti:nth-of-type(7n + 6) .askew {
  animation-delay: -.76s;
  animation-duration: 1.5s;
}

.confetti:nth-of-type(9n) .rotate {
  animation-duration: 2s;
}

.confetti:nth-of-type(9n + 1) .rotate {
  animation-duration: 2.3s;
}

.confetti:nth-of-type(9n + 2) .rotate {
  animation-duration: 1.1s;
}

.confetti:nth-of-type(9n + 3) .rotate {
  animation-duration: .75s;
}

.confetti:nth-of-type(9n + 4) .rotate {
  animation-duration: 4.3s;
}

.confetti:nth-of-type(9n + 5) .rotate {
  animation-duration: 3.05s;
}

.confetti:nth-of-type(9n + 6) .rotate {
  animation-duration: 2.76s;
}

.confetti:nth-of-type(9n + 7) .rotate {
  animation-duration: 7.6s;
}

.confetti:nth-of-type(9n + 8) .rotate {
  animation-duration: 1.78s;
}

@keyframes drifty {
  0% {
    transform: skewY(10deg) translate3d(-250%, 0, 0);
  }

  100% {
    transform: skewY(-12deg) translate3d(250%, 0, 0);
  }
}

@keyframes driftyRotate {
  0% {
    transform: rotateX(0);
  }

  100% {
    transform: rotateX(359deg);
  }
}

#paginationContainer {
  padding: 1.5rem 0;
}

.page-link {
  color: #fff !important; /* ตัวเลขและลูกศรสีขาว */
  background-color: #1a1a1a !important; /* พื้นหลังดำเข้ม */
  border: 1px solid #333; /* ขอบสีเทาเข้ม */
  transition: all 0.3s ease;
  border-radius: 4px;
}

.page-link:hover {
  background-color: #333 !important; /* พื้นหลังเทาเข้มเมื่อ hover */
  color: #fff !important; /* สีตัวเลขยังคงขาว */
  border-color: #ffbb00 !important; /* ขอบสีทองเมื่อ hover */
}

.page-item.active .page-link {
  color: #000 !important; /* ตัวเลขสีดำ */
  background-color: #ffbb00 !important; /* พื้นหลังสีทอง */
  border-color: #ffbb00 !important; /* ขอบสีทอง */
  font-weight: bold;
}

.guild_reg {
  background-image: url("../img/guildreg_bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  margin: 6rem 0;
}

.flag-item img {
  max-width: 100%;
  height: auto;
}

.news-item > .row {
  display: flex;
  align-items: stretch; /* ให้คอลัมน์สูงเท่ากัน */
}

.image-containers,
.col-md-7 {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.col-md-7 > .card {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.col-md-7 > .card > .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* กึ่งกลางแนวตั้ง */
}