@import "global.min.css";

.error .container {
  padding: 101px 50px 120px
}

.out {
  background-image: url("https://osobinka.su/images/global/order-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 152px 86px 163px 135px;
  border-radius: 50px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-height: 610px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end
}

.info {
  max-width: 420px;
  margin-right: 20px
}

.error-title {
  color: #fff;
  line-height: 59px;
  margin-bottom: 46px
}

.error-button {
  padding: 19px 20px;
  width: 260px;
  height: 60px;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}

.num {
  color: #fff;
  font-family: "Raleway";
  font-weight: 800;
  font-size: 400px;
  position: relative;
  top: 40px
}

@media screen and (max-width: 1449px) {
  .header {
    padding-top: 20px;
    padding-bottom: 20px
  }

  .error {
    padding-top: 138px
  }

  .error .container {
    padding: 0 15px 90px
  }

  .out {
    padding: 0 80px 140px 100px
  }

  .info {
    max-width: 360px;
    margin-right: 20px
  }

  .big-title {
    font-size: 42px
  }

  .num {
    font-size: 350px;
    top: 20px
  }
}

@media screen and (max-width: 1200px) {
  .error .container {
    padding-bottom: 60px
  }

  .out {
    padding: 40px 60px 120px 80px
  }

  .big-title {
    font-size: 39px
  }

  .num {
    font-size: 280px;
    top: 0
  }
}

@media screen and (max-width: 1024px) {
  .error .container {
    padding-bottom: 30px
  }

  .out {
    padding: 40px 80px 140px 80px
  }

  .big-title {
    font-size: 32px
  }

  .error-title {
    line-height: 48px;
    margin-bottom: 40px
  }
}

@media screen and (max-width: 950px) {
  .info {
    max-width: 300px;
    line-height: 1
  }

  .out {
    padding: 40px 80px 100px 80px
  }

  .num {
    font-size: 240px
  }
}

@media screen and (max-width: 850px) {
  .error {
    padding-top: 160px
  }

  .error .container {
    padding: 0
  }

  .out {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-height: unset;
    padding: 81px 10px 152px;
    border-radius: 0
  }

  .info {
    max-width: unset;
    margin-right: unset
  }

  .error-title {
    text-align: center
  }

  .main-action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
  }

  .num {
    font-size: 200px;
    margin-bottom: 56px
  }
}

@media screen and (max-width: 483px) {
  .error {
    padding-top: 85px;
  }

  .out {
    padding-top: 165px
  }

  .big-title {
    font-size: 26px;
    line-height: 31px;
    margin-bottom: 34px
  }

  .big-title span {
    display: none
  }
}
