body {
  background: url("../imgs/bg-cardboard.png");
  background-size: 7px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  font-family: 'Open Sans', sans-serif;
  margin: 0; }

.display-none {
  display: none; }

#typing-area {
  background-image: url("../imgs/bg-checkered.png");
  background-size: 30px;
  box-shadow: 0 -3px 30px 5px #000;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1; }
  @media (min-width: 768px) {
    #typing-area {
      height: 148px;
      overflow: hidden; } }
  #typing-area h1 {
    animation: rainbow 10s linear infinite;
    background: linear-gradient(to right, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3, #f44286, #ff2400);
    background-size: 200% auto;
    color: #fff;
    font-family: 'Fredoka One', cursive;
    font-size: 25px;
    margin: 0 5px 10px 5px;
    margin-top: -30px;
    position: relative;
    text-align: center;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; }
    @media (min-width: 768px) {
      #typing-area h1 {
        font-size: 50px;
        margin-top: -62px; } }
@keyframes rainbow {
  to {
    background-position: 200% center; } }
  #typing-area #h1-shadow {
    font-family: 'Fredoka One', cursive;
    font-size: 25px;
    margin: 0 5px 0 5px;
    text-align: center;
    text-shadow: 0 0 15px #000; }
    @media (min-width: 768px) {
      #typing-area #h1-shadow {
        font-size: 50px; } }
  #typing-area h2 {
    color: #fff;
    font-size: 13px;
    margin: 10px 5px;
    text-align: center;
    text-shadow: 0 0 5px #000; }
    @media (max-width: 767px) {
      #typing-area h2 {
        display: none; } }
  #typing-area #text-form {
    background: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    max-width: 768px; }
    #typing-area #text-form #box-text-input {
      background: transparent;
      border: 0;
      box-sizing: border-box;
      display: inline-block;
      height: 50px;
      padding: 10px;
      width: calc(100% - 60px); }
    #typing-area #text-form button[type=submit] {
      background: url("../../assets/imgs/box-it.png");
      background-position: center;
      background-size: 80%;
      background-repeat: no-repeat;
      border: 0;
      display: inline-block;
      float: right;
      height: 50px;
      text-indent: -9999em;
      width: 60px; }
      #typing-area #text-form button[type=submit]:hover {
        background: url("../../assets/imgs/box-it-hover.png");
        background-position: center;
        background-size: 80%;
        background-repeat: no-repeat; }

#display-area {
  padding-top: 110px; }
  @media (min-width: 768px) {
    #display-area {
      padding-top: 168px; } }
  #display-area #boxes .box {
    display: inline-block;
    position: relative;
    overflow: hidden; }
    @media (min-width: 540px) {
      #display-area #boxes .box {
        width: 33.33%; } }
    @media (min-width: 768px) {
      #display-area #boxes .box {
        width: 25%; } }
    @media (min-width: 900px) {
      #display-area #boxes .box {
        width: 20%; } }
    #display-area #boxes .box p {
      display: none; }
    #display-area #boxes .box .box-image {
      padding-bottom: 87%;
      background-image: url("../../assets/imgs/reg-box-closed.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      position: relative; }
    #display-area #boxes .box.open .box-image {
      background-image: url("../../assets/imgs/reg-box-open.png"); }
    #display-area #boxes .box .box-shadow {
      background: transparent;
      bottom: 30px;
      border-radius: 100%;
      box-shadow: 0 28px 15px rgba(0, 0, 0, 0.5);
      display: none;
      height: 20px;
      left: 50%;
      position: absolute;
      transform: translateX(-50%);
      width: 70%; }
    #display-area #boxes .box.open .box-image, #display-area #boxes .box:hover .box-image {
      animation-duration: 2s;
      animation-name: box-float;
      animation-iteration-count: infinite;
      animation-timing-function: ease; }
    #display-area #boxes .box.open .box-shadow, #display-area #boxes .box:hover .box-shadow {
      display: block;
      animation-duration: 2s;
      animation-name: box-float-shadow;
      animation-iteration-count: infinite;
      animation-timing-function: ease; }
    #display-area #boxes .box.new .box-image::after {
      animation: box-shine 4s linear infinite;
      animation-delay: 0.6s;
      content: '';
      position: absolute;
      pointer-events: none;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(142deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8) 58%, rgba(255, 255, 255, 0) 60%) no-repeat;
      background-size: 200% auto;
      -webkit-mask: url("../../assets/imgs/reg-box-closed.png") center;
      -webkit-mask-size: 100%; }
@keyframes box-shine {
  0% {
    background-position: 200%; }
  15% {
    background-position: -25%; }
  100% {
    background-position: -25%; } }
    #display-area #boxes .box.dropping .box-image {
      animation: new-box-drop 0.5s ease 1; }
@keyframes new-box-drop {
  0% {
    transform: translateY(-100%); }
  100% {
    transform: translateY(0%); } }
    #display-area #boxes .box.dropping .box-shadow {
      animation: new-box-drop-shadow 0.5s ease 1;
      display: inline-block; }
@keyframes new-box-drop-shadow {
  0% {
    width: 0; }
  90% {
    width: 70%; }
  100% {
    width: 0; } }
@keyframes box-float {
  0% {
    top: -12px;
    transform: rotate(-0.5deg); }
  25% {
    transform: rotate(0.5deg); }
  50% {
    top: -5px;
    transform: rotate(-0.5deg); }
  75% {
    transform: rotate(0.5deg); }
  100% {
    top: -12px;
    transform: rotate(-0.5deg); } }
@keyframes box-float-shadow {
  0% {
    width: 65%; }
  50% {
    width: 70%; }
  100% {
    width: 65%; } }
#box-modal {
  background: rgba(0, 0, 0, 0.75);
  display: none; }
  #box-modal.open {
    display: block;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 9999; }
  #box-modal #box-modal-main-wrapper {
    margin: 0 auto;
    max-width: 400px;
    margin-top: 50vh;
    transform: translateY(-50%); }
    #box-modal #box-modal-main-wrapper .modal-box-image {
      display: block;
      margin: 10px auto;
      width: 100px; }
    #box-modal #box-modal-main-wrapper #box-modal-main {
      background: #fff;
      border: 10px solid transparent;
      border-image: url("../imgs/bg-checkered.png") 10% round;
      font-family: 'Gaegu', cursive;
      margin: 10px;
      padding: 10px;
      position: relative;
      text-align: center; }
      #box-modal #box-modal-main-wrapper #box-modal-main .modal-close {
        background: url("../../assets/imgs/cross.png");
        background-position: center;
        background-size: 75%;
        background-repeat: no-repeat;
        border: 0;
        cursor: pointer;
        position: absolute;
        height: 50px;
        right: 0;
        text-indent: -9999em;
        top: -60px;
        width: 50px; }
        #box-modal #box-modal-main-wrapper #box-modal-main .modal-close:hover {
          background: url("../imgs/cross-hover.png");
          background-position: center;
          background-size: 75%;
          background-repeat: no-repeat; }
    #box-modal #box-modal-main-wrapper #send-to-abyss {
      background: url("../../assets/imgs/delete.png");
      background-position: center;
      background-size: 75%;
      background-repeat: no-repeat;
      border: 0;
      cursor: pointer;
      display: block;
      height: 70px;
      margin: 0 auto;
      text-indent: -9999em;
      width: 120px; }
      #box-modal #box-modal-main-wrapper #send-to-abyss:hover {
        background: url("../../assets/imgs/delete-hover.png");
        background-position: center;
        background-size: 75%;
        background-repeat: no-repeat; }
  #box-modal #delete-box-modal-main {
    height: 300px;
    padding: 10px;
    position: relative;
    margin: 0 auto;
    margin-top: 50vh;
    max-width: 400px;
    transform: translateY(-50%); }
    #box-modal #delete-box-modal-main #box-delete-sheath {
      border-radius: 40%;
      height: 300px;
      overflow: hidden;
      position: relative; }
    #box-modal #delete-box-modal-main .delete-modal-box-image {
      display: block;
      margin: 0 auto;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 50%;
      z-index: 1; }
    #box-modal #delete-box-modal-main .abyss-img {
      top: 78%;
      position: absolute;
      transform: translateY(-50%);
      width: calc(100% - 20px); }
      @media (min-width: 540px) {
        #box-modal #delete-box-modal-main .abyss-img {
          top: 74%; } }
    #box-modal #delete-box-modal-main .abyss-img-active {
      top: 78%;
      position: absolute;
      transform: translateY(-50%);
      width: calc(100% - 20px); }
      @media (min-width: 540px) {
        #box-modal #delete-box-modal-main .abyss-img-active {
          top: 74%; } }
    #box-modal #delete-box-modal-main.delete-animation .delete-modal-box-image {
      animation: box-to-abyss 2s ease forwards; }
@keyframes box-to-abyss {
  0% {
    top: 0; }
  35% {
    top: -5%; }
  40% {
    top: -5%; }
  80% {
    top: 100%; }
  100% {
    top: 100%; } }
    #box-modal #delete-box-modal-main.delete-animation .abyss-img-active {
      animation: abyss-flash 2s ease forwards; }
@keyframes abyss-flash {
  0% {
    opacity: 0; }
  80% {
    opacity: 0; }
  85% {
    opacity: 0.4; }
  90% {
    opacity: 0; }
  95% {
    opacity: 1; }
  100% {
    opacity: 0; } }

/*# sourceMappingURL=styles.css.map */
