html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #ffc400;
}

.home {
  align-items: center;
  background: #ffffff;
  display: flex;
  min-height: 100vh;
  padding: 32px;
  position: relative;
}

.home__logo {
  animation: logo-reveal 700ms ease-out 1.2s forwards;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: min(760px, 82vw);
  opacity: 0;
  transform: scale(0.985);
  width: 100%;
}

.home::before,
.home::after {
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
  background: #ffc400;
  content: "";
  inset-block: 0;
  pointer-events: none;
  position: fixed;
  width: 50vw;
  z-index: 2;
}

.home::before {
  animation-name: curtain-left;
  left: 0;
}

.home::after {
  animation-name: curtain-right;
  right: 0;
}

@keyframes curtain-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-102%);
  }
}

@keyframes curtain-right {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(102%);
  }
}

@keyframes logo-reveal {
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home::before,
  .home::after {
    animation: none;
    display: none;
  }

  .home__logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
