:root {
  --color-page: #eeeef4;
  --color-text: #999;
  --color-accent: #e43;

  --font-family:
    "Roboto", system-ui, -apple-system, "Segoe UI", arial, sans-serif;
  --weight-thin: 100;
  --weight-light: 300;
  --size-title: 2.25rem;
  --line-height-title: 1.2;
  --line-height-body: 1.6;

  --page-padding-block: 2rem;
  --page-padding-inline: 1.5rem;
  --content-max-width: 40rem;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: var(--page-padding-block) var(--page-padding-inline);
  background-color: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.notice {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  text-align: center;
}

.notice__title {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: var(--size-title);
  font-weight: var(--weight-thin);
  line-height: var(--line-height-title);
}

.notice__gears {
  display: block;
  width: 106px;
  height: 74px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
  fill: none;
  stroke: currentColor;
}

.notice__text {
  margin: 0 0 0.75rem;
  font-weight: var(--weight-light);
}

.notice__text:first-of-type {
  margin-bottom: 0;
}

.notice__text:last-of-type {
  margin-bottom: 0;
}

.site-footer {
  flex: none;
  text-align: center;
  font-size: 0.875rem;
  font-weight: var(--weight-light);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.notice__gear {
  transform-box: view-box;
}

.notice__gear--large {
  transform-origin: 31px 37px;
  animation: gear-spin 3s linear infinite;
}

.notice__gear--small {
  transform-origin: 78px 21px;
  animation: gear-spin-reverse 2s linear infinite;
}

@keyframes gear-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes gear-spin-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice__gear {
    animation: none;
  }
}
