#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  background: #f7f6f4;
}

#preloader > img {
  width: 200px;
  max-width: 50vw;
  margin-bottom: 2rem;
}

#preloader:after {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid #e5e2de;
  border-top-color: #c0491e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loaded #preloader {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s 0.2s ease-out;
}
