* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  background-image: url(/images/error-page-bg.jpg);
  background-size: cover;
  background-position: center;
}

.overlay {
    background-color: #000;
    opacity: 0.6;
    position: absolute;
    width: 100%;
    height: 100%;
}

#error {
  position: relative;
  height: 100vh;
}

#error .error {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.error {
  max-width: 920px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

.error .error-code {
  position: absolute;
  height: 100px;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.error .error-code h1 {
  font-family: 'Maven Pro', sans-serif;
  color: #2d141f82;
  font-weight: 900;
  font-size: 276px;
  margin: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.error h2 {
  font-family: 'Maven Pro', sans-serif;
  font-size: 46px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0px;
}

.error p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 15px;
}

.error .btn {
margin-top: 30px;
  font-family: 'Maven Pro', sans-serif;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  background: #5d5eee;
  display: inline-block;
  padding: 16px 38px;
  border: 2px solid transparent;
  border-radius: 40px;
  color: #fff;
  font-weight: 400;
  transition: 0.2s all;
}

.error .btn:hover {
  background-color: #ffffff00;
  border-color: #5d5eee;
  color: #5d5eee;
  cursor: pointer;
}

@media only screen and (max-width: 480px) {
  .error .error-code h1 {
    font-size: 162px;
  }
  .error h2 {
    font-size: 26px;
  }
}

