html {
  background-color: #ffffff;
  box-sizing: border-box;
}

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

body,
html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-y: scroll;
}

a, ul, li, p, h1, h2, h3, h4, img {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: $dark-grey;
}

.page-content {
  max-width: $center-width;
  margin: 0 auto;
}

.simple-header {
  background: $blue-radial-gradient;
  min-height: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  @include md {
    min-height: 280px;
  }

  @include lg {
    height: 360px;
    min-height: 360px;
  }

  .page-content {
    padding: 10px;
  }

  h1 {
    max-width: 640px;
    margin: 0 auto;
    font-size: 3.2rem;
    padding: 0 10px;

    @include lg {
      font-size: 4.8rem;
      padding: 0;
    }
  }

  h5 {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.6);
  }
}

.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  transition: opacity 0.7s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;

  svg {
    width: 150px;
  }

  .splash-animation {
    width: 150px;
    height: 150px;
  }

  &._splash-done {
    pointer-events: none;
    opacity: 0;
  }
}

.rich-content {
  h1, h2, h3, h4 {
    color: $dark-grey;
    margin: 1rem 0;
  }

  p {
    margin: 1rem 0;
    line-height: 2.4rem;
  }

  table {
    width: 100%;
    font-size: 1.4rem;

    @include md {
      font-size: 1.6rem;
    }
  }

  td {
    padding: 6px 0;
  }

  th {
    padding: 6px 0;
    font-weight: 700;
    color: $dark-grey;
    text-align: left;
  }

  .text-center {
    text-align: center;
  }

  .text-right {
    text-align: right;
  }

  blockquote {
    font-size: 1.3rem;
    color: $light-grey;
    padding: 2px 0;
    margin: 0;
  }

  hr {
    border: none;
    border-bottom: 1px solid $border-grey;
  }

  ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 30px;
    margin: 15px 0;
  }

  li {
    margin: 5px 0;
  }

  ol {
    list-style-position: outside;
    padding-left: 20px;
    margin: 15px 0;
  }

  a {
    color: #004390;

    &:hover {
      color: $hover-blue;
    }
  }
}

html:not(.no-js) ._no_aos [data-aos^=fade][data-aos^=fade] {
  opacity: 1;
}
