@import url('https://fonts.googleapis.com/css2?family=Gluten:wght@700;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Neucha&display=swap');

.container {
  position: absolute;
  top: 0; 
  left: 0; 
  display: inline-block; 
  height: 500px; 
  width: 850px; 
  text-align: center;
  pointer-events:none; 
  overflow:hidden;
}

#preloader {
  background-image: url(res/Background_2.png);
  background-size: cover;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
}

/*Progress bar V1*/
#preloader #progressbar {
  display: flex;
  align-items: center;
  width: 70%;
  height: 10%;
  box-sizing: border-box;
  padding: 0 2%;
  background-color: #ECA40E;
  border-radius: 10px;
}

#preloader #progressbar #progress {
  width: 0%;
  height: 20px;
  background-color: aliceblue;
  border-radius: 5px;
  transition: width 1.5s ease-in-out;
}

p {
  font-family: 'Gluten', cursive;
  font-size: 1.5em;
  color: #fff;
  opacity: 0.9;
}

p:nth-child(3) {
  position: absolute;
  bottom: 2%;
}

@media (prefers-reduced-motion: no-preference) {
  p:nth-child(2) {
    animation: balam-spin infinite 2s linear;
  }
}

@keyframes balam-spin {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.9;
  }
  100%{
    opacity: 0.1;
  }
}
