@font-face {
  font-family: "Lato";
  src: url("assets/packages/ep_ui/fonts/Lato/Lato-VariableFont_wght.ttf")
    format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/packages/ep_ui/fonts/Montserrat/Montserrat-VariableFont_wght.ttf")
    format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #e6e8eb;
}

html.loading,
body.loading {
  background-color: #2260dd;
}

body {
  position: fixed;
  inset: 0;
}

#loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2260dd;
  z-index: 100;
}

#loading .logo {
  width: 120px;
  height: 120px;
  display: block;
  opacity: 0.8;
  animation: 1s ease-in-out infinite alternate breathe;
  transition: opacity 0.2s;
}

#loading.main_done .logo {
  opacity: 1;
}

#loading.init_done {
  animation: 0.6s ease-in-out forwards zoom;
}

@keyframes breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.9);
  }
}

@keyframes zoom {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}
