.loader {
  align-items: center;
  background-color: var(--primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  color: var(--light);
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  justify-content: center;
  justify-self: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.loader.hidden {
  animation: fadeOut 1s;
  animation-fill-mode: forwards;
}

@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.splash-img {
  width: 200px;
  position: relative;
  z-index: 10;
  animation: loader 2s linear infinite;
}
.splash-subtitle {
  padding-top: 20px;
  animation: loader 2s linear infinite;
}


@keyframes loader {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}