body {
  margin: 0;
  height: 100%;
  background: #015292;

  background-size: 100% 100%;
}

.loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid white;
  border-right: 4px solid white;
  border-bottom: 4px solid transparent;
  border-left: 4px solid white;
  width: 24px;
  height: 24px;
  -webkit-animation: spin 1.61803s linear infinite;
  animation: spin 1.61803s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

figure {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.contain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stretch {
  display: block;
  width: 100%;
  height: 100%;
}

.cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-color-scheme: dark) {
  body {
    margin: 0;
    height: 100%;
    background: #015292;

    background-size: 100% 100%;
  }
}
