#key-features {
  position: relative;
  overflow-y: clip;

  &:has(.video-wrapper) {
    padding: 210px 0; /* parallax */
  }

  .video-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(((100vw - 1200px) / 2 * -1));
    min-width: 100vw;
    margin: 0 -16px;

    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.2);
    }
  }

  .content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px;
    gap: 68px;

    .content-top {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 18px;

      h1 {
        font-size: 32px;
      }
    }

    .content-table {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      row-gap: 48px;

      &.secondary {
        > .item {
          flex: 1 1 180px;

          > h2 {
            font-size: 28px;
          }
        }
      }

      @media screen and (min-width: 600px) {
        &.secondary {
          justify-content: space-between;

          > .item {
            flex: 0 0 150px;

            &:nth-child(1),
            &:nth-child(4) {
              align-items: flex-start;
              text-align: left;
            }

            &:nth-child(2),
            &:nth-child(5) {
              align-items: center;
              text-align: center;
            }

            &:nth-child(3),
            &:nth-child(6) {
              align-items: flex-end;
              text-align: right;
            }

            > h2 {
              font-size: 28px;
            }
          }
        }
      }

      .item {
        flex: 1 1 250px;
        display: flex;
        flex-direction: column;
        align-items: center;

        h1 {
          font-size: 28px;
        }

        p {
          width: 70%;
        }
      }
    }
  }
}

@media screen and (max-width: 1200px) {
  #key-features {
    .video-wrapper {
      left: 0;
    }
  }
}
