#loader {
  background: #fff;
  color: #4e4e4e;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#loader > img {
  animation-name: loader;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  width: 200px;
  max-width: 200px;
}

@keyframes loader {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

#loader > span {
  font-family: sans-serif;
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
  font-size: 18px;
  animation-name: loader_text;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

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