#header {
  -webkit-box-shadow: 0 2px 11px #002267;
  box-shadow: 0 2px 11px #002267;
}

#header:after {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #fc6b3b), to(#b11554));
  background: -webkit-linear-gradient(top, #fc6b3b 20%, #b11554 100%);
  background: -o-linear-gradient(top, #fc6b3b 20%, #b11554 100%);
  background: linear-gradient(to bottom, #fc6b3b 20%, #b11554 100%);
}

#footer::after {
  background: transparent;
}

html, body {
  background: #290156;
}

.bg-area {
  background-color: #290156;
  background-image: -webkit-linear-gradient(#310167 1px, transparent 1px), -webkit-linear-gradient(left, #310167 1px, #290156 1px);
  background-image: -o-linear-gradient(#310167 1px, transparent 1px), -o-linear-gradient(left, #310167 1px, #290156 1px);
  background-image: linear-gradient(#310167 1px, transparent 1px), linear-gradient(to right, #310167 1px, #290156 1px);
  background-size: 20px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  z-index: -5;
  width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

@media (min-width: 1400px) {
  .bg-area:after {
    content: "";
    display: block;
    position: absolute;
    top: 5em;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    margin: auto;
    background: url(../_img/bg-center.png) top/100% repeat-y;
  }
}

@media (max-width: 1000px) {
  .bg-area {
    width: 192vw;
  }
}

.bg-area img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}

/*===================*/
/* MAIN PAGE CONTENT */
img {
  max-width: 100%;
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
}

/*==============*/
/* PAGE CONTENT */
section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 1.4em auto;
  position: relative;
}

section p {
  color: #fff;
  font-size: .6em;
  line-height: 1.4;
  margin: 0 auto .5em;
  text-align: center;
  text-align-last: center;
}

@media (max-width: 600px) {
  section p {
    font-size: .55em;
  }
}

section .mainImg {
  margin-bottom: 0.6em;
}

#banner {
  display: block;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-top: 1.8em;
  margin-top: 0;
  margin-bottom: 0;
}

#banner h1 {
  margin-top: 1em;
  margin-bottom: 1em;
}

.border {
  width: 96%;
  max-width: 954px;
  margin: .5em auto;
  padding: 1.3em .5em .5em .5em;
  color: #fff;
  border-left: .5em solid #89e0ff;
  border-right: .5em solid #89e0ff;
  -webkit-border-image: url("../_img/border2.png") 45 90 fill/0.75em 1.5em round;
  -o-border-image: url("../_img/border2.png") 45 90 fill/0.75em 1.5em round;
  border-image: url("../_img/border2.png") 45 90 fill/0.75em 1.5em round;
  background-color: transparent;
  position: relative;
  z-index: 0;
}

@media (max-width: 1000px) {
  .border {
    width: 96vw;
    border-width: 0;
    padding: 1.3em .3em .5em .3em;
  }
}

.border h2 {
  width: 40%;
  position: absolute;
  margin: 0 auto;
  top: -0.1em;
  left: 0;
  right: 0;
  z-index: 2;
}

/*==============*/
/* MODAL STYLES */
@media (max-height: 720px) {
  .modal {
    font-size: 6vmin;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.modal.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal .mask {
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
}

@supports ((-webkit-backdrop-filter: blur(0.1rem)) or (backdrop-filter: blur(0.1rem))) {
  .modal .mask {
    -webkit-backdrop-filter: blur(0.15rem);
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    -webkit-transition: -webkit-backdrop-filter .5s ease-out;
    transition: -webkit-backdrop-filter .5s ease-out;
    -o-transition: backdrop-filter .5s ease-out;
    transition: backdrop-filter .5s ease-out;
    transition: backdrop-filter .5s ease-out, -webkit-backdrop-filter .5s ease-out;
  }
}

.modal .btn-close {
  font: inherit;
  font-size: .8em;
  font-weight: 700;
  display: block;
  position: absolute;
  z-index: 2;
  right: -.65em;
  top: -2.3em;
  width: 2em;
  height: 2em;
  border: none;
  border-radius: 100%;
  color: transparent;
  background: url(https://www.xin-stars.com/_event/event_promotion/20220818_eggTransfer/_img/btn-close.png) center/66.66667% auto no-repeat;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  -webkit-transition: -webkit-filter .2s;
  transition: -webkit-filter .2s;
  -o-transition: filter .2s;
  transition: filter .2s;
  transition: filter .2s, -webkit-filter .2s;
}

.modal .btn-close:hover, .modal .btn-close:focus, .modal .btn-close:active {
  -webkit-filter: brightness(1.1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
  filter: brightness(1.1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
}

.modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}

.modal-overflow::-webkit-scrollbar {
  width: 0px;
}

.modal-window {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  width: 90%;
  max-width: 14em;
  min-height: 4em;
  margin: 1.5em auto .5em;
  line-height: 1.4;
}

.modal-window p {
  font-size: smaller;
  color: #444;
  margin: .75em auto .35em;
}

.modal-content {
  padding: .75em 0;
}

/* ==================== */
/* JS ANIMATION CLASSES */
.fade-up {
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  opacity: 0;
  -webkit-transition: opacity 1.6s, -webkit-transform 1s;
  transition: opacity 1.6s, -webkit-transform 1s;
  -o-transition: opacity 1.6s, transform 1s;
  transition: opacity 1.6s, transform 1s;
  transition: opacity 1.6s, transform 1s, -webkit-transform 1s;
}

.fade-up.faded {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  opacity: 1;
}

.fade-down {
  -webkit-transform: translateY(-100px) scale(1.1);
  -ms-transform: translateY(-100px) scale(1.1);
  transform: translateY(-100px) scale(1.1);
  opacity: 0;
  -webkit-transition: opacity 1.6s, -webkit-transform 1s;
  transition: opacity 1.6s, -webkit-transform 1s;
  -o-transition: opacity 1.6s, transform 1s;
  transition: opacity 1.6s, transform 1s;
  transition: opacity 1.6s, transform 1s, -webkit-transform 1s;
}

.fade-down.faded {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  opacity: 1;
}

@media (max-width: 420px) {
  .text-outline, .text-outline b {
    -webkit-filter: none;
    filter: none;
  }
  #event p, #teach p, .subtitle {
    font-size: 14px;
  }
  #rules ol {
    font-size: 15px;
  }
  .modal-window {
    font-size: 1.16666em;
    max-width: 96%;
  }
}

/*# sourceMappingURL=main.css.map */