/* primary */
/* primary hover */
/* dark */
/* light */
/* light hover */
/* accent */
/* accent hover */
.error-page {
  text-align: center;
  width: 100%;
}

.error-page__main {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 16px 0;
}

.error-page__header {
  display: flex;
  flex-flow: column;
  align-items: center;
  font-size: 24px;
  line-height: 1.2;
}

.error-page__header-number {
  color: var(--primary-color);
  font-size: 170px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -1.7px;
}

.error-page__header-text {
  color: #686868;
  font-size: 28px;
  font-weight: 500;
  text-transform: lowercase;
  margin-top: -32px;
}

@media (min-width: 1024px) {
  .error-page__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    align-items: center;
  }
  .error-page__button {
    display: inline-block;
    vertical-align: top;
    width: 172px;
  }
  .error-page__main {
    border-radius: 20px;
    background-color: #fff;
    padding: 80px 32px;
  }
}
@media (max-width: 1023px) {
  .error-page__main {
    flex-flow: column;
    gap: 46px;
    margin: 24px 0 48px;
  }
  .error-page__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .error-page__header {
    font-size: 18px;
  }
  .error-page__image {
    height: auto;
  }
  .error-page__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 195px;
  }
  .error-page__header-number {
    font-size: 120px;
    letter-spacing: -1.2px;
  }
  .error-page__header-text {
    font-size: 20px;
    margin-top: -23px;
  }
}