#header {
  -webkit-box-shadow: 0 2px 11px #002267;
          box-shadow: 0 2px 11px #002267;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #fc6b3b), to(#b11554));
  background: linear-gradient(to bottom, #fc6b3b 20%, #b11554 100%);
}

@media (max-width: 1200px) {
  #socials {
    left: 0;
  }
}
@media (min-width: 810px) and (max-width: 1065px) {
  #socials {
    top: 0;
    position: relative;
  }
  #socials .side-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
  }
}
#footer::after {
  background: transparent;
}

html, body {
  background: #290156;
}

.bg-area {
  background-color: #290156;
  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;
    margin: auto;
    background: url(/img/Event/20220818_eggTransfer/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: 0.6em;
  line-height: 1.4;
  margin: 0 auto 0.5em;
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
}
@media (max-width: 600px) {
  section p {
    font-size: 0.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: 0.5em auto;
  padding: 1.3em 0.5em 0.5em 0.5em;
  color: #fff;
  border-left: 0.5em solid #89e0ff;
  border-right: 0.5em solid #89e0ff;
  -o-border-image: url("/img/Event/20220818_eggTransfer/border2.png") 45 90 fill/0.75em 1.5em round;
     border-image: url("/img/Event/20220818_eggTransfer/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 0.3em 0.5em 0.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 (backdrop-filter: blur(0.1rem)) {
  .modal .mask {
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    -webkit-transition: backdrop-filter 0.5s ease-out;
    transition: backdrop-filter 0.5s ease-out;
  }
}
.modal .btn-close {
  font: inherit;
  font-size: 0.8em;
  font-weight: 700;
  display: block;
  position: absolute;
  z-index: 2;
  right: -0.65em;
  top: -2.3em;
  width: 2em;
  height: 2em;
  border: none;
  border-radius: 100%;
  color: transparent;
  background: url(/img/Event/20220818_eggTransfer/btn-close.png) center/66.66667% auto no-repeat;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  -webkit-transition: -webkit-filter 0.2s;
  transition: -webkit-filter 0.2s;
  transition: filter 0.2s;
  transition: filter 0.2s, -webkit-filter 0.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 0.5em;
  line-height: 1.4;
}
.modal-window p {
  font-size: smaller;
  color: #444;
  margin: 0.75em auto 0.35em;
}

.modal-content {
  padding: 0.75em 0;
}

/* ==================== */
/* JS ANIMATION CLASSES */
.fade-up {
  -webkit-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;
  transition: opacity 1.6s, transform 1s;
  transition: opacity 1.6s, transform 1s, -webkit-transform 1s;
}
.fade-up.faded {
  -webkit-transform: none;
          transform: none;
  opacity: 1;
}

.fade-down {
  -webkit-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;
  transition: opacity 1.6s, transform 1s;
  transition: opacity 1.6s, transform 1s, -webkit-transform 1s;
}
.fade-down.faded {
  -webkit-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 */