body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: rgba(255, 255, 255, 0.8);
}

.loader {
  border: 10px solid #f3f3f3; /* Light grey */
  border-top: 10px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* fade out */
.fade-out {
  animation: fadeOut 1s ease-out forwards;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

#app {
  max-width: 640px;
  margin: 3rem auto;
}
@media only screen and (max-width: 1023px) {
  #app {
    margin: 3rem 1rem;
  }
}

#app img {
  max-width: 100%;
  height: auto;

  vertical-align: middle;
}

#app div + div {
  margin-top: 1.5rem;
}
