@import url("https://rsms.me/inter/inter.css");
html {
  font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", sans-serif;
  }
}

html,
body,
#root {
  height: 100%;
  width: 100%;
  // font-weight: normal;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes position {
  0% {
    transform: translateY(500%);
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Standard syntax */
@keyframes position-mobile {
  0% {
    transform: translateY(500%);
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Standard syntax */
@keyframes position {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-container {
  background: rgba(0, 0, 0, 0.2) !important;
  overflow: hidden;
  z-index: 9999;
  .modal {
    animation-name: position;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
  }
}

@media only screen and (max-width: 640px) {
  .modal-container {
    .modal {
      animation-name: position-mobile;
      animation-duration: 0.7s;
      animation-timing-function: ease-out;
    }
  }
}
