.notfound-page {
  padding-bottom: 6px;
}

.notfound-page__wrap {
  max-width: 1416px;
  margin: 0 auto;
  padding: 65px 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.notfound-page__content {
  max-width: 503px;
  width: 100%;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 18px;
  position: relative;
}

.notfound-page__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: var(--novoe-vremea-black);
  margin: 0;
}

.notfound-page__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: var(--novoe-vremea-black);
  margin: 0;
}

.notfound-page__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--novoe-vremea-primary-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notfound-page__image {
  max-width: 1002px;
  width: 100%;
  margin-top: -50px;
}
.notfound-page__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media all and (max-width: 767px) {
  .notfound-page__title {
    font-size: 20px;
  }
  .notfound-page__text {
    font-size: 16px;
  }
  .notfound-page__image {
    margin-top: 0;
  }
}