* {
  box-sizing: border-box;
}

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

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.website {
  font-size: 24px;
  font-family: var(--website-body-font-family);
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  color: var(--website-text-color);
  background: var(--website-background-color);
  line-height: 1.2;
}

.website h1,
.website h2,
.website h3,
.website h4,
.website h5,
.website h6 {
  font-family: var(--website-title-font-family);
  margin: 0 0 1rem;
}

.ProseMirror a[href] {
  color: var(--website-link-color);
  text-decoration: underline;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: owb-page-out 200ms ease-out both;
  }

  ::view-transition-new(root) {
    animation: owb-page-in 280ms ease both;
  }
}

@keyframes owb-page-out {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  to {
    opacity: 0.88;
    filter: blur(2px);
    transform: translateY(-6px);
  }
}

@keyframes owb-page-in {
  from {
    opacity: 0.74;
    filter: blur(3px);
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
