html, body {
  overflow: hidden;
  padding: 0;
  margin: 0;
  height: 100%;
}

.body__splash-container {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  transition-property: opacity, background-color;
  transition-timing-function: linear;
  opacity: 0;
  background-color: var(--background-primary-a-enabled);
  z-index: 100;
  pointer-events: none;
}

.body-loading .body__splash-container,
.body-loading_loaded .body__splash-container {
  opacity: 1;
  pointer-events: all;
  transition-duration: .3s;
}

.body-loading_hide .body__splash-container {
  opacity: 0 !important;
}

.body__splash-animation-container {
  flex-basis: 75px;
  width: 75px;
  position: relative;
}

.body__splash-animation-container > * {
  height: 100%;
  width: 100%;
}

.body__splash-wave-item {
  background-color: var(--content-primary-a-disabled);
  border-radius: 24px;
  position: absolute;
  transition: background-color .3s linear;
  top: 0;
  left: 0;
  transform-origin: center;
  animation: splash-wave 2.4s infinite linear;
}

.body__splash-container_loaded .body__splash-wave-item {
  background-color: transparent;
}

.body__splash-wave-item:nth-child(2) {
  animation-delay: .45s;
}

.body__splash-wave-item:nth-child(3) {
  animation-delay: .9s;
}

.body__splash-filler {
  background-color: var(--background-secondary-enabled);
  border-radius: 24px;
  position: absolute;
  transition: transform .3s ease;
  top: 0;
  left: 0;
}

.body-loading_loaded .body__splash-filler,
.body-loading_hide .body__splash-filler {
  transform: scale(3500%);
}

.body__splash-logo {
  position: relative;
  background-color: var(--background-primary-a-enabled);
  border-radius: 24px;
  height: 100%;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  background-image: url("../img/icons/life-logo.svg");
}

.body__name {
  -webkit-font-smoothing: antialiased;
  user-select: none;
  font-family: "Proxima Nova", sans-serif;
  transition: margin-top .3s ease;
  margin-top: 12%;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  z-index: 1;
  margin-bottom: 0;
  padding: 0;
}

.body-loading_loaded .body__name {
  margin-top: 24%;
}

.body-loading_hide .body__name {
  margin-top: 50%;
}

.tn-dark-theme {
  .body__splash-wave-item {
    background-color: var(--neutral-40);
  }
}
