/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: sans-serif;
}



/* Fullscreen canvas */
.hero {
  width: 100%;
  min-height: 100svh;

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

  overflow: hidden;
  background-color: #fff;

  animation: backgroundLoop 4s ease-in-out infinite;
}

/* Responsive logo container */
.logo-wrapper {
  width: min(70vw, 600px);
  max-width: 90%;
}

/* SVG logo */
.logo {
  display: block;
  width: 100%;
  height: auto;

  filter: invert(0);
  animation: logoLoop 4s ease-in-out infinite;
}

/* Background: white -> black -> white */
@keyframes backgroundLoop {
  0%, 100% {
    background-color: #fff;
  }

  50% {
    background-color: #000;
  }
}

@keyframes logoLoop {
  0%, 100% {
    filter: invert(0);
  }

  50% {
    filter: invert(1);
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .logo {
    animation: none;
  }

  .hero {
    background-color: #fff;
  }

  .logo {
    filter: invert(0);
  }
}