.highlight {
  color: #fff200 !important;
}

html,
body {
  background: linear-gradient(to right, #4c2bab 0%, #7600db 50%, #4c2bab 100%);
  color: #efefef;
}

@media (max-width: 500px) {
  #article {
    width: 104%;
    left: -2%;
    position: relative;
  }
}

#main {
  overflow: hidden;
  font-size: 3.125vw;
}
@media (max-width: 1280px) {
  #main {
    font-size: 40px;
  }
}
@media (max-width: 666px) {
  #main {
    font-size: 6vw;
  }
}

#header {
  background-color: #210a53;
}

#socials {
  filter: drop-shadow(0 0.05em 0.15em rgba(0, 0, 0, 0.5));
}

.no-listyStyle {
  margin: 0;
  padding: 0;
}
.no-listyStyle li {
  list-style: none;
}

img {
  display: block;
  margin: 0 auto;
}

.wrapper {
  width: 100%;
  position: relative;
}

.fw-b {
  font-weight: bold !important;
}

.t-c {
  text-align: center !important;
}

.t-l {
  text-align: left !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-05 {
  margin-top: 0.5em !important;
}

.mt-1 {
  margin-top: 1em !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 1em !important;
}

.m-0 {
  margin: 0 !important;
}

.mx-a {
  margin-right: auto;
  margin-left: auto;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-05 {
  padding-top: 0.5em !important;
}

.pt-1 {
  padding-top: 1em !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.relative {
  position: relative;
}

.z2 {
  z-index: 2;
}

.d-block {
  display: block;
}

@media (max-width: 1000px) {
  .d-lg-none {
    display: none;
  }
}

/*==============*/
/* PAGE CONTENT */
.container {
  padding-left: 15px;
  padding-right: 15px;
  width: 16.66667em !important;
  margin: auto;
  position: relative;
}
.container img {
  width: 100%;
  height: auto;
  position: relative;
}

.bg-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  width: 32em;
  height: 110%;
  margin: 0 auto;
  overflow: visible;
  user-select: none;
  pointer-events: none;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -5;
}
.bg-area .repeat {
  flex: 1 1 auto;
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  position: relative;
  z-index: 1;
  top: -8em;
}
.bg-area img {
  width: 100%;
  display: block;
  object-fit: cover;
  position: relative;
}

.btn {
  font-size: 1em;
  display: flex;
  justify-content: center;
  outline: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transition: filter 0.2s ease-out, box-shadow 0.2s;
}

#main-banner {
  width: 100%;
  position: relative;
  padding-top: 11em;
    /* @include smallPc() {
        width: 20em;
        padding-top: 12em;
        margin: auto;

        .banner-img {
            width: 92%;
            
        }
    }

    @media (max-width: 1000px) {
        .banner-img {
           width: 100%;
            
        }
    } */
}
#main-banner .banner-img {
  width: 16.667em;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
}
#main-banner .banner-img {
  top: 2em;
  max-width: none;
}
@media (max-width: 900px) {
  #main-banner .banner-img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 500px) {
  #main-banner {
    width: 96%;
    margin: auto;
  }
}

.dl-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
  bottom: 0;
  z-index: 3;
  margin: auto;
  position: absolute;
  top: -11%;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}
.dl-btn-container .btn {
  width: 100%;
  padding-bottom: 10%;
  transition: background-image 0.2s;
}
.dl-btn-container .btn-donwload {
  background-image: url("../../../img/Event/20240801-NightMarket/btn-download_1%EF%B9%96v.png");
}
.dl-btn-container .btn-donwload:hover {
  background-image: url("../../../img/Event/20240801-NightMarket/btn-download_2%EF%B9%96v.png");
}

section {
  width: 100%;
  position: relative;
    /* .c-title {
        margin: 0 auto 0.3em auto;
        position: relative;

        @media (max-width: 1000px) {
            width: 90%;
        }
    }
 */
}
section p {
  color: #efefef;
  font-size: .6em;
  line-height: 1.5;
  margin-bottom: 0.5em;
  margin-top: 0;
}
section p strong {
  font-weight: bold;
}
@media (max-width: 768px) {
  section p {
    font-size: 0.62em;
  }
}
section a {
  color: #fff200;
  text-decoration: underline;
}

#Redeem-Gift .redeem-box {
  width: 69%;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 44%;
  z-index: 2;
}
#Redeem-Gift .redeem-box img {
  width: 100%;
  height: auto;
  left: 0 !important;
}
@media (max-width: 768px) {
  #Redeem-Gift .redeem-box {
    width: 65%;
  }
}

.link-prize {
  /* background-color: rgba(255, 58, 58, 0.2); */
  position: absolute;
  width: 3.5em;
  height: 1em;
  bottom: 0.2em;
  left: 0;
  right: 1em;
  margin: auto;
  z-index: 2;
}

#news-link {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 27%;
  bottom: 8.5%;
  border-radius: .25em;
  /* background: #f004; */
  cursor: pointer;
  transition: backdrop-filter .15s;
}
#news-link:hover {
  backdrop-filter: brightness(1.15);
}
#news-link .finger {
  position: absolute;
  right: -1em;
  bottom: 0;
  width: 3.5em;
  height: 2.45em;
  z-index: 6;
  background: url(../../../img/finger%EF%B9%96v=4.png) top/100% auto no-repeat;
  animation: finger 1.6s infinite step-end;
  transition: transition 1s, opacity 1s, filter .1s;
  background-position: bottom;
}

@keyframes finger {
  0% {
    background-position: top;
  }

  50% {
    background-position: bottom;
  }
}
#rules {
  margin-top: 1.25em;
}
#rules .c-title {
  top: -0.55em;
  margin: 0 auto;
  position: absolute;
  width: 82%;
}
#rules .c-title img {
  width: 100%;
}
#rules .container {
  width: calc(100% - 30px);
  padding: 2em 0.45em  1em 0.45em;
  background-image: url("../../../img/Event/20240801-NightMarket/content-05%EF%B9%96v=2.png");
  background-size: 97%;
  background-position: top;
  background-repeat: no-repeat;
}
@media (max-width: 986px) {
  #rules .container {
    width: calc(100% - 15px);
    background-size: 100%;
    padding-top: 2em;
  }
}
@media (max-width: 900px) {
  #rules .container {
    width: 94%;
    background-image: none;
    padding-bottom: 1em;
    margin-bottom: 20px;
    padding-left: 9px;
    padding-right: 9px;
  }
  #rules .container::after {
    border-image: url("../../../img/Event/20240801-NightMarket/content-05-xs.png") 75 fill/1.25em/0.2em;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
  }
}
@media (max-width: 500px) {
  #rules .container {
    width: 90%;
  }
}
#rules ul,
#rules ol {
  font-size: 0.49em;
  text-align: justify;
  padding-left: 2.2em;
  padding-right: 0.9em;
  margin: 0 auto;
  margin-top: 1em;
}
#rules ul li,
#rules ol li {
  position: relative;
}
@media (min-width: 1001px) and (max-width: 1280px) {
  #rules ul,
  #rules ol {
    font-size: 0.49em;
  }
}
@media (max-width: 986px) {
  #rules ul,
  #rules ol {
    font-size: 0.475em;
  }
}
@media (max-width: 900px) {
  #rules ul,
  #rules ol {
    font-size: 0.575em;
    margin-top: 1em;
  }
}
@media (max-width: 500px) {
  #rules ul,
  #rules ol {
    margin-top: 0.7em;
    font-size: 0.572em;
  }
}
@media (max-width: 400px) {
  #rules ul,
  #rules ol {
    font-size: 0.58em;
  }
}
@media (max-width: 900px) {
  #rules.mobile ul,
  #rules.mobile ol {
    font-size: 0.6em;
  }
}
@media (max-width: 500px) {
  #rules.mobile ul,
  #rules.mobile ol {
    margin-top: 0.6em;
    font-size: 0.597em;
  }
}
@media (max-width: 380px) {
  #rules.mobile ul,
  #rules.mobile ol {
    margin-top: 0.6em;
    font-size: 0.597em;
  }
}

/* .side-container {
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    top: 2.25em;
    z-index: 5;
    pointer-events: none;
    width: 100%;
    max-width: 26em;
    opacity: 1;

    .side-btn {
        pointer-events: all;
        display: block;
        margin-left: auto;
        margin-right: .25em;
        width: 3.15em;
        opacity: 1;
        transition: opacity .5s;

        @media (max-width: 1200px) {
            opacity: 0;
            pointer-events: none;
        }
    }
}
 */
/* ==================== */
/* JS ANIMATION CLASSES */
@keyframes btnPlay {
  0% {
    background-image: url("../../../img/Event/20240801-NightMarket/btn-download_1%EF%B9%96v.png");
  }

  50% {
    background-image: url("../../../img/Event/20240801-NightMarket/btn-download_2%EF%B9%96v.png");
  }
}
.fade-scale {
  transform: scale(1.5) translateY(-3em);
  opacity: 0;
  transition: opacity 0.8s, transform 0.4s ease-out;
}
.fade-scale.faded {
  transform: scale(1);
  opacity: 1;
}

.fade-down {
  transform: translateY(-3em);
  opacity: 0;
  transition: opacity 1s, transform 0.6s ease-out;
}
.fade-down.faded {
  transform: none;
  opacity: 1;
}

.fade-up {
  transform: translateY(2em);
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s ease-out;
}
.fade-up.faded {
  transform: none;
  opacity: 1;
}

.fade-in {
  opacity: 0;
  transition: opacity 1.6s;
}
.fade-in.faded {
  opacity: 1;
}

.fade-left {
  opacity: 0;
  transform: translateZ(0) translateX(-100px);
  transition: opacity 1s, transform 1s;
}
.fade-left.faded {
  opacity: 1;
  transform: translateZ(0) translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateZ(0) translateX(100px);
  transition: opacity 1s, transform 1s;
}
.fade-right.faded {
  opacity: 1;
  transform: translateZ(0) translateY(0);
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}

.d5 {
  transition-delay: 0.5s;
}

.d6 {
  transition-delay: 0.6s;
}
