.error-404 {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 220px);
  padding: 80px 0;
  color: var(--text-color);
}
.error-404__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.error-404__code {
  margin-bottom: 16px;
  color: var(--additional-c-elements);
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 800;
  line-height: 0.85;
}
.error-404__title {
  margin: 0 0 18px;
  color: inherit;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}
.error-404__text {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.82;
}
.error-404__text p:last-child {
  margin-bottom: 0;
}
.error-404__button {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .error-404 {
    min-height: calc(100vh - 180px);
    padding: 56px 0;
  }
  .error-404__text {
    font-size: 16px;
  }
}
