@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap');


@font-face {
  font-family: 'Unblocker' !important;
  src: url(../font/Unblocker.ttf) format('truetype') !important;
  font-weight: normal !important;
  font-style: normal !important;
}


html,
body {
  margin: 0;
  height: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
}

body {
  font-family: "Mitr", sans-serif;
  scroll-snap-type: y mandatory;
  position: relative;
}

.btn:hover {
  /* border: none; */
}

.btn:active {
  /* border: none; */
}

a {
  transition: .3s;
  transform: .3s;
}

a:hover {
  filter: brightness(1.1);
}

.section {
  scroll-snap-align: start;
  position: relative;
  padding: 50px 0;
}

:root {
  --white-gradient: linear-gradient(180deg,
      #FFFFFF 14%,
      #c7e7ff 57%,
      #a0deff 83%,
      #FFFFFF 100%);
}

.text-hide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@font-face {
  font-family: 'Unblocker';
  src: url('fonts/Unblocker.woff2') format('woff2'),
    url('fonts/Unblocker.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.nav-main {
  position: fixed;
  width: 100%;
  z-index: 99;
}

.side-nav {
  position: fixed;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.side-nav .nav-item {
  width: 150px;
  height: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.side-nav .nav-item.active {
  clip-path: none;
  width: 150px;
  padding-left: 10px;
}

.side-nav .nav-item.btn-fix1 {
  background: url(../images/ic-fix1.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix1.active {
  background: url(../images/ic-fix1-active.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix2 {
  background: url(../images/ic-fix2.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix2.active {
  background: url(../images/ic-fix2-active.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix3 {
  background: url(../images/ic-fix3.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix3.active {
  background: url(../images/ic-fix3-active.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix4 {
  background: url(../images/ic-fix4.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix4.active {
  background: url(../images/ic-fix4-active.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix5 {
  background: url(../images/ic-fix5.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix5.active {
  background: url(../images/ic-fix5-active.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix6 {
  background: url(../images/ic-fix6.webp?v=1.35) center/contain no-repeat;
}

.side-nav .nav-item.btn-fix6.active {
  background: url(../images/ic-fix6-active.webp?v=1.35) center/contain no-repeat;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-150px) scale(0.98);
  transition: transform 1800ms cubic-bezier(.2, .9, .3, 1),
    opacity 2000ms ease;
  will-change: transform, opacity;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}


@media (prefers-reduced-motion: reduce) {

  .slide-in-left,
  .slide-in-left.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(250px) scale(0.98);
  transition: transform 1500ms cubic-bezier(.2, .9, .3, 1),
    opacity 1800ms ease;
  will-change: transform, opacity;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

  .slide-in-right,
  .slide-in-right.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.slide-in-bottom {
  opacity: 0;
  transform: translatey(250px) scale(0.98);
  transition: transform 1500ms cubic-bezier(.2, .9, .3, 1),
    opacity 1800ms ease;
  will-change: transform, opacity;
}

.slide-in-bottom.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

  .slide-in-bottom,
  .slide-in-bottom.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.swing {
  display: inline-block;
  font-size: 3rem;
  animation: swing 2s ease-in-out infinite;
}

@keyframes swing {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }

  75% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

.pendulum {
  display: inline-block;
  font-size: 4rem;
  transform-origin: top center;
  /* จุดหมุนด้านบนตรงกลาง */
  animation: constantSwing 5s linear infinite;
  /* linear ให้ความเร็วคงที่ */
}

@keyframes constantSwing {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-20deg);
  }

  /* แกว่งซ้าย */
  50% {
    transform: rotate(20deg);
  }

  /* แกว่งขวา */
  75% {
    transform: rotate(-20deg);
  }

  /* แกว่งซ้าย */
  100% {
    transform: rotate(0deg);
  }

  /* กลับกลาง */
}

.wiggle {
  display: inline-block;
  font-size: 50px;
  animation: wiggle 2s infinite;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(3deg);
  }

  50% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

#muteBtn {
  background: none !important;
  border: none !important;
}

#muteBtn:hover {
  filter: brightness(1.2);
  background: none !important;
  border: none !important;
}

#muteBtn:active,
#muteBtn:focus {
  background: none !important;
  border: none !important;
}

.col-bgm {
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 100;
}

.col-social-float {
  position: fixed;
  bottom: 74px;
  right: 10px;
  z-index: 999;
  background: url(../images/bg-socail.webp?v=2.77) center / contain no-repeat;
  width: 98px;
  height: 232px;
  padding-top: 105px;
  filter: drop-shadow(5px 5px 10px #fff);
}

.col-social-float>div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.col-social-float a {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.col-social-float a:hover {
  filter: brightness(1.1);
  transform: scale(1.04) translateZ(0);
}

.col-social-float.glow {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 8px #ffffff);
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 15px #ffffff);
    opacity: 1;
  }

  100% {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 8px #ffffff);
    opacity: 1;
  }
}


.popup-event .modal-content {
  background: transparent;
  border: none;
}

.popup-event .modal-header {
  border: none;
}

.popup-event .modal-footer {
  border: none;
}

.popup-event .modal-dialog {
  max-width: 800px;
}

.popup-event .modal-content {
  margin-top: -200px;
}

.carousel-item img {
  border-radius: 40px;
}

.modal-header .btn-close {
  background: url(../images/btn-close.webp?v=3.05) center / contain no-repeat;
  width: 20px;
  height: 20px;
  opacity: 1;
  background-size: cover;
  transition: transform 0.5s ease-in-out;
}

.modal-header .btn-close:hover {
  transform: rotate(90deg);
}

.text-one-line {
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.img-title-section {
  max-width: 600px;
  width: 70%;
  margin: 0 auto;
}

.section-title {
  max-width: fit-content;
  width: 100%;
  padding: 30px;
  /* margin-bottom: 30px; */
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(180deg,
      #ffffff 14%,
      #edfcf9 67%,
      #d9faff 83%,
      #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title2 {
  max-width: fit-content;
  width: 100%;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.text-blue {
  color: #0E8CEE !important;
}

.text-blue-dark {
  color: #003459 !important;
}

.text-preregis-title {
  font-family: 'Unblocker', Arial, sans-serif !important;
  font-size: 10vw;
  background: var(--white-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: #4EA2F0;
  filter: drop-shadow();
  filter: drop-shadow(0px 6px 10px #ffffff);
  letter-spacing: 5px;
}


.text-blue-linear {
  background: linear-gradient(180deg, #1096FF, #00599E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue-linear2 {
  background: linear-gradient(to top, #97CCF9 0%, #0A91FE 76%, #0A91FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.col-text-title-head {
  position: relative;
  padding: 0 45px;
}

.col-text-title-head::before {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-blue.webp?v=1.35) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  left: 0px;
  z-index: 3;
}

.img-logo-s1 {
  padding-left: 60px !important;
}


.col-text-title-head::after {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-blue.webp?v=1.35) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  right: 0px;
  z-index: 3;
}

.col-text-title-head-white {
  position: relative;
  padding: 0 45px;
}

.col-text-title-head-white::before {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-white.webp?v=1.35) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  left: 0px;
  z-index: 3;
}

.col-text-title-head-white::after {
  content: "";
  position: absolute;
  background: url(../images/ic-star-head-white.webp?v=1.35) center / contain no-repeat;
  width: 36px;
  height: 36px;
  top: 5px;
  right: 0px;
  z-index: 3;
}

.text-title-head {
  font-family: "Rowdies", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.text-description-head {
  color: #003761;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

/* section pre-register */

.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}


.img-preregis-title {
  width: 70%;
  object-fit: contain;
  margin-bottom: -5px;
}


.col-run-1m {
  background: url(../images/bg-1m.webp?v=3.05) center/contain no-repeat;
  width: 100%;
  height: auto;
  aspect-ratio: 10/1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-number-preregis {
  display: flex;
  justify-content: center;
}

.number-preregis {
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 5px;
}

.number-preregis::before {
  content: "ลงทะเบียนแล้ว";
  margin-right: 12px;
}

.number-preregis::after {
  content: "คน";
  margin-left: 12px;
}

.all-timeline-mst {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px !important;
  margin: 0px auto;
  gap: 20px;
  width: 95% !important;
  margin-top: 60px;
}

.box-timeline-mst {
  background: url(../images/bg-box-it-pre-active.webp?v=1.35) center/contain no-repeat;
  background-size: 100%;
  flex: 1;
  width: 100%;
  filter: drop-shadow(0px 4px 2px #00000014);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1/1.34;
  padding-top: 1%;
  position: relative;
  flex: 1;
}


.box-timeline-mst:hover {
  transform: translateY(-5px);
  filter: brightness(1.05);
}

.box-timeline-mst.big-reward {
  background: url(../images/bg-bigbox-it-pre.webp?v=1.35) center / contain no-repeat;
  scale: 1.1;
}

.box-timeline-mst.big-reward.active {
  scale: 1;
  filter: drop-shadow(2px 4px 6px #FFC583);
}

.box-timeline-mst.complate {
  position: relative;
  filter: brightness(0.8);
}

.box-timeline-mst.complate .col-item-preregis {
  /* filter: brightness(0.8); */
}

.box-timeline-mst.complate .box-mst {
  /* filter: grayscale(.7); */
}

/* .box-timeline-mst.complate::after {
  content: "";
  position: absolute;
  background: url(../images/ic-complate-mst.webp?v=3.05) center / contain no-repeat;
  width: 110px;
  height: 110px;
  top: 21px;
  left: 21px;
  z-index: 3;
} */

.box-timeline-mst.active {
  display: inline-block;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  /* ขยาย */
  100% {
    transform: scale(1);
  }

  /* กลับมาปกติ */
}

.inbox-timeline-mst {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 2vw;
}

.col-item-preregis {
  background: url(../images/bg-it-pre.webp?v=3.05) center / 100% no-repeat;
  width: 90%;
  aspect-ratio: 1 / 1;
  padding: 0px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -5px 0;
}

.item-preregis {
  width: 110%;
  object-fit: contain;
  margin: -20px 0;
}


.box-mst {
  width: 100%;
}

.big-reward .box-mst {
  /* background: linear-gradient(to bottom, #FFC583 0%, #FDE6BA 58%); */
}


.number-mst-preregis {
  padding: 15px 0 4px;
  font-size: 1em;
  font-weight: 600;
  line-height: 1;
  color: #8C7453;
}

.text-pre-success {
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  color: #8C7453;
}

.timeline-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  position: relative;
}

.milestone-container {
  max-width: 1200px;
  margin: 10% auto 3%;
  position: relative;
  z-index: 100;
}

.milestone-points {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;

}


.milestone-point {
  width: 70px;
  height: 70px;
  background: url(../images/reward-progress02.webp?v=3.05) center / contain no-repeat;
  position: relative;
  z-index: 2;
  margin: 0 -40px;
}



.milestone-point.goal::after {
  content: "";
  background: url(../images/flag-mst.webp?v=3.05) center / contain no-repeat;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 0px;
  left: 36px;
  z-index: 1;
}



.milestone-point.complate {
  width: 70px;
  height: 70px;
  background: url(../images/reward-progress01.webp?v=3.05) center/contain no-repeat;
  position: relative;
  z-index: 2;
}

.milestone-point.active {
  width: 70px;
  height: 70px;
  background: url(../images/reward-progress03.gif?v=3.05) center / contain no-repeat;
  position: relative;
  z-index: 2;
}


.milestone-line {
  height: 12px;
  background-color: #fff;
  position: relative;
  margin: 0 auto;
  width: 72%;
  max-width: 1000px;
  margin-bottom: -47px;
  overflow: unset;
  filter: drop-shadow(0px 4px 2px #0060762b);
}


.progress-bar-striped {
  background: linear-gradient(to right,
      rgb(161, 140, 218) 4%,
      rgb(57, 144, 223) 10%,
      rgb(76, 179, 229) 23%,
      rgb(131, 219, 135) 38%,
      rgb(251, 238, 117) 55%,
      rgb(250, 141, 80) 70%,
      rgb(236, 150, 171) 87%,
      rgb(243, 80, 86) 100%);
  border-radius: 10px;
  border: 1px solid #ffffffba;
  position: relative;
  overflow: unset;
}

.progress-bar-striped::after {
  content: "";
  background: url(../images/run.gif) center / contain no-repeat;
  width: 95px;
  height: 95px;
  position: absolute;
  bottom: -19px;
  right: -24px;
  z-index: 10;
  transform: scaleX(-1);
}


.progress-bar-striped.step0 {
  width: 0%;
}

.progress-bar-striped.step1 {
  width: 0%;
}

.progress-bar-striped.step1-2 {
  width: 10%;
}

.progress-bar-striped.step2 {
  width: 20%;
}

.progress-bar-striped.step2-3 {
  width: 30%;
}

.progress-bar-striped.step3 {
  width: 40%;
}

.progress-bar-striped.step3-4 {
  width: 50%;
}

.progress-bar-striped.step4 {
  width: 60%;
}

.progress-bar-striped.step4-5 {
  width: 70%;
}

.progress-bar-striped.step5 {
  width: 80%;
}

.progress-bar-striped.step5-6 {
  width: 90%;
}

.progress-bar-striped.step6 {
  width: 100%;
}

.btn-main-preregis {
  background: url(../images/btn-preregis.webp?v=3.05) center / contain no-repeat;
  max-width: 264px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  aspect-ratio: 328 / 91;
  border: none;
  transition: .3s;
}

.btn-main-preregis:hover {
  filter: brightness(1.1);
  scale: 1.05;
}

.btn-read-preregis {
  display: block;
  max-width: 300px;
  width: 100%;
  font-size: 20px;
  font-weight: 400;
  color: #424242;
  text-decoration: underline;
  border: none;
}

.btn-read-preregis:hover,
.btn-read-preregis:active {
  color: #4d4d4d;
  border: none;
}

.text-detail-preregis {
  font-size: 16px;
  font-weight: 400;
  color: #6E6E6E;
  order: 5;
}

.div-text-pre-regis {
  background: url(../images/preregis.webp?v=3.05) center / contain no-repeat;
  width: 100%;
  height: 142px;
}

.div-text-pre-regis .text-preregis-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1920px) {

  .section {
    background-size: 100%;
    max-width: 1920px;
    margin: 0 auto;
  }

}

@media (max-width: 1200px) {

  .div-text-pre-regis {
    height: 130px;
  }

}

@media (max-width: 1024px) {

  .div-text-pre-regis {
    height: 110px;
  }

  .all-timeline-mst {
    gap: 10px;
  }


  .milestone-line {
    width: 84%;
    margin-bottom: -44px;
  }

  .milestone-points {
    width: 92%;
  }


  .box-timeline-mst.complate::after {
    width: 98px;
    height: 98px;
    top: 17px;
    left: 17px;
  }

  .img-preregis-title {
    width: 96%;
  }

}

@media (max-width: 992px) {

  .div-text-pre-regis {
    background: url(../images/preregis-mb.webp?v=3.05) center / contain no-repeat;
    height: 110px;
  }

  .all-timeline-mst {
    gap: 10px;
  }

  .milestone-line {
    width: 84%;
  }

  .milestone-points {
    width: 94%;
  }

  .item-preregis {
    width: 80%;
  }


  .box-timeline-mst.complate::after {
    width: 79px;
    height: 79px;
    top: 12px;
    left: 12px;
  }

  .milestone-point.goal::after {
    width: 40px;
    height: 40px;
    top: 12px;
    left: 54px;
  }

  .img-preregis-title {
    width: 100%;
    margin: 0 0 10px;
  }

  .progress-bar-striped::after {
    width: 60px;
    height: 60px;
    bottom: -8px;
    right: -30px;
  }


}

@media (max-width: 768px) {

  .div-text-pre-regis {
    height: 98px;
  }

  .section-title {
    padding: 25px;
    margin-bottom: 30px;
  }

}

@media (max-width: 500px) {

  .rainbow-line {
    bottom: -130px;
  }

  .div-text-pre-regis {
    height: 70px;
  }


  .all-timeline-mst {
    gap: 5px;
  }


  .box-timeline-mst.complate::after {
    width: 40px;
    height: 40px;
    top: 7px;
    left: 7px;
  }


  .milestone-point {
    width: 50px;
    height: 50px;
  }

  .milestone-point.active {
    width: 50px;
    height: 70px;
  }

  .milestone-point.complate {
    width: 50px;
    height: 70px;
  }

  .milestone-line {
    height: 9px;
    margin-bottom: -39px;
  }

  .milestone-point.goal::after {
    width: 28px;
    height: 28px;
    top: 8px;
    left: 34px;
  }



  .btn-main-preregis {
    max-width: 216px;
    font-size: 20px;
  }

  .btn-read-preregis {
    max-width: 230px;
    font-size: 14px;
  }

  .text-detail-preregis {
    font-size: 12px;
  }

  .progress-bar-striped::after {
    width: 37px;
    height: 37px;
    bottom: -6px;
    right: -18px;
  }

  .col-number-preregis {
    padding: 2px 0;
  }

  .section-title {
    padding: 25px;
    margin-bottom: 15px;
  }

  .carousel-item img {
    border-radius: 20px;
  }

}

@media (max-width: 375px) {



  .box-timeline-mst.complate::after {
    width: 36px;
    height: 36px;
  }

  .milestone-points {
    width: 94%;
  }

  .milestone-line {
    width: 80%;
  }



  .progress-bar-striped::after {
    width: 37px;
    height: 37px;
    bottom: -6px;
    right: -18px;
  }


}


/* Section event */


#Sec-Event {
  background: url(../images/bg-sec-2-sm.webp?v=3.05) top center no-repeat;
  background-size: cover;
  width: 100%;
  margin: 0 auto;
  padding: 100px 0 30px 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 0;
}


.col-piero-green {
  position: absolute;
  width: 300px;
  right: 30px;
  top: -10px;
}

.img-piero-green {
  width: 100%;
  object-fit: contain;
}

.grid-layout {
  display: flex;
  width: 100%;
  max-width: 1100px;
  height: 550px;
  margin: -15px auto 0;
}

/* ฝั่งซ้าย */
.grid-layout .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  width: 100%;
}

/* ฝั่งขวา */
.grid-layout .right {
  flex: 1;
  display: flex;
  padding: 8px;
  width: 100%;
  gap: 10px;
}

.grid-layout .right a {
  flex: 1;
  width: 100%;
}

.grid-layout .left a {
  flex: 1;
  width: 100%;
}

/* กล่องลิงก์ */
.grid-layout a {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: .3s;
}

.grid-layout a:hover {
  scale: 1.05;
  filter: brightness(1.1);
}

.grid-layout a h3 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
  filter: drop-shadow(0px 2px 2px #0000002e);
}

.grid-layout a p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  filter: drop-shadow(0px 2px 2px #0000002e);
}

.grid-layout .box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.grid-layout .left .box img,
.grid-layout .right .box img {
  object-fit: contain;
}

.grid-layout .box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
}

.box1 {
  margin-bottom: 8px;

}

.box2 {
  margin-top: 8px;

}

.box3 {
  margin-right: 8px;

}

.box4 {
  margin-left: 8px;

}

.text-span-ev {
  font-size: 24px;
}

/* responsive ipad & mobile */


@media (max-width: 1200px) {
  .col-piero-green {
    width: 190px;
  }
}

@media (max-width: 1024px) {

  .col-piero-green {
    width: 260px;
  }

  .grid-layout {
    max-width: 900px;
    height: fit-content;
  }

  .grid-layout .right {
    flex-direction: row;
  }

  .grid-layout a h3 {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .grid-layout a p {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .text-span-ev {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .grid-layout {
    max-width: 460px;
    flex-direction: column;
  }

  .grid-layout .right {
    flex-direction: row;
  }

  .col-piero-green {
    right: -13px;
  }

  .grid-layout a h3 {
    font-size: 22px;
  }

  .grid-layout a p {
    font-size: 15px;
  }

}

@media (max-width: 768px) {

  .grid-layout {
    max-width: 390px;
  }

  .col-piero-green {
    right: -24px;
  }

  .grid-layout a h3 {
    font-size: 18px;
  }

  .text-span-ev {
    font-size: 16px;
  }

  .grid-layout a p {
    font-size: 13px;
    line-height: 1.2;
  }

}

@media (max-width: 550px) {
  .grid-layout {
    max-width: 325px;
  }

  .col-piero-green {
    right: -22px;
    top: 9px;
    width: 189px;
  }

  .grid-layout a h3 {
    font-size: 16px;
  }

  .grid-layout a p {
    font-size: 10px;
    line-height: 1.2;
  }

  .text-span-ev {
    font-size: 14px;
  }

}

@media (max-width: 375px) {

  #Sec-Event {
    height: fit-content !important;
  }

  .grid-layout {
    max-width: 320px;
  }

}

@media (min-width: 1025px) {
  #Sec-Event {
    background: url(../images/bg-sec-2.webp?v=3.05) top center no-repeat;
    background-size: cover;
    padding-top: 200px;
  }

}

@media (min-width: 1440px) {
  #Sec-Event {
    padding-top: 50px;
    height: 100vh;
  }

}

@media (min-width: 1921px) {
  #Sec-Event {
    background: url(../images/bg-sec-2-xl.webp?v=3.05) top center no-repeat;
    background-size: 2500px;
    padding-top: 100px;
    height: auto;
    /* width: 2500px; */
    margin: auto;
    text-align: center;
    background-size: cover;
  }

  .col-piero-green {
    right: 0;
    top: -10px;
    width: 400px;
  }
}



/* social-btn */
.social-btn {
  margin: 0 6px;
  filter: drop-shadow(0 0 12px #fff);
  width: 45%;
  max-width: 280px;
  transition: .3s;
  margin: 10px;
}

.social-btn img {
  width: 100%;
  max-width: 100%;
}

@keyframes float-vertical {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}

.social-btn:hover,
.social-btn:active,
.social-btn:focus {
  filter: brightness(1.1) drop-shadow(0 0 12px #fff);
  animation: float-vertical 1s ease-in-out infinite;
}

.social-btn img {
  max-width: 100%;
}



/* Section news */

#Sec-News {
  width: 100%;
  padding: 20px 0 0 0;
  background: url(../images/bg-sec-3.webp?v=3.05) top center/100% no-repeat;
  display: flex;
  align-items: center;
}

.warper-detail-s-news {
  margin-top: -20px;
}

.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.tab {
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* margin-bottom: 30px; */
}

.tab.scroll-x {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-x::-webkit-scrollbar {
  display: none;
  /* ซ่อน scrollbar บน Chrome/Safari */
}

.scroll-x>* {
  display: inline-block;
}

.col-head-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-radius: 12px;
}

.col-head-dt {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  align-items: center;
  max-width: 250px;
  width: 100%;
  padding: 6px 12px;
  border: 1.5px solid #8ecaff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #333;
  width: 100%;
}

.search-box input::placeholder {
  color: #aaa;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.search-box svg {
  width: 18px;
  height: 18px;
  stroke: #555;
}

.tabcontent {
  display: none;
  min-height: 480px;
}

.tab button {
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn {
  background: url(../images/bg-tab-news-hover.webp?v=1.35) center/contain no-repeat;
  max-width: 140px;
  width: 100%;
  height: 40px;
  padding: 11px 0px;
  margin: 10px 2px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: #0065B4;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: url(../images/bg-tab-news.webp?v=1.35) center/contain no-repeat;
  border: none;
  color: #fff;
  filter: drop-shadow(2px 3px 3px #0e3f673d);
}

.filter-btn:hover {
  filter: brightness(1.2);
}

.col-slide-news {
  display: flex;
  /* align-items: center; */
  height: 100%;
}

/* News Card */

.col-tag-date {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.card-tag {
  color: #fff;
  border-radius: 8px 3px 15px 8px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 400;
  min-width: 25%;
  margin-right: 3px;
  text-align: center;
}

.card-tag.update {
  background: #f0ba01;
}

.card-tag.update::after {
  content: "ข่าวสาร";
}

.card-tag.promotion {
  background: #75bd1f;
}

.card-tag.promotion::after {
  content: "โปรโมชัน";
}

.card-tag.ingame {
  background: #f66595;
}

.card-tag.ingame::after {
  content: "กิจกรรมในเกม";
}

.card-tag.event {
  background: #7456ce;
}

.card-tag.event::after {
  content: "กิจกรรมหน้าเว็บ";
}

.card-tag.other {
  background: #fe7f2a;
}

.card-tag.other::after {
  content: "อื่นๆ";
}

.card-body {
  padding: 6px 3px;
}

.card-body .text-date {
  font-size: 10px;
  color: #808080;
  padding: 4px 0 0 0;
}

.card-body .text-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #002B4C;
  margin-bottom: 3px;
}

.card-body .text-detail {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: #808080;
  margin-bottom: 6px;
}

.card-body .btn-read-more {
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  color: #0099DC;
}

.card-body .btn-read-more:hover {
  text-decoration: underline;
  color: #F279F6;
  filter: brightness(1.1);
}

.card-body .btn-read-more:active {
  text-decoration: underline;
  color: #F279F6;
  filter: brightness(1.1);
}

.card-body .btn-read-more .img-readmore {
  width: 8px;
  height: 8px;
  object-fit: contain;
}

.col-slide-news .news-card {
  padding: 20px;
  border-radius: 30px;
  box-shadow: none;
  height: 630px;
}

.col-slide-news .col-tag-date {
  margin-bottom: 10px;
}

.col-slide-news .card-tag {
  font-size: 13px;
  min-width: 22%;
}

.col-slide-news .news-card img {
  border-radius: 20px;
}

.col-slide-news .card-body {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.col-slide-news .card-body .text-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.col-slide-news .card-body .text-detail {
  font-size: 18px;
  margin-bottom: 20px;
}

.col-slide-news .card-body .text-date {
  font-size: 16px;
  padding: 6px 0 0 0;
}

.col-slide-news .card-body .btn-read-more {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.col-slide-news .card-body .btn-read-more img {
  width: 10px;
  height: 10px;
  margin-bottom: -2px;
}

.owl-news .owl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -83%;
}

.owl-news .owl-nav button {
  margin-top: -34%;
  width: 50px;
  height: 50px;
  z-index: 3;
}

.owl-news .owl-nav button:hover {
  animation: shake-slow 1.5s infinite;
}

.owl-news .owl-nav span {
  display: none !important;
}

.owl-news .owl-prev {
  background: url(../images/ic-left-news.webp?v=1.35) !important;
  background-size: contain !important;
  margin-left: -25px !important;
}

.owl-news .owl-next {
  background: url(../images/ic-right-news.webp?v=1.35) !important;
  background-size: contain !important;
  margin-right: -25px !important;
}

.owl-news.owl-theme .owl-dots .owl-dot span {
  display: none !important;
}

.owl-news .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 76%;
}

.owl-news .owl-dot.active {
  background: url(../images/ic-dots-news-active.webp?v=1.35) center/contain no-repeat !important;
  width: 24px;
  height: 24px;
  z-index: 3;
  transform: scale(1.4);
}

.owl-news .owl-dot {
  background: url(../images/ic-dots-st.webp?v=1.35) center/contain no-repeat !important;
  width: 24px;
  height: 24px;
  z-index: 3;
}

.news-card {
  padding: 6px;
  border: 1px solid #E0E7FF;
  border-radius: 15px;
  box-shadow: 0px 2px 15px #00000013;
  overflow: hidden;
  transition: transform 0.3s ease;
  min-height: 270px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px #d3dcfe80;
}

.news-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.news-card .badge {
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
}

.box-btn-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.news-card .read-more {
  font-size: 0.9rem;
  font-weight: 500;
  color: #9b59b6;
  text-decoration: none;
}

.news-card .read-more:hover {
  text-decoration: underline;
}

.filter-btn-allnews {
  margin-top: 20px;
  background: url(../images/bg-btn-main.webp?v=1.35) center/contain no-repeat;
  min-width: 170px;
  color: #fff;
}

.filter-btn h2,
.filter-btn h3 {
  font-size: 13px;
  font-weight: 400;
  margin: 0;
}

.col-btn-all-news {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1600px) {
  #Sec-News {
    background-size: cover;
  }
}

@media (max-width: 1200px) {

  #Sec-News {
    background-size: cover;
  }

  .card-tag {
    padding: 4px 5px;
  }

  .owl-news .owl-nav {
    margin-top: -92%;
  }

  .col-slide-news .news-card {
    height: 596px;
  }

  .owl-news .owl-dots {
    margin-top: 82%;
  }

}

@media (max-width: 1024px) {

  .search-box {
    max-width: 180px;
    margin-left: 20px;
  }

  .card-tag {
    padding: 2px 4px;
    font-size: 7.5px;
  }

  .box-tag-date .card-tag {
    font-size: 9px;
  }

  .col-slide-news .news-card {
    height: 548px;
    border-radius: 25px;
    padding: 15px;
  }

  .col-slide-news .news-card img {
    border-radius: 12px;
  }

  .owl-news .owl-nav {
    margin-top: -100%;
  }

  .owl-news .owl-dots {
    margin-top: 89%;
  }

  .filter-btn {
    height: 32px;
    padding: 9px 0px;
  }

}

@media (max-width: 992px) {

  .filter-btn {
    max-width: 120px;
  }

  .filter-btn {
    max-width: 120px;
    height: 38px;
    padding: 9px 0px;
  }

  .col-head-tab {
    flex-direction: column-reverse;
    margin-bottom: 20px;
  }

  .search-box {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .card-tag {
    font-size: 9px;
  }

  .col-slide-news .news-card {
    height: 635px;
    border-radius: 30px;
    padding: 20px;
  }

  .col-slide-news .news-card img {
    border-radius: 18px;
  }

  .owl-news .owl-nav {
    margin-top: -67%;
  }

  .col-slide-news .card-tag {
    font-size: 16px;
    min-width: 20%;
    padding: 5px 5px;
  }

  .owl-news .owl-dots {
    margin-top: 62%;
    margin-bottom: 30px;
  }

  .filter-btn h2 {
    font-size: 15px;
  }

  .col-btn-all-news {
    justify-content: center;
  }

  .news-card {
    padding: 10px;
    min-height: 322px;
  }

}

@media (max-width: 768px) {


  .tab {
    margin-bottom: 0;
  }

  .filter-btn-allnews {
    margin-top: 15px;
  }

}

@media (max-width: 500px) {

  #Sec-News {
    padding: 0 !important;
  }

  .tab {
    overflow: hidden;
    margin-bottom: 20px;
  }

  .filter-btn-allnews {
    margin-top: 25px;
  }

  .col-main-bg {
    padding: 15px;
    border-radius: 25px;
  }

  .col-head-tab {
    margin: 20px 0 5px;
    padding: 5px 3px;
  }

  .title-page {
    font-size: 40px;
    margin-bottom: 0;
  }

  .filter-btn {
    min-width: 120px;
    font-size: 13px;
    margin: 0;
    margin-bottom: .4rem;
  }

  .news-card {
    padding: 6px;
    border-radius: 15px;
  }

  .card-tag {
    font-size: 7px;
    padding: 3px 5px 2px 5px;
  }

  .news-card img {
    border-radius: 10px;
  }

  .card-body {
    padding: 8px 0px;
  }

  .card-body .text-title {
    font-size: 14px;
  }

  .card-body .text-detail {
    font-size: 12px;
  }

  .tab {
    overflow: hidden;
    margin-bottom: 0px;
    justify-content: left;
  }

  .card-body .text-date {
    font-size: 10px;
    color: #808080;
    padding: 2px 0 0 0;
  }

  .col-slide-news .news-card {
    height: 450px;
    border-radius: 30px;
    padding: 15px;
  }

  .col-slide-news .card-body .text-title {
    font-size: 18px;
  }

  .col-slide-news .card-tag {
    font-size: 14px;
    min-width: 25%;
    padding: 5px 8px;
  }

  .col-slide-news .card-body .text-detail {
    font-size: 15px;
  }

  .col-slide-news .card-body .text-date {
    font-size: 13px;
    padding: 3px 0 0 0;
  }

  .col-slide-news .card-body .btn-read-more {
    font-size: 16px;
  }

  .owl-news .owl-nav {
    margin-top: -87%;
  }

  .owl-news .owl-nav button {
    width: 42px;
    height: 42px;
  }

  .owl-news .owl-prev {
    margin-left: -10px !important;
  }

  .owl-news .owl-next {
    margin-right: -10px !important;
  }

  .owl-news .owl-dots {
    margin-top: 80%;
    margin-bottom: 35px;
  }

  .news-card {
    min-height: 260px;
  }

}

@media (max-width: 375px) {

  .filter-btn {
    margin: 0 4px 0 0;
    font-size: 12px;
  }

  .card-tag {
    font-size: 6px;
    padding: 1px 4px 1.5px 4px;
  }

  .filter-btn-allnews {
    margin-top: 15px;
  }

  .card-body .btn-read-more {
    font-size: 12px;
  }

  .box-btn-card {
    padding: 2px 0 0 0;
  }

  .owl-news .owl-nav {
    margin-top: -105%;
  }

  .owl-news .owl-dots {
    margin-top: 96%;
    margin-bottom: 35px;
  }

  .col-slide-news .news-card {
    height: 410px;
  }

  .news-card {
    min-height: 250px;
  }
}


/* Section Character */

#Sec-CRT {
  width: 100%;
  padding: 0;
  background: url(../images/bg-sec-4.webp?v=1.35) top center/100% no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.text-title-head.text-crt {
  color: #fff;
}

.text-description-head.text-crt {
  color: #fff;
}

.mySlides {
  display: none;
}

.mySlides .row {
  height: 100%;
  display: flex;
  align-items: center;
}

.mySlides .col-lg-5 {
  height: 100%;
}

.mySlides .col-lg-7 {
  height: 100%;
}

.cursor {
  cursor: pointer;
}

.next {
  right: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: #222;
  padding: 4px 16px;
  color: white;
}

.big-warper-crt {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  margin-top: 0;
  padding-top: 130px;
  padding-right: 65px;
}

.warper-col-select-crt {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
}

.warper-col-select-crt a {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 0;
  cursor: pointer;
}

.warper-col-select-crt a:hover {
  background: #ffffff00;
  animation: shake-slow-y 1.5s infinite;
}

@keyframes shake-slow-y {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-3px);
  }

  50% {
    transform: translateY(3px);
  }

  75% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}

.warper-col-select-crt a:active {
  background: none;
}

.warper-col-select-crt a img {
  width: 100%;
}

.col-select-crt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: -20px;
}

.col-select-crt::before {
  content: "";
  position: absolute;
  background: url(../images/crt-active.webp?v=1.35) center / contain no-repeat;
  width: 141px;
  height: 141px;
  top: 192px;
  right: -23px;
  z-index: 1;
}

.col-select-crt .thumb {
  width: 95px;
  height: 95px;
  object-fit: contain;
  opacity: 1 !important;
  transition: 0.3s;
  border: none;
}

.col-select-crt .thumb:hover {
  filter: brightness(1.1);
  animation: zoom-in-out 1s ease-in-out infinite;
}

@keyframes zoom-in-out {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

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

.col-select-crt .thumb.active {
  opacity: 1;
  transform: scale(1.5);
  margin: 25px 0;
  z-index: 3;
}

.col-select-crt .thumb.active:hover {
  animation: none;
}

.box-img-crt {
  object-fit: contain;
  width: 110%;
  position: relative;
  z-index: 5;
  margin-left: 50px;
  padding: 50px 0;
}

.box-name-crt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-left: 45px;
}

.bg-in-box-name-crt {
  background: url(../images/bg-data-crt.webp?v=2.77) top center / contain no-repeat;
  width: 100%;
  padding: 100px 180px 70px 110px;
}

.in-box-name-crt {
  width: 100%;
}

.text-name-th {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.text-name-en {
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  filter: drop-shadow(0px 1px 6px #ffffffc4);
  -webkit-text-stroke: 1px #fff;
  margin-bottom: 15px;
}

.text-detail-crt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 25px;
}

.col-button-sound-crt {
  display: flex;
  align-items: center;
}

.btn-sound-crt {
  background: #ffffff00;
  border: none;
  z-index: 2;
}

.btn-sound-crt:hover {
  animation: shake-slow 1.5s infinite;
}



.btn-sound-crt img {
  width: 32px;
  object-fit: contain;
}

.warper-in-box-name-crt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
}

.warper-all-state {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: flex-start;
}

.warper-col-progress {
  width: 100%;
  margin-left: -50px;
}

/* bar */
.warper-col-progress .progress-bar {
  width: 100%;
  height: 15px;
  background: #ffffffa3;
  border: 1px solid #ffffff;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #33bbff, #a077ff);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

.progress-fill.progress-1 {
  width: 6.6%;
}

.progress-fill.progress-2 {
  width: 13.2%;
}

.progress-fill.progress-3 {
  width: 19.8%;
}

.progress-fill.progress-4 {
  width: 26.4%;
}

.progress-fill.progress-5 {
  width: 33%;
}

.progress-fill.progress-6 {
  width: 39.6%;
}

.progress-fill.progress-7 {
  width: 46.2%;
}

.progress-fill.progress-8 {
  width: 52.8%;
}

.progress-fill.progress-9 {
  width: 59.4%;
}

.progress-fill.progress-10 {
  width: 66%;
}

.progress-fill.progress-11 {
  width: 72.6%;
}

.progress-fill.progress-12 {
  width: 79.2%;
}

.progress-fill.progress-13 {
  width: 85.8%;
}

.progress-fill.progress-14 {
  width: 92.4%;
}

.progress-fill.progress-15 {
  width: 100%;
}

.progress-value {
  min-width: 34px;
  font-family: "Rowdies", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #3679C8;
  text-align: right;
  padding-top: 5px;
}

.col-icon-state {
  background: url(../images/bg-ic-state.webp?v=1.35) center/contain no-repeat;
  width: 68px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.col-icon-state img {
  width: 52%;
  object-fit: contain;
}

.col-text-state {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 24px;
  padding-left: 8px;
  background: #ffffffa3;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}


@media (max-width: 1600px) {

  #Sec-CRT {
    background-size: cover;
    background-position-x: right;
  }

  .box-name-crt {
    margin-top: -96px;
    padding-left: 55px;
  }

  .big-warper-crt {
    margin-top: 0;
    padding-top: 50px;
    padding-right: 25px;
  }

  .text-name-en {
    font-size: 58px;
    margin-bottom: 6px;
  }

  .text-detail-crt {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .col-text-state {
    width: 120px;
    font-size: 15px;
  }

  .warper-all-state {
    gap: 0px;
  }
}

@media (max-width: 1440px) {

  .box-name-crt {
    margin-top: -162px;
    padding-left: 55px;
  }

  .big-warper-crt {
    margin-top: -67px;
    padding-right: 8px;
  }

  .box-img-crt {
    width: 123%;
    padding-bottom: 64px;
    margin-left: 48px;
  }

  .bg-in-box-name-crt {
    padding-right: 7%;
  }

  .progress-value {
    padding-top: 5px;
  }

  .text-name-th {
    font-size: 34px;
  }

  .text-name-en {
    font-size: 50px;
  }
}

@media (max-width: 1401px) {

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt2.webp?v=2.77) top center / contain no-repeat;
    width: 100%;
    padding: 100px 180px 70px 110px;
  }

}

@media (max-width: 1200px) {

  .box-img-crt {
    width: 120%;
    padding-bottom: 0px;
    margin-left: -5px;
  }

  .box-name-crt {
    margin-top: -82px;
    padding-left: 0;
    padding-right: 40px;
  }

  .big-warper-crt {
    margin-top: -24px;
    padding-right: 8px;
  }
}

@media (max-width: 1024px) {

  .big-warper-crt {
    margin-top: -4px;
  }

  .box-name-crt {
    margin-top: -21px;
    padding-left: 0;
    padding-right: 30px;
  }

  .box-img-crt {
    width: 130%;
    margin-left: -24px;
  }

  .text-name-th {
    font-size: 30px;
  }

  .text-name-en {
    font-size: 46px;
  }

  .btn-sound-crt img {
    width: 28px;
  }

  .text-detail-crt {
    font-size: 12px;
  }

  .progress-value {
    font-size: 20px;
  }

  .col-text-state {
    height: 22px;
  }

  .warper-col-progress .progress-bar {
    height: 13px;
  }

  .progress-value {
    min-width: 30px;
  }
}

@media (max-width: 992px) {
  #Sec-CRT {
    background: url(../images/bg-sec-4-md.webp?v=1.35) bottom center / 100% no-repeat;
    /* min-height: 1000px; */
    display: flex;
    align-items: center;
  }

  #Sec-CRT .section-title2 {
    margin: 0 auto;
  }

  .text-title-head.text-crt {
    color: #0E8CEE;
  }

  .text-description-head.text-crt {
    color: #003761;
  }

  .box-name-crt .col-text-title-head-white::before {
    background: url(../images/ic-star-head-blue.webp?v=1.35) center / contain no-repeat;
  }

  .box-name-crt .col-text-title-head-white::after {
    background: url(../images/ic-star-head-blue.webp?v=1.35) center / contain no-repeat;
  }

  .col-select-crt .thumb.active {
    margin: 0px 20px;
  }

  .col-select-crt .thumb {
    width: 130px;
    height: 130px;
    margin: 0 -10px;
  }

  .warper-col-select-crt {
    flex-direction: row;
    max-width: 100%;
    width: 100%;
  }

  .col-select-crt {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
  }

  .big-warper-crt {
    margin-top: 50px;
    margin-bottom: 0;
    padding-right: 0;
    width: 100%;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt3.webp?v=2.77) top center / contain no-repeat;
    width: 100%;
    padding: 100px 180px 70px 110px;
  }

  .warper-in-box-name-crt {
    width: 100%;
    margin-top: -15px;
  }

  .box-name-crt {
    margin-top: 0;
    padding-left: 45px;
  }

  .box-img-crt {
    width: 321%;
    margin-left: -277px;
    margin-top: -50px;
  }

  .text-detail-crt {
    font-size: 13px;
  }

  .text-name-en {
    font-size: 46px;
  }

  .text-name-th {
    font-size: 32px;
  }

  .col-icon-state {
    height: 57px;
  }

  .col-text-state {
    height: 24px;
    font-size: 16px;
  }

  .warper-col-progress .progress-bar {
    height: 15px;
  }

  .col-select-crt::before {
    background: url(../images/crt-active-md.webp?v=1.35) center / contain no-repeat;
    width: 198px;
    height: 198px;
    top: -9px;
    right: 50%;
    transform: translateX(50%);
  }

  .warper-col-select-crt a img {
    transform: rotate(270deg);
  }

  .warper-col-select-crt a {
    width: 60px;
    height: 60px;
    padding-top: 5px;
  }
}

@media (max-width: 768px) {

  .col-text-state {
    height: 19px;
    font-size: 14px;
  }

  .warper-col-progress .progress-bar {
    height: 12px;
  }

  .col-icon-state {
    height: 50px;
  }

  .box-img-crt {
    width: 316%;
    margin-left: -252px;
    margin-top: -41px;
  }

  .warper-col-select-crt a {
    padding-top: 4px;
  }
}

@media (max-width: 550px) {

  .mySlides .row {
    flex-direction: column-reverse;
  }

  .box-name-crt {
    margin-top: 0;
    padding: 0;
  }

  .col-select-crt .thumb {
    width: 66px;
    height: 66px;
    margin: 0 -5px;
  }

  .box-img-crt {
    width: 68%;
    margin-top: -261%;
    margin-left: 15%;
    z-index: 0;
  }

  .warper-in-box-name-crt {
    width: 100%;
    margin-top: 32%;
  }

  .text-name-en {
    font-size: 38px;
  }

  .text-name-th {
    font-size: 26px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt4.webp?v=2.77) top center / contain no-repeat;
    width: 100%;
    padding: 100px 180px 70px 110px;
  }

  .col-text-state {
    height: 20px;
    font-size: 14px;
  }

  .warper-col-progress .progress-bar {
    height: 10px;
  }

  .progress-value {
    font-size: 17px;
    min-width: 25px;
  }

  .text-detail-crt {
    font-size: 12.5px;
  }

  .col-select-crt .thumb.active {
    margin: 0px 15px;
  }

  .big-warper-crt {
    margin-top: -7px;
    margin-bottom: 0;
  }

  #Sec-CRT {
    min-height: 944px;
  }

  .warper-col-select-crt a {
    width: 56px;
    height: 56px;
    padding-top: 16px;
  }

  .col-icon-state {
    height: 55px;
  }
}


@media (max-width: 375px) {

  .text-name-th {
    font-size: 22px;
  }

  .box-img-crt {
    width: 56%;
    margin-top: -265%;
    margin-left: 20%;
  }

  .text-name-en {
    font-size: 32px;
  }

  .col-icon-state {
    height: 50px;
  }

  .col-text-state {
    height: 17px;
    font-size: 13px;
  }

  .col-select-crt .thumb {
    width: 60px;
    height: 60px;
    margin: 0 -5px;
  }

  .progress-value {
    font-size: 16px;
    min-width: 22px;
  }

  .text-detail-crt {
    font-size: 11px;
  }

  .warper-in-box-name-crt {
    margin-top: 25%;
  }

  #Sec-CRT {
    min-height: 830px;
  }
}


/* Section System */

#Sec-System {
  width: 100%;
  padding: 20px 0 0 0;
  background: url(../images/bg-sec-5.webp?v=1.35) center/100% no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#Sec-System .owl-carousel .owl-stage-outer {
  position: relative;
  overflow: visible;
  -webkit-transform: translate3d(0, 0, 0);
}

.col-img-piero-3 {
  position: absolute;
  bottom: -7px;
  left: 30px;
  width: 300px;
  z-index: 2;
}

.img-piero-3 {
  width: 100%;
}

.warper-col-data-st {
  overflow: hidden;
  margin-top: -30px;
}

.col-data-system {
  margin-top: 60px;
}

.owl-system .owl-item {
  filter: brightness(0.7);
  transform: scale(.7);
}

.owl-system .owl-item.active.center {
  transform: scale(.9);
  z-index: 10;
  filter: brightness(1) drop-shadow(0px 2px 10px #0000002e);
}

.item-system {
  position: relative;
}

/* .owl-system .owl-item.active.center .item-system::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -149px;
  width: 48%;
  height: 100%;
  background-image: url("../images/crt-bn-system.webp?v=1.09");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
} */

.col-text-st {
  position: absolute;
  top: 79%;
  left: 25px;
  text-align: start;
  padding-right: 25px;
}

.col-text-st div {
  /* font-family: "Rowdies", sans-serif; */
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 8px;
  /* -webkit-text-stroke: 1px #ffffff; */
}

.text-st-detail {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #3C88C7;
  margin: 0;
}

.owl-system .owl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12%
}

.owl-system .owl-nav button {
  margin-top: -61%;
}

.owl-system .owl-nav button:hover {
  animation: shake-slow 1.5s infinite;
}

@keyframes shake-slow {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(3px);
  }

  75% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0);
  }
}

.owl-system .owl-prev {
  background-image: url(../images/ic-left-st.webp?v=1.35) !important;
  width: 40px;
  height: 40px;
  z-index: 3;
}

.owl-system .owl-next {
  background-image: url(../images/ic-right-st.webp?v=1.35) !important;
  width: 40px;
  height: 40px;
  z-index: 3;
}

.owl-system .owl-prev span {
  display: none !important;
}

.owl-system .owl-next span {
  display: none !important;
}

.owl-system .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 0;
}

.owl-system .owl-dot.active {
  background: url(../images/ic-dots-st-active.webp?v=1.35) center/contain no-repeat !important;
  width: 24px;
  height: 30px;
  z-index: 3;
  transform: scale(1.4);
}

.owl-system .owl-dot {
  background: url(../images/ic-dots-st.webp?v=1.35) center/contain no-repeat !important;
  width: 24px;
  height: 24px;
  z-index: 3;
}

.section-title2.update {
  width: 100%;
  position: absolute;
  top: 130px;
  left: 50%;
}


.seo-headings {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.text-description-head.event {
  color: #fff;
}

.popup-event.show {
  padding: 0 !important;
}

.carousel-item a {
  text-decoration: none;
}

@media (min-width: 1921px) {
  .slide-in-bottom.is-visible {
    transform: translateX(0) scale(.9);
  }
}

@media (max-width: 1920px) {
  .bg-in-box-name-crt {
    padding: 90px 150px 70px 80px;
  }
}

@media (max-width: 1800px) {
  .section-title2.update {
    top: 80px;
  }
}

@media (max-width: 1600px) {
  #Sec-System {
    background-size: cover;
  }

  .warper-in-box-name-crt {
    padding-top: 120px;
  }

  .bg-in-box-name-crt {
    padding: 70px 100px 60px 40px;
  }

}

@media (max-width: 1550px) {
  .bg-in-box-name-crt {
    padding: 60px 90px 30px 35px;
  }

  .text-name-en {
    font-size: 48px;
  }

  .text-name-th {
    font-size: 35px;
  }
}

@media (max-width: 1500px) {
  .warper-in-box-name-crt {
    padding-top: 170px;
  }

  .bg-in-box-name-crt {
    padding: 60px 90px 70px 34px;
  }
}

@media (max-width: 1440px) {

  .warper-in-box-name-crt {
    padding-top: 190px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt-big2.webp?v=2.77) top center / contain no-repeat;
    padding: 70px 120px 70px 80px;
  }

  .big-warper-crt {
    margin-top: 0;
    padding-right: 15px;
  }
}

@media (max-width: 1400px) {

  .section-title2.update {
    top: 70px;
    left: 48%;
  }

  .bg-in-box-name-crt {
    padding: 55px 100px 30px 65px;
  }

  .text-name-th {
    font-size: 34px;
  }

  .text-detail-crt {
    font-size: 16px;
  }

}

@media (max-width: 1300px) {
  .news-card {
    min-height: 255px;
  }

  .bg-in-box-name-crt {
    padding: 50px 85px 30px 45px;
  }
}

@media (max-width: 1200px) {

  .text-detail-crt {
    font-size: 15px;
  }

  .text-name-en {
    font-size: 42px;
  }

  .section-title2.update {
    top: 30px;
  }

  .big-warper-crt {
    padding-top: 75px;
  }

  #Sec-CRT.update {
    padding: 60px !important;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt2.webp?v=2.77) top center / contain no-repeat;
    padding: 60px 85px 40px 45px;
  }

  .warper-in-box-name-crt {
    padding-top: 170px;
  }

  .section-title2.update {
    left: 42%;
  }

  .col-text-st {
    position: absolute;
    top: 78%;
    left: 25px;
    text-align: start;
  }

  .col-text-st div {
    margin-bottom: 4px;
  }
}

@media (max-width: 1024px) {

  .warper-in-box-name-crt {
    padding-top: 135px;
  }

  .box-img-crt {
    width: 140%;
    margin-left: -30px;
  }

  .big-warper-crt {
    padding-top: 75px;
    padding-right: 5px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt-big3.webp?v=2.77) top center / contain no-repeat;
    padding: 55px 80px 40px 45px;
  }

  #Sec-System {
    justify-content: center;
  }

  .warper-col-data-st {
    margin-top: -20px;
  }

  .owl-system .owl-item.active.center .item-system::after {
    bottom: -68px;
    right: -112px;
    width: 48%;
    height: 100%;
  }

  .col-text-st div {
    font-size: 24px;
    line-height: 1.5;
  }

  .col-text-st {
    left: 15px;
  }

  .col-text-st div {
    font-size: 18px;
  }

  .col-text-st {
    left: 15px;
  }

  .text-st-detail {
    font-size: 14px;
  }

  .text-detail-crt {
    font-size: 12px;
  }

  .text-name-en {
    font-size: 46px;
  }

  .text-name-th {
    font-size: 30px;
  }

  .news-card {
    min-height: 230px;
  }

  #Sec-System.update {
    height: fit-content !important;
    padding-bottom: 50px !important;
  }
}

@media (max-width: 992px) {


  .mySlides .row {
    flex-direction: column;
  }

  .owl-system .owl-item.active.center .item-system::after {
    bottom: -78px;
    right: -91px;
    width: 47%;
    height: 107%;
  }

  .owl-system .owl-nav {
    padding: 0 8%;
  }

  .col-text-st div {
    font-size: 17px;
    margin-bottom: 1px;
  }

  .col-text-st div {
    font-size: 16px;
  }

  .col-text-st {
    left: 13px;
  }

  .owl-system .owl-dot.active {
    width: 20px;
    height: 20px;
    transform: scale(1.4);
  }

  .owl-system .owl-dot {
    width: 20px;
    height: 20px;
  }

  .owl-system .owl-nav button {
    margin-top: -59%;
  }

  .text-st-detail {
    font-size: 13px;
    line-height: 1.3;
  }

  #Sec-CRT .section-title2 {
    margin: 0 auto -30px;
    position: relative;
    left: 0;
  }

  .box-img-crt {
    width: 45%;
    margin-left: 0;
    margin: 0 auto;
  }

  .warper-in-box-name-crt {
    padding-top: 0;
    margin-top: -160px;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt3.webp?v=2.77) top center / contain no-repeat;
    padding: 65px 60px;
    width: 90%;
    height: 560px;
    margin: 0 auto;
  }

  .big-warper-crt {
    padding-top: 0;
    padding-right: 0;
  }

  .col-select-crt .thumb.active {
    /* transform: scale(1.5); */
    margin: 25px 20px;
    width: 130px;
    height: 130px;
  }

  .text-detail-crt {
    font-size: 14px;
  }

  .warper-col-select-crt a img {
    width: 60px;
    margin: 0 -15px;
  }


}

@media (max-width: 768px) {

  .item-system::after {
    bottom: 6.5px;
  }


}

@media (max-width: 550px) {

  .text-detail-crt {
    font-size: 12px;
  }

  .text-name-en {
    font-size: 30px;
  }

  #Sec-CRT.update {
    padding: 60px 0 !important;
  }

  .bg-in-box-name-crt {
    background: url(../images/bg-data-crt4.webp?v=2.77) top center / contain no-repeat;
    padding: 55px 30px;
    width: 100%;
    height: 500px;
    margin: 70px auto 0;
  }

  .text-name-th {
    font-size: 25px;
  }

  #Sec-System .owl-carousel .center {
    transform: scale(.85);
  }

  .col-img-piero-3 {
    width: 190px;
  }

  .warper-col-data-st {
    padding: 120px 0 30px;
    margin-top: -160px;
  }

  .owl-system .owl-nav {
    padding: 0;
  }

  .owl-system .owl-nav button {
    margin-top: -77%;
    width: 28px;
    height: 28px;
    background-size: contain !important;
  }

  .owl-system .owl-item.active.center .item-system::after {
    bottom: -21px;
    right: -77px;
    width: 47%;
    height: 89%;
  }

  .col-text-st div {
    font-size: 16px;
    margin-bottom: 0px;
  }

  .text-st-detail {
    font-size: 11px;
  }

  .col-text-st {
    top: 78%;
  }
}

@media (max-width: 391px) {}

@media (max-width: 375px) {
  #Sec-System {
    height: fit-content !important;
    min-height: 530px;
    padding: 0 !important;
  }

  .warper-col-data-st {
    padding: 0 0 30px;
    margin-top: 0;
  }

  .section-title {
    padding: 25px;
    margin-bottom: 0;
  }

  .col-text-st div {
    font-size: 15px;
  }

}


/* Main */

@media (max-width: 1024px) {

  html,
  body {
    overflow-y: visible;
    scroll-behavior: initial;
    scroll-snap-type: initial;
  }

  body {
    scroll-snap-type: inherit;
  }

  .text-title-head {
    font-size: 40px;
  }

  .col-text-title-head {
    padding: 0 38px;
  }

  .col-text-title-head::before {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .col-text-title-head::after {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .col-text-title-head-white {
    padding: 0 38px;
  }

  .col-text-title-head-white::before {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .col-text-title-head-white::after {
    width: 26px;
    height: 26px;
    top: 7px;
  }

  .text-title-head.event {
    color: #0E8CEE;
  }

  .text-description-head.event {
    color: #003761;
  }

}

@media (max-width: 992px) {
  #Sec-Event .section-title {
    margin-top: 10px;
    margin-bottom: 5px;
  }

  #Sec-News.section {
    height: fit-content !important;
    padding: 70px 0;
  }

  .box-name-crt {
    padding: 0;
  }

}

@media (max-width: 768px) {
  .col-select-crt .thumb.active {
    margin: 20px 15px;
    width: 120px;
    height: 120px;
  }

  .col-select-crt::before {
    width: 178px;
    height: 178px;
  }

  .col-select-crt .thumb {
    width: 114px;
    height: 114px;
    margin: 0 -12px;
  }

  .warper-col-select-crt a img {
    margin: 0 -5px;
  }
}

@media (max-width: 550px) {

  .col-select-crt .thumb {
    width: 80px;
    height: 80px;
    margin: 0 -12px;
  }

  .col-select-crt .thumb.active {
    margin: 10px;
    width: 80px;
    height: 80px;
  }

  .col-select-crt::before {
    width: 120px;
    height: 120px;
    top: -10px;
  }

  .warper-col-select-crt a img {
    width: 40px;
    margin: -5px -5px;
  }

  /* .section {
    height: fit-content !important;
  } */

  .btn-more {
    bottom: 10px;
    padding: .1em 1em;
    border-radius: 30px;
    font-size: .8rem;
  }

  .warper-button-menu-fix {
    display: none;
  }

  .col-social-float {
    right: -10px;
    bottom: 55px;
    scale: .8;
  }

  .col-bgm {
    right: 0px;
  }

  .text-title-head {
    font-size: 30px;
  }

  .text-description-head {
    font-size: 20px;
  }

  .col-text-title-head-white {
    padding: 0 29px;
  }

  .col-text-title-head-white::before {
    width: 22px;
    height: 22px;
    top: 4px;
  }

  .col-text-title-head-white::after {
    width: 22px;
    height: 22px;
    top: 4px;
  }

  html,
  body {
    scroll-behavior: smooth;
    scroll-snap-type: inherit;
    overflow-y: inherit;
  }

}

@media (max-width: 391px) {
  .text-st-detail {
    font-size: 9px;
  }

  .col-select-crt .thumb {
    width: 70px;
    height: 60px;
    margin: 0 -12px;
  }

}

@media (max-width: 375px) {

  .col-select-crt .thumb.active {
    margin: 10px;
    width: 70px;
    height: 70px;
  }

  .warper-col-select-crt a img {
    width: 35px;
    margin: -5px 2px;
  }

  .col-select-crt::before {
    width: 106px;
    height: 106px;
    top: -8px;
  }

  .col-select-crt .thumb.active {
    margin: 10px;
    width: 70px;
    height: 70px;
  }

  .bg-in-box-name-crt {
    height: 460px;
  }

  .text-detail-crt {
    font-size: 11px;
  }

  .text-name-th {
    font-size: 22px;
  }

  .text-name-en {
    font-size: 28px;
  }

  .text-st-detail {
    font-size: 10px;
  }

  .text-title-head {
    font-size: 26px;
  }

  .text-description-head {
    font-size: 16px;
  }

  .col-text-title-head-white {
    padding: 0 22px;
  }

  .col-text-title-head-white::before {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .col-text-title-head-white::after {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .col-text-title-head {
    padding: 0 22px;
  }

  .col-text-title-head::before {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .col-text-title-head::after {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  html,
  body {
    scroll-behavior: smooth;
    scroll-snap-type: inherit;
    overflow-y: scroll;
  }

}



/*  */
.rainbow-line {
  background: url(../images/rainbow-line.webp?v=1.35) top center no-repeat;
  background-size: 100%;
  position: absolute;
  width: 100%;
  bottom: -160px;
  left: 0;
  z-index: 50;
  pointer-events: none;
  aspect-ratio: 2.4 / 1;
}

.rainbow-line {
  width: 100%;
  background-size: 100%;
  bottom: -140px;
  z-index: 11;
}

#Sec-Event .rainbow-line {
  background: url(../images/rainbow-line.webp?v=1.35) top center no-repeat;
  background-size: 100%;
  position: absolute;
  width: 100%;
  top: -160px;
  left: 0;
  z-index: 50;
  pointer-events: none;
  aspect-ratio: 2.4 / 1;
}

#Sec-Event .rainbow-line {
  width: 100%;
  background-size: 100%;
  top: -137px;
  z-index: 11;
}

.bn-event.grid-layout {
  max-width: 100% !important;
}


@media (min-width: 540px) {
  .rainbow-line {
    bottom: -200px;
  }
}

@media (min-width: 720px) {
  .rainbow-line {
    bottom: -290px;
  }

}

@media (min-width: 768px) {
  .rainbow-line {
    bottom: -260px;
  }


}

@media (min-width: 820px) {
  .rainbow-line {
    bottom: -285px;
  }
}

@media (min-width: 1024px) {
  .rainbow-line {
    bottom: -336px;
  }
}

@media (min-width: 1025px) {
  .rainbow-line {
    width: 100%;
    background-size: 100%;
    bottom: -290px;
    z-index: 11;
  }

  .bn-event.grid-layout {
    max-width: 1000px !important;
  }
}

@media (min-width: 1440px) {
  .rainbow-line {
    width: 100%;
    background-size: 120%;
    bottom: -39%;
    z-index: 11;
  }
}

@media (min-width: 1921px) {
  .rainbow-line {
    bottom: -640px;
    width: 2000px;
    left: 0;
  }

  .rainbow-line {
    background: url(../images/rainbow-line-xl.webp?v=1.35) top center no-repeat;
    background-size: 100%;

  }

  .warper-button-menu-fix {
    width: 300px;
    position: relative;
    margin: auto;
    background: #000;
    z-index: 10000;
    height: 1px;
  }
}