@font-face {
  font-family: 'HelveticaNeueCyrRoman';
  src: url('/fonts/helveticaneuecyr-roman.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* reset css */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  font-family: 'HelveticaNeueCyrRoman', sans-serif;
}

/* */

.error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.error__container {
  width: 840px;
  text-align: center;
  border: 2px solid #1972e754;
  border-radius: 8px;
  padding: 40px;
}

.error__subtitle {
  font-size: 22px;
  color: #ffffff;
  background-color: #1972e7;
  padding: 16px 0;
  text-align: center;
  border-radius: 8px;
}

.error__title {
  color: #1baf6d;
  font-size: 36px;
  text-align: center;
  line-height: 45px;
  margin-top: 60px;
}

.error__row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.error__link {
  color: #1972e7;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  display: inline-block;
  text-decoration: none;
  max-width: 250px;
  transition: 0.2s;

  &:hover {
    color: #1972e7ad;
  }
}

.error__logo-link {
  text-align: center;
  display: block;
  margin-top: 60px;
  border-top: 2px solid rgba(146, 188, 204, .2);
  padding-top: 40px;
}

.error__logo-img {
  width: 130px;
}
