main {
  width: 100vw;
  height: 100vh;
  margin-top: 0 !important;
  overflow: hidden;

  .cursor-hidden {
    opacity: 0;
  }

  #page-outer {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: var(--scroll-y);
  }

  .page {
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-margin {
    padding: 16px;
    padding-top: calc(60px + 16px);
  }
}

#page1>.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;

  .video::-webkit-media-controls {
    display: none !important;
  }

  .video::-webkit-media-controls-enclosure {
    display: none !important;
  }

  .video::-webkit-media-controls-panel {
    display: none !important;
  }

  .video::-webkit-media-controls-play-button,
  .video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
  }

  /* 针对Firefox */
  .video::-moz-media-controls {
    display: none !important;
  }
}

#page2>article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;

  @media screen and (max-width: 1024px) {
    flex-direction: column;
    padding: 0 5%;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    user-select: none;

    @media screen and (max-width: 1024px) {
      font-size: 1.5rem;
      text-align: center;
    }
  }

  section {
    width: 50%;
    margin-right: 10%;

    @media screen and (max-width: 1024px) {
      width: 100%;
      margin-right: 0;
    }

    span {
      line-height: 2rem;

      @media screen and (max-width: 1024px) {
        line-height: 1.5rem;
      }

      p {
        font-size: 1.2rem;
        text-indent: 2rem;

        @media screen and (max-width: 1024px) {
          font-size: 1rem;
        }
      }

      a {
        color: var(--color-dark);
        text-decoration: none;
      }
    }
  }

  aside {
    position: relative;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;

    @media screen and (max-width: 1024px) {
      width: 60%;
      margin-top: 2rem;
    }

    img {
      width: 80%;
      object-fit: cover;
    }

    .cube1,
    .cube2 {
      position: absolute;
      width: 50%;
      height: 50%;
      background: var(--color-primary-half);
      z-index: -1;
    }

    .cube1 {
      left: 0;
      top: -10%;
    }

    .cube2 {
      bottom: -10%;
      right: 0;
    }
  }
}

#page3>article {
  height: 100%;
  padding: 10%;
  padding-top: 5%;

  @media screen and (max-width: 1024px) {
    width: 100%;
  }

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    user-select: none;

    @media screen and (max-width: 1024px) {
      font-size: 1.5rem;
      text-align: center;
    }
  }

  section {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: space-around;
    align-items: center;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
    }

    span {
      position: relative;
      width: calc(100% / 4);
      height: 100%;
      padding: 10% 1rem;

      @media screen and (max-width: 1024px) {
        width: 100%;
        pointer-events: none;

        &:nth-child(1) {
          border-radius: 0;
          border-top-left-radius: 4px;
          border-top-right-radius: 4px;
        }

        &:nth-child(4) {
          border-radius: 0;
          border-bottom-left-radius: 4px;
          border-bottom-right-radius: 4px;
        }
      }

      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;

      background: var(--color-light-half);
      box-shadow: 0 0 4px var(--color-primary-half);

      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;

        object-fit: cover;
        filter: blur(4px);
        pointer-events: none;
        z-index: -1;
      }

      h1 {
        height: 2rem;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--color-dark-most);
        user-select: none;

        @media screen and (max-width: 1024px) {
          margin: 0;
        }
      }

      p {
        height: 100%;
        font-size: 1rem;
        text-align: center;
        color: var(--color-dark-most);
        user-select: none;

        @media screen and (max-width: 1024px) {
          display: none;
        }
      }

      &.active {
        width: calc(100% / 4 + 2rem);
      }

      &.deactive {
        width: calc(100% / 4 - 2rem / (4 - 1));
      }

      &:nth-child(1) {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
      }

      &:nth-child(4) {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
    }
  }
}

#page4>article {
  height: 100%;
  padding: 10%;
  padding-top: 5%;

  @media screen and (max-width: 1024px) {
    width: 100%;
  }

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    user-select: none;

    @media screen and (max-width: 1024px) {
      font-size: 1.5rem;
      text-align: center;
    }
  }

  section {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: space-around;
    align-items: center;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
    }

    a {
      position: relative;
      width: calc(100% / 3);
      height: 100%;
      padding: 1rem;

      text-decoration: none;

      @media screen and (max-width: 1024px) {
        width: 100%;

        &:nth-child(1) {
          border-radius: 0;
          border-top-left-radius: 4px;
          border-top-right-radius: 4px;
        }

        &:nth-child(4) {
          border-radius: 0;
          border-bottom-left-radius: 4px;
          border-bottom-right-radius: 4px;
        }
      }

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      background: var(--color-light-half);
      box-shadow: 0 0 4px var(--color-primary-half);

      user-select: none;
      cursor: pointer;

      &:hover {
        --filter: blur(4px) brightness(1.2);
      }

      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;

        object-fit: cover;
        filter: var(--filter, blur(4px));
        pointer-events: none;
        z-index: -1;
      }

      h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;

        text-align: center;
        color: var(--color-dark-most);
        user-select: none;

        @media screen and (max-width: 1024px) {
          margin: 0;
        }
      }

      p {
        font-size: 1rem;
        text-align: center;
        color: var(--color-dark-most);
        user-select: none;

        @media screen and (max-width: 1024px) {
          display: none;
        }
      }

      &.active {
        width: calc(100% / 3 + 2rem);
      }

      &.deactive {
        width: calc(100% / 3 - 2rem / (3 - 1));
      }

      &:nth-child(1) {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
      }

      &:nth-child(3) {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
    }
  }

  a.head-link {
    padding: 1rem 2rem;
    line-height: 2rem;
    text-align: center;

    border: 1px solid var(--color-primary-most);
    border-radius: 1rem;

    color: var(--color-primary-most);
    font-size: 1.5rem;
    font-weight: bolder;
    margin-top: 2rem;
    text-decoration: none;

    @media screen and (max-width: 1024px) {
      padding: 0.5rem 1rem;
      font-size: 1.2rem;
    }

    &:hover {
      color: var(--color-primary);
    }
  }
}

#page5>article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;

  @media screen and (max-width: 1024px) {
    flex-direction: column;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    user-select: none;

    @media screen and (max-width: 1024px) {
      font-size: 1.5rem;
      text-align: center;
    }
  }

  section {
    width: 50%;
    margin-right: 10%;

    @media screen and (max-width: 1024px) {
      width: 100%;
      margin-right: 0;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    span {
      position: relative;
      padding: 1rem 0;

      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;

      h6 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--color-primary);

        @media screen and (max-width: 1024px) {
          display: none;
        }
      }

      a {
        font-size: 1.2rem;
        color: var(--color-primary);
        text-decoration: none;
        transition: color 0.3s;

        &:hover {
          color: var(--color-primary-half);
        }

        @media screen and (max-width: 1024px) {
          width: 100%;
          text-align: center;
        }
      }

      img {
        max-width: 128px;
        object-fit: cover;
        margin: 4px;

        background: var(--color-primary-half);
        border-radius: 4px;
        box-shadow: 0 0 4px var(--color-primary-half);
      }
    }
  }

  aside {
    width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    @media screen and (max-width: 1024px) {
      display: none;
    }

    img {
      width: 80%;
      object-fit: cover;
    }

    .cube1,
    .cube2 {
      position: absolute;
      width: 50%;
      height: 50%;
      background: var(--color-secondary-half);
      z-index: -1;
    }

    .cube1 {
      left: 0;
      top: -10%;
    }

    .cube2 {
      bottom: -10%;
      right: 0;
    }
  }

  p {
    width: 100%;
    line-height: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    user-select: none;

    @media screen and (min-width: 1024px) {
      display: none;
    }
  }
}