@font-face {
  font-family: 'Avalon';
  src: url('avalon_regular-webfont.woff2') format('woff2'),
  url('avalon_regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #FFFFFF;
}

#error {
  max-width: 1200px;
  margin: 0 auto;
}

.errorContainer {
  display: flex;
  flex-direction: column;
  padding: 150px 45px 0px 45px;
}

.errorContainer-block .errorContainer-block_title {
  display: flex;
  height: 96px;
  font-family: Avalon;
  font-size: 80px;
  line-height: 96px;
  color: #212121;
}

.errorContainer-block .errorContainer-block_text {
  display: flex;
  margin-top: 20px;
  margin-bottom: 70px;
  height: 108px;
  font-family: Avalon;
  font-size: 36px;
  line-height: 150%;
  color: #212121;
}

.errorContainer-img {
  display: flex;
  justify-content: flex-end;
}

.errorContainer-img img {
  width: 400px;
}


@media (max-width: 960px) {
  .errorContainer {
    max-width: 800px;
  }
  .errorContainer-block .errorContainer-block_title {
    font-size: 60px;
  }
  .errorContainer-block .errorContainer-block_text {
    font-size: 20px;
  }
  .errorContainer-img img {
    width: 350px;
  }
}

@media (max-width: 750px) {
  .errorContainer-block .errorContainer-block_title {
    font-size: 35px;
  }
  .errorContainer-img img {
    width: 300px;
  }
}

@media (max-width: 475px) {
  .errorContainer {
    display: flex;
    flex-direction: column-reverse;
  }
  .errorContainer-block .errorContainer-block_title {
    justify-content: center;
    margin-top: 60px;
    font-size: 30px;
    text-align: center;
  }
  .errorContainer-block .errorContainer-block_text {
    margin: 16px 0px 0px 0px;
    font-size: 16px;
    text-align: center;
  }
  .errorContainer-img {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .errorContainer-block .errorContainer-block_title {
    line-height: 40px;
  }
  .errorContainer-img img {
    width: 250px;
  }
}