html {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  background-color: #232630;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='203' height='208'%3E%3Cpath fill-rule='evenodd' fill='%2320232C' d='M59.082 6.833c25.531-11.619 54.9-7.079 80.804 3.563 22.602 9.285 38.21 28.443 49.64 50.024 10.941 20.659 16.213 43.382 12.024 66.409-4.617 25.38-14.635 50.685-35.972 65.236-22.734 15.504-51.739 19.593-78.346 12.726-26.85-6.932-47.936-25.979-63.02-49.216C8.116 130.779-4.927 102.047 1.83 73.226 8.758 43.675 31.432 19.418 59.082 6.833Z'/%3E%3C/svg%3E");
  background-position: calc(50% - 200px) 30px;
  background-repeat: no-repeat;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}
.error {
  width: 686px;
  height: 700px;
  margin: 30px;
  position: relative;
}
.error.e404 {
  background: url("../images/404.svg") no-repeat;
  background-size: cover;
}
.error.e500 {
  background: url("../images/500.svg") no-repeat;
  background-size: cover;
}
.error.geolimit {
  background: url("../images/geolimit.svg") no-repeat;
  background-size: cover;
}
.error.copyright {
  background: url("../images/copyright.svg?v=2") no-repeat;
  background-size: cover;
}

.error-footer {
  position: absolute;
  left: 0;
  bottom: 70px;
  right: 0;
  padding: 30px;
  text-align: center;
}
.button {
  padding: 14px 32px;
  border-radius: 5px;
  border: 0;
  background-color: #4F71E0;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  display: -webkit-inline-flex;
  display: -ms-inline-flex;
  display: inline-flex;
  text-decoration: none;
}
.button:hover {
  background-color: #5679ea;
}
h1 {
  font-size: 30px;
  margin-bottom: 30px;
  padding-left: 50px;
  padding-right: 50px;
}

@media(max-width:1299px){
  .error {
    width: 490px;
    height: 500px;
    margin: 10px;
  }
  .error-footer {
    bottom: 30px;
  }
  h1 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .button {
    padding: 10px 28px;
  }
}

@media(max-width:575px){
  body {
    background-image: none;
  }
  .error {
    width: 320px;
    height: 326px;
  }
  .error-footer {
    bottom: -15px;
  }
  h1 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .button {
    padding: 8px 24px;
  }
}
