body {
  background-color: black;
  color: #fff;
  text-align: center;
  font-family: Playfair Display;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
}
img.logo {
  max-width: 500px;
  width: 80%;
  height: auto;
  margin: 20px auto;
  display: block;
}
h1 {
  font-family: "Playfair Display";
  font-size: 2.5rem;
  color: white;
}
p {
  font-family: "Playfair Display";
  font-size: 1.5rem;
  margin-top: 10px;
  color: white;
}
a {
  color: white;
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.6rem;
  }
  p, a {
    font-size: 1rem;
  }
}
img.cog {
  width: 50px;
  height: 50px;
  margin-top: 10px;
}
.loader {
  border: 3px solid #333;
  border-top: 3px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1.5s linear infinite;
  display: inline-block;
  margin-top: 20px;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
.loader-container {
  position: relative;
  width: 200px;
  margin: 30px auto;
}

.percentage {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: "Playfair Display";
  font-size: 1rem;
  color: white;
  z-index: 2;
}
.bar-loader {
  width: 100%;
  height: 5px;
  background-color: white;
  overflow: hidden;
  position: relative;
}
.bar-loader::before {
  content: '';
  position: absolute;
  left: -50%;
  width: 50%;
  height: 100%;
  background-color: white;
  animation: loading 3s infinite;
}
@keyframes loading {
  0% { left: -50%; }
  50% { left: 100%; }
  100% { left: 100%; }
}
.fade-in-logo {
  opacity: 0;
  animation: fadeIn ease 3s forwards;
}
.fade-in {
  opacity: 0;
  animation: fadeIn ease 5s forwards;
}
.fade-in-bar {
  opacity: 0;
  animation: fadeIn ease 7s forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
