.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #031a3a;
  transition: opacity 1.25s, visibility 1.25s;
  z-index: 999;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader video {
  width: 600px;
  height: 320px;
}

.loaderText {
  font-family: "Arimo", sans-serif;
  font-size: 3.3em;
  font-weight: bold;
  font-style: italic;
  -webkit-text-stroke: 1px rgb(67, 68, 73);
  text-transform: uppercase;
  background: linear-gradient(to right, #031a3a 50%, white 50%);
  background-size: 200% 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: desplazarColor 5s ease-in infinite;
}

@keyframes desplazarColor {
  0%,
  100% {
    background-position: 200% 0;
  }
  90% {
    background-position: 100% 0;
  }
}

@media (max-width: 760px) {
  .loaderText {
    font-size: 1.5em;
  }
  .loader video {
    width: 300px;
    height: 160px;
  }
}

@media (max-width: 365px) {
  .loaderText {
    font-size: 1em;
  }
  .loader video {
    width: 260px;
    height: 120px;
  }
}
