.btn, .btn-search, .btn-logout, .form .serial-Input {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
}

#header::after, #footer::after {
  background-color: #306efd;
}

@media (max-width: 1200px) {
  #socials {
    left: 0;
  }
}
@media (min-width: 150px) and (max-width: 1200px) {
  #footer {
    margin-top: 0em;
  }

  #socials {
    top: -.5em;
    position: relative;
  }
  #socials .side-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}
/* .stroke {
    @include stroke(4, #000);
} */
html,
body {
  min-width: 360px;
  background: #0d49ba;
  color: #0b3eb2;
}

#main {
  background-color: #0d49ba;
  overflow: hidden;
}

#header {
  background-color: #306efd;
  animation: slide-in-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.no-listyStyle {
  margin: 0;
  padding: 0;
}
.no-listyStyle li {
  list-style: none;
}

.align-items-stretch {
  align-items: stretch;
}

img {
  max-width: 100%;
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.wrapper {
  width: 100%;
  position: relative;
}

.w100 {
  width: 100%;
}

.fw-b {
  font-weight: bold !important;
}

.t-c {
  text-align: center !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-05 {
  margin-bottom: 0.5em !important;
}

.mb-1 {
  margin-bottom: 1em !important;
}

.m-0 {
  margin: 0 !important;
}

.mx-a {
  margin-right: auto;
  margin-left: auto;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.z2 {
  z-index: 2;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}
.row.center {
  justify-content: center;
}
.row.space-between {
  justify-content: space-between;
}
.row.left {
  justify-content: left;
}
.row.right {
  justify-content: right;
}

.flex {
  display: flex;
}

/*==============*/
/* PAGE CONTENT */
.container {
  max-width: 1050px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 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: 1920px;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -5;
}
.bg-area .repeat-bg {
  flex: 1 1 auto;
  background-position: top center;
  background-size: 100% auto;
  background-repeat: repeat-y;
  position: absolute;
  width: 100%;
  height: 100%;
}
@media (max-width: 1000px) {
  .bg-area {
    width: 32em;
  }
}
.bg-area img {
  width: 100%;
  display: block;
  object-fit: cover;
  position: relative;
}
.bg-area .bgTop {
  margin-top: 1em;
}

#main-banner {
  width: 100%;
  position: relative;
  padding-top: 1.65em;
}
#main-banner .banner-img {
  width: 1200px;
  margin: 1.3em auto -.5em;
}
#main-banner .container {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 2em;
}
#main-banner .partnerLogo {
  width: 30%;
  max-width: 281px;
  margin: 0;
}

#article {
  position: relative;
  top: -2em;
}

.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;
  transition: background-image 0.2s;
  font-weight: bold;
  color: #000;
}

.btn-play3, .btn-play2 {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  margin: 0 auto;
  top: 0;
  width: 12em;
  height: 2.57em;
  background: url("../../../img/Event/202406_FamilyMart/btn-03.png") top/100% auto no-repeat;
  animation: btnPlay 2s infinite step-end;
  transition: transition 1s, opacity 1s, filter .1s;
}
.btn-play3:hover, .btn-play3:active, .btn-play2:hover, .btn-play2:active {
  animation: none;
  background-position: bottom;
  filter: brightness(1.1) drop-shadow(0 0 0.1em #ffaa00);
}

.btn-play2 {
  position: absolute;
  top: 8em;
  left: 50%;
  width: 6em;
  height: 2.18em;
  background: url("../../../img/Event/202406_FamilyMart/btn-02.png") top/100% auto no-repeat;
}
@media (max-width: 1200px) {
  .btn-play2 {
    width: 4.5em;
    height: 1.64em;
    top: 7.5em;
  }
}
.btn-play2::after {
  content: "";
  position: absolute;
  right: -.5em;
  top: 50%;
  width: 1.5em;
  height: 1.5em;
  background: url("../../../img/Event/202406_FamilyMart/mouse.png") center/contain no-repeat;
  filter: drop-shadow(0.1em 0.2em rgba(0, 0, 0, 0.25));
  animation: btnPointer .85s infinite alternate ease-in-out;
}

.btn-search {
  background-image: url("../../../img/Event/202406_FamilyMart/btn-01.png");
  width: 8em;
  height: 1.58em;
  animation: btnPlay 2s infinite step-end;
  transition: transition 1s, opacity 1s, filter .1s;
}
.btn-search:hover, .btn-search:active {
  animation: none;
  background-position: bottom;
  filter: brightness(1.1) drop-shadow(0 0 0.1em #ffaa00);
}

.btn-logout {
  background-image: url("../../../img/Event/202406_FamilyMart/btn-05.png");
  background-position: top;
  width: 4.5em;
  height: 1.75em;
  transition: transition 1s, opacity 1s, filter .1s;
}
.btn-logout:hover, .btn-logout:active {
  animation: none;
  background-position: bottom;
  filter: brightness(1.1) drop-shadow(0 0 0.1em #ffaa00);
}

.border {
  max-width: 1080px;
  width: 100%;
  position: relative;
  background-size: 100% auto;
  padding: 2em;
  z-index: 1;
  margin: 0 auto;
  margin-bottom: 0.8em;
  height: 100%;
}
.border::before {
  content: "";
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
  z-index: -1;
  top: 0em;
  height: 100%;
}
@media (max-width: 1100px) {
  .border {
    margin-bottom: 0;
  }
}

#section-pay .border::before {
  background-image: url("../../../img/Event/202406_FamilyMart/border_01.png");
  height: 15em;
}
#section-pay img {
  margin-top: .2em;
}
#section-pay .pay_yoe, #section-pay .pay_xinstar {
  animation: light 2s infinite step-end;
}
#section-pay .pay_yoe:hover, #section-pay .pay_xinstar:hover {
  filter: brightness(1.1);
}
#section-pay .non-ani {
  animation: none !important;
}

#section-lottery {
  margin-top: -1em;
}
@media (max-width: 1100px) {
  #section-lottery {
    margin-top: 0em;
  }
}
#section-lottery .border::before {
  background-image: url("../../../img/Event/202406_FamilyMart/border_02.png");
}
#section-lottery img {
  margin-top: .3em;
  margin-bottom: .6em;
}

/* 
#section-gift{
    margin-top: -.7em;
    @media (max-width: 1200px) { 
        margin-top: .2em;
    }
    .border {
        &::before {
            background-image: url(https://www.xin-stars.com/css/Event/202406_FamilyMart/$path%20+%20%22border_03.png);
        }
    }
    .img-gift{
        width: 79%;
    }
    .text-date{
        width: 60%; 
        max-width: 474px;
        margin-top: .4em;
    }
}
 */
#section-prize {
  position: relative;
  margin-top: -.2em;
}
#section-prize .border::before {
  background-image: url("../../../img/Event/202406_FamilyMart/border_06.png");
}
@media (max-width: 1100px) {
  #section-prize .border {
    padding-bottom: 3em;
  }
}
#section-prize img {
  margin-top: 0.6em;
  width: 77%;
}
@media (max-width: 1100px) {
  #section-prize img {
    width: 78%;
  }
}
#section-prize .text-area {
  position: relative;
}
@media (max-width: 1100px) {
  #section-prize .text-area img {
    width: 90%;
  }
}
#section-prize .go-exPrize {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1em;
  margin: auto;
  z-index: 2;
  width: 20%;
  height: 50%;
  bottom: -10%;
  left: -1em;
}
@media (max-width: 1100px) {
  #section-prize .go-exPrize {
    width: 24%;
  }
}

#section-process {
  margin-top: -1.3em;
}
#section-process .border::before {
  background-image: url("../../../img/Event/202406_FamilyMart/border_04.png");
  height: 30em;
}
#section-process .btn-xinstar, #section-process .btn-yoe {
  position: absolute;
  width: 39%;
  top: 2.03em;
}
@media (max-width: 1080px) {
  #section-process .btn-xinstar, #section-process .btn-yoe {
    width: 38.5%;
  }
}
@media (max-width: 1030px) {
  #section-process .btn-xinstar, #section-process .btn-yoe {
    width: 37.8%;
  }
}
#section-process .btn-xinstar:hover, #section-process .btn-xinstar:active, #section-process .btn-yoe:hover, #section-process .btn-yoe:active {
  filter: brightness(1.1) drop-shadow(0 0 0.1em #ffaa00);
}
#section-process .tab {
  width: 16em;
}
#section-process .tab, #section-process .btn-point {
  margin-top: .5em;
}
@media (max-width: 1100px) {
  #section-process {
    margin-top: -.2em;
  }
}

.yoe {
  content: url("../../../img/Event/202406_FamilyMart/tab-01.png");
}

.xinstar {
  content: url("../../../img/Event/202406_FamilyMart/tab-02%EF%B9%96v=2.png");
}

.btn-yoe {
  content: url("../../../img/Event/202406_FamilyMart/btn_tab01%EF%B9%96v=5.png");
  right: 50%;
}

.btn-xinstar {
  content: url("../../../img/Event/202406_FamilyMart/btn_tab02%EF%B9%96v=5.png");
  left: 50%;
}

.form {
  width: 90%;
}
@media (max-width: 1000px) {
  .form {
    width: 96%;
  }
}
.form .serial-Input {
  width: 70%;
  background-image: url("https://www.xin-stars.com/img/Event/202406_FamilyMart/input-bg.png");
}
.form input {
  width: 100%;
  padding: 0.35em 0.2em;
  font-size: 0.7em;
  font-weight: bold;
  color: #333;
  position: relative;
  text-align: center;
  border: none !important;
  outline: none !important;
  background: none;
  -webkit-appearance: none;
  position: relative;
}
.form .btn-exchange {
  width: 28%;
  padding-bottom: 15%;
  background-image: url("https://www.xin-stars.com/img/Event/202406_FamilyMart/btn-submit_1.png");
}
.form .btn-exchange:hover {
  background-image: url("https://www.xin-stars.com/img/Event/202406_FamilyMart/btn-submit_2.png");
}

.text-user {
  color: #0b3eb2;
  font-size: 30px;
}
@media (max-width: 1000px) {
  .text-user {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .text-user {
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  .text-user {
    font-size: 15px;
  }
}

.btn-link {
  font: inherit;
  display: inline;
  border: none;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
  color: #0b3eb2;
}

#section-rules .notice {
  width: 18em;
  max-width: 1200px;
  margin-top: 1em;
  margin-bottom: -1em;
}
@media (max-width: 1140px) {
  #section-rules .notice {
    width: 16.5em;
  }
}
@media (max-width: 1050px) {
  #section-rules .notice {
    width: 15.5em;
    margin-top: 0;
  }
}

.modal {
  display: none;
  position: fixed;
  display: none;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal.active, .modal.is-active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.modal.active {
  font-size: inherit !important;
}
.modal.active .border {
  width: 100% !important;
}
.modal .mask {
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
  animation: fade .4s ease-out;
}
@supports (backdrop-filter: blur(0.1rem)) {
  .modal .mask {
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    transition: backdrop-filter .5s ease-out;
  }
}
.modal.active .btn-close {
  font: inherit;
  font-size: .9em;
  font-weight: 400;
  display: block;
  position: absolute;
  z-index: 2;
  right: 1em;
  top: 0;
  width: 2em;
  height: 2em;
  max-width: none !important;
  max-height: none !important;
  border: .1em solid #9e642d;
  border-radius: 100%;
  background: #ffe462;
  color: #fffbfb;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: filter .2s;
}
.modal.active .btn-close::before, .modal.active .btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15%;
  height: 60%;
  transform: translate(-50%, -50%) skewX(32deg);
  background: currentColor;
  border-radius: .05em;
}
.modal.active .btn-close::after {
  transform: translate(-50%, -50%) skewX(-32deg);
}
.modal.active .btn-close:hover, .modal.active .btn-close:focus, .modal.active .btn-close:active {
  filter: brightness(1.1) drop-shadow(0 0.15em 0.1em rgba(24, 8, 24, 0.65));
}

#window-privacy {
  height: 12em;
  margin: auto;
}
#window-privacy .modal-overflow {
  padding: .5em;
  height: 13em;
  width: 18em;
}
#window-privacy ol {
  text-align: justify;
  padding: 0 .25em;
  margin-top: 4.5em !important;
}
#window-privacy ol li {
  display: inline;
  counter-increment: list-item;
}
#window-privacy ol li::before {
  content: "(" counter(list-item) ") ";
}
#window-privacy .border {
  margin: 0;
}
#window-privacy .border::before {
  background: url("../../../img/Event/202406_FamilyMart/border_05%EF%B9%96v=4.png") center/contain no-repeat;
  height: 10em;
  width: 100%;
}
#window-privacy .border p, #window-privacy .border ul, #window-privacy .border ol {
  font-size: .45em;
  font-size: clamp(13px, 0.45em, 40em);
  line-height: 1.35;
  letter-spacing: -.01em;
  padding: 0 0;
  margin: 1.5em auto .5em;
  position: relative;
  color: transparent;
}

.side-container {
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 2.25em;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 24em;
  opacity: 1;
}
.side-container > * {
  pointer-events: all;
}

.side-btn {
  display: block;
  margin-left: auto;
  margin-right: .25em;
  width: 3.15em;
  opacity: 1;
  transition: opacity .5s;
}
@media (max-width: 1280px) {
  .side-btn {
    width: 2.5em;
  }
}
@media (max-width: 900px) {
  .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}

/* ==================== */
/* JS ANIMATION CLASSES */
@keyframes slide-in-top {
  0% {
    transform: translateY(-3em);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes btnPlay {
  0% {
    background-position: top;
  }

  50% {
    background-position: bottom;
  }
}
@keyframes light {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.1);
  }

  100% {
    filter: brightness(1);
  }
}
@keyframes btnPointer {
  0% {
    transform: scale(1) translate(0, 0);
    filter: drop-shadow(0.1em 0.2em 0.05em rgba(0, 0, 0, 0.25));
  }

  100% {
    transform: scale(1.1) translate(0.5em, 0.2em);
    filter: drop-shadow(0.1em 0.3em 0.1em rgba(0, 0, 0, 0.25));
  }
}
.fade-scale {
  transform: scale(0.8) translateY(-2em);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s ease-out;
}
.fade-scale.faded {
  transform: scale(1);
  opacity: 1;
}

.fade-down {
  transform: translateY(-3em);
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s ease-out;
}
.fade-down.faded {
  transform: none;
  opacity: 1;
}

.fade-up {
  transform: translateY(2em);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s 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);
}

.display-none {
  display: none;
}

.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;
}

/*# sourceMappingURL=main.css.map */