.calendar-loading-host {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 auto;
}

.calendar-loading-screen {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: "Fira Sans", system-ui, sans-serif;
  color: var(--main-color-1, #313537);
  background: transparent;
}

.split-calendar-container > .calendar-loading-screen {
  position: absolute;
}

.calendar-loading-screen::before,
.calendar-loading-screen::after {
  display: none;
}

.calendar-loading-screen__strokes-top,
.calendar-loading-screen__strokes-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.calendar-loading-screen__strokes-top {
  top: 0;
  width: min(100%, 748px);
  height: auto;
  max-height: 40%;
  object-fit: contain;
  opacity: 0;
  animation: calendarLoadingStrokesFadeIn 1200ms ease-in-out 120ms forwards;
}

.calendar-loading-screen__strokes-bottom {
  bottom: 0;
  width: min(130%, 1546px);
  height: auto;
  max-height: 40%;
  object-fit: contain;
  opacity: 0;
  animation: calendarLoadingStrokesBottomFadeIn 1400ms ease-in-out 220ms forwards;
}

.calendar-loading-screen__logo {
  position: relative;
  z-index: 1;
  width: 112px;
  height: auto;
  display: block;
  opacity: 0;
  transform-origin: center center;
  filter: brightness(0) saturate(100%);
  animation: calendarLoadingFadeIn 900ms ease-in-out forwards, calendarLoadingLogoLoop 7.2s ease-in-out 1s infinite;
}

.calendar-loading-screen__text {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--main-color-1, #313537);
  opacity: 0;
  animation: calendarLoadingFadeIn 1100ms ease-in-out 120ms forwards;
}

.calendar-loading-screen__dots::after {
  content: "...";
  display: inline-block;
  width: 0;
  overflow: hidden;
  position: relative;
  top: 4px;
  text-align: left;
  animation: calendarLoadingDots 2.8s ease-in-out infinite;
}

@keyframes calendarLoadingFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes calendarLoadingStrokesFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.55;
  }
}

@keyframes calendarLoadingStrokesBottomFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}

@keyframes calendarLoadingDots {
  0% {
    width: 0;
  }

  50% {
    width: 1.2em;
  }

  100% {
    width: 0;
  }
}

@keyframes calendarLoadingLogoLoop {
  0% {
    transform: rotate(0deg) scale(1);
  }

  20% {
    transform: rotate(90deg) scale(0.64);
  }

  50% {
    transform: rotate(90deg) scale(0.64);
  }

  70% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}
