@charset "UTF-8";
:root {
  --primary-color: #e92d31;
  --secondary-color: #f8e82e;
  --text-color: #010101;
}

@font-face {
  font-family: "IBMBold";
  src: url(assets/fonts/IBMPlexSansThai-Bold.ttf);
}
@font-face {
  font-family: "IBMSemiBold";
  src: url(assets/fonts/IBMPlexSansThai-SemiBold.ttf);
}
* {
  padding: 0;
  margin: 0;
}

main {
  width: 100dvw;
  height: 100dvh;
  background-color: #e92d31;
  position: relative;
  overflow: hidden;
}
main .left-bg {
  width: 34%;
  position: absolute;
  top: 2dvh;
  right: auto;
  bottom: auto;
  left: -7%;
  aspect-ratio: 0.2;
  background-image: url("/assets/images/left.svg");
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: contain;
}
main .right-bg {
  width: 34%;
  position: absolute;
  top: 2dvh;
  right: -11%;
  bottom: auto;
  left: auto;
  aspect-ratio: 0.2;
  background-image: url("/assets/images/right.svg");
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: contain;
}
main .footer-bg {
  width: 100dvw;
  position: absolute;
  top: auto;
  right: 0px;
  bottom: 0px;
  left: auto;
  aspect-ratio: 1;
  background-image: url("/assets/images/footer.svg");
  background-position: 50% 134%;
  background-repeat: no-repeat;
  background-size: 161%;
}
main .container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding-top: 8dvh;
}
main .container .header {
  height: 12%;
  width: 100%;
  position: relative;
}
main .container .header .logo-main {
  width: 100%;
  height: 15%;
  aspect-ratio: 13;
  background-image: url("/assets/images/ally.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 1dvh;
}
main .container .header .logo-event {
  width: 100%;
  height: 85%;
  aspect-ratio: 2;
  background-image: url("/assets/images/event.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
main .container .main {
  width: 100%;
  height: 52%;
  position: relative;
  margin: 2dvh 0;
}
main .container .main .linepath {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  height: 87%;
  aspect-ratio: 0.7;
}
main .container .main .linepath svg {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}
main .container .main .position-box {
  width: 100%;
  height: 100%;
  position: relative;
}
main .container .main .position-box .box {
  width: 18%;
  position: absolute;
  top: -15%;
  right: auto;
  bottom: auto;
  left: 15%;
}
main .container .main .position-box .box .mall {
  width: 100%;
  aspect-ratio: 1;
  background-image: url("/assets/images/flower-1.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 80%;
  padding: 0%;
  background-color: white;
  border-radius: 50dvw;
  position: relative;
  z-index: 1;
}
main .container .main .position-box .box .mall .stamp {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform: translateZ(0);
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  position: absolute;
  inset: 0;
  place-items: center;
  z-index: 2;
  border-radius: 0dvw;
}
main .container .main .position-box .box .mall .stamp svg {
  aspect-ratio: 1;
  width: 100%;
}
main .container .main .position-box .box .name {
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-size: 1.5dvw;
  text-align: center;
  color: #fff;
  margin: 0 -100%;
}
main .container .main .position-box .box .dot {
  width: 100%;
  aspect-ratio: 2;
  background-image: url("/assets/images/flower-1.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
main .container .btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4dvw;
}
main .container .btn-row .btn {
  border: 2px solid #010101;
  color: #010101;
  background-color: #f8e82e;
  padding: 2dvw;
  border-radius: 50dvw;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1019607843), 0px 9px 9px 0px rgba(0, 0, 0, 0.0901960784), 0px 21px 13px 0px rgba(0, 0, 0, 0.0509803922), 0px 38px 15px 0px rgba(0, 0, 0, 0.0117647059), 0px 59px 16px 0px rgba(0, 0, 0, 0);
}
main .container .btn-row .btn.btn-icon {
  width: 6dvw;
  aspect-ratio: 1;
  background-image: url("/assets/images/rule.svg");
  background-position: 60% 50%;
  background-repeat: no-repeat;
  background-size: 70%;
}
main .container .btn-row .btn.btn-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: "IBMBold";
  font-size: 4dvw;
  padding: 2dvw 7dvw;
  max-width: 30dvw;
  white-space: nowrap;
}
main .container .btn-row .btn.red {
  border: 2px solid #a30003;
  background-color: #a30003;
  color: #fff;
}
main .container .remain {
  font-family: "Prompt", sans-serif;
  font-weight: 400;
  font-size: 2.5dvw;
  color: #fff;
  text-align: right;
  line-height: 2.5;
  width: 34%;
}
main .modalBG {
  position: absolute;
  top: 0;
  height: 100dvh;
  width: 100dvw;
  background: rgba(0, 0, 0, 0.8);
}
main .modalBG .modal {
  width: 100%;
  padding: 4dvw;
  background-color: #fff;
  border-radius: 6dvw;
  box-sizing: border-box;
}
main .modalBG .modal .header {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 5dvw;
  color: #333333;
  text-align: center;
  line-height: 1;
}
main .modalBG .modal .subheader {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 3.5dvw;
  color: #8e8e8e;
  text-align: center;
  line-height: 1;
}
main .modalBG .modal b {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 3.5dvw;
  line-height: 1.2;
}
main .modalBG .modal .desc,
main .modalBG .modal .subdesc {
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-size: 3.5dvw;
  line-height: 1.2;
  color: #333333;
}
main .modalBG.rule {
  width: 92dvw;
  padding: 0 4dvw;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2dvh;
}
main .modalBG.rule .modal .image {
  width: 100%;
  aspect-ratio: 3.3225806452;
  background-image: url("/assets/images/rule.svg");
  background-position: 60% 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  margin: 1dvh 0 2dvh 0;
}
main .modalBG.rule .modal .desc b {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 3.5dvw;
}
main .modalBG.rule .modal .desc ul {
  padding-left: 6dvw;
  list-style: none;
}
main .modalBG.rule .modal .desc ul li {
  position: relative;
  margin-bottom: 1dvw;
}
main .modalBG.rule .modal .desc ul li::before {
  content: "";
  position: absolute;
  top: 1.875dvw;
  right: auto;
  bottom: auto;
  left: -3dvw;
  transform: translateY(-50%);
  width: 0.5dvw;
  height: 0.5dvw;
  background-color: #333333;
  border-radius: 50%;
}
main .modalBG.rule .button {
  border: 2px solid #010101;
  color: #010101;
  background-color: #f8e82e;
  padding: 2dvw;
  border-radius: 50dvw;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1019607843), 0px 9px 9px 0px rgba(0, 0, 0, 0.0901960784), 0px 21px 13px 0px rgba(0, 0, 0, 0.0509803922), 0px 38px 15px 0px rgba(0, 0, 0, 0.0117647059), 0px 59px 16px 0px rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: "IBMBold";
  font-size: 4dvw;
  padding: 2dvw 7dvw;
  width: 20dvw;
}
main .modalBG.checkin {
  padding: 8dvw;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2dvh;
}
main .modalBG.checkin .modal {
  padding: 4dvw 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5dvh;
  flex-direction: column;
  position: relative;
}
main .modalBG.checkin .modal .divider {
  height: 0.15dvh;
  width: 100%;
  background-color: #e9e9e9;
}
main .modalBG.checkin .modal .desc {
  padding: 0 8dvw;
  text-align: center;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
main .modalBG.checkin .modal .button {
  color: #fff;
  background-color: #333333;
  padding: 2dvw;
  border-radius: 50dvw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: "IBMBold";
  font-size: 4dvw;
  padding: 2dvw 7dvw;
  width: 20dvw;
}
main .modalBG.reward {
  flex-direction: column;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2dvh;
}
main .modalBG.reward .modal {
  box-sizing: border-box;
  position: relative;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5dvh;
  border-radius: 6dvw 6dvw 0 0;
  padding: 0 4dvw;
}
main .modalBG.reward .modal .bar {
  margin: 1dvh 4dvw 2dvh 4dvw;
  height: 0.5dvh;
  width: 25%;
  background-color: #e9e9e9;
  border-radius: 50dvw;
}
main .modalBG.reward .modal .divider {
  height: 0.15dvh;
  width: 100%;
  background-color: #e9e9e9;
}
main .modalBG.reward .modal .dotdivider {
  color: #e9e9e9;
  font-family: "IBMBold";
  font-size: 6dvw;
  line-height: 0.5;
}
main .modalBG.reward .modal .desc,
main .modalBG.reward .modal .subdesc {
  width: 100%;
  text-align: center;
  padding: 0 10dvw;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2dvw;
  row-gap: 0;
  flex-wrap: wrap;
}
main .modalBG.reward .modal .desc div,
main .modalBG.reward .modal .desc b,
main .modalBG.reward .modal .subdesc div,
main .modalBG.reward .modal .subdesc b {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2dvw;
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-size: 3.5dvw;
}
main .modalBG.reward .modal .desc div,
main .modalBG.reward .modal .subdesc div {
  color: #ff1b0f;
}
main .modalBG.reward .modal .subdesc {
  width: 80%;
}
main .modalBG.reward .modal .listProject {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5dvw;
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-size: 2.5dvw;
  text-align: center;
}
main .modalBG.reward .modal .listProject .projectBox {
  width: calc(25% - 8dvw);
  position: relative;
}
main .modalBG.reward .modal .listProject .projectBox .projectImg {
  width: 100%;
  border-radius: 50dvw;
  border: #e9e9e9 solid 1px;
  aspect-ratio: 1;
  background-image: url("/assets/images/rule.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}
main .modalBG.reward .modal .listProject .projectBox.selected .projectImg::before,
main .modalBG.reward .modal .listProject .projectBox.selected .projectImg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
}
main .modalBG.reward .modal .listProject .projectBox.selected .projectImg::before {
  width: 100%;
  height: 100%;
  border-radius: 50dvw;
  background-color: #a37c5d;
  opacity: 0.3;
}
main .modalBG.reward .modal .listProject .projectBox.selected .projectImg::after {
  content: "✔";
  width: 30%;
  height: 30%;
  border-radius: 50dvw;
  background-color: #333333;
  color: #fff;
  text-align: center;
  line-height: 2.5;
  font-family: "IBMBold";
  font-size: 2dvw;
}
main .modalBG.reward .modal .button {
  color: #fff;
  background-color: #333333;
  padding: 2dvw;
  border-radius: 50dvw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: "IBMBold";
  font-size: 4dvw;
  padding: 2dvw 7dvw;
  margin: 1dvh 0 4dvh 0;
  width: 20dvw;
}
main .back {
  position: absolute;
  top: 8dvh;
  right: auto;
  bottom: auto;
  left: 8dvw;
  background-color: rgba(0, 0, 0, 0.2);
  width: 10dvw;
  aspect-ratio: 1;
  border-radius: 50dvw;
}
main .back img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 60%;
  height: 60%;
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-60%, -50%);
}/*# sourceMappingURL=style.css.map */