@import '../../styles/index';

.loader-container {
  margin: 0 auto;
  flex: 1;
  display: flex;
  height: 100vh;
  width: 100vw;

  align-items: center;
  justify-content: center;
  background-image: url('../../images/loader.gif');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70px;

  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}
