.error {
  padding-bottom: 9.1875rem;

  position: relative;

  [class~="error-content"] {
    position: absolute;

    top: 130px;
    left: 50%;

    @media screen and (min-width: 640px) {
      top: 215px;
    }

    @media screen and (min-width: 768px) {
      top: 260px;
    }

    @media screen and (min-width: 820px) {
      top: 280px;
    }

    @media screen and (min-width: 1024px) {
      top: 345px;
    }

    transform: translate(-50%, -50%);

    text-align: center;

    [class~="error-number"] {
      font-size: 4rem;
      font-weight: bold;

      @media screen and (min-width: 640px) {
        font-size: 6rem;
      }

      @media screen and (min-width: 820px) {
        font-size: 8rem;

        margin-bottom: 0.75rem;
      }
    }

    [class~="error-title"] {
      font-size: 1rem;

      @media screen and (min-width: 640px) {
        font-size: 1.5rem;
      }

      @media screen and (min-width: 820px) {
        font-size: 2rem;
      }
    }
  }
}
