* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  background: #141414;
}

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

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

.notfound {
  max-width: 410px;
  width: 100%;
  text-align: center;
}

.notfound .notfound-404 {
  height: 280px;
  position: relative;
  z-index: -1;
}

.notfound .notfound-404 h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 210px;
  margin: 0px;
  font-weight: 900;
  position: absolute;
  color: #d7d7d5;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);  
}


.notfound h2 {
  font-family: 'Montserrat', sans-serif;
  color: #d7d7d5;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
}

.notfound p {
  font-family: 'Montserrat', sans-serif;
  color: #d7d7d5;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
  margin-top: 0px;
}

#notfound img{
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  max-width:100%;
  height:auto;
  top: 2%;
  max-width: 220px
}

.notfound a {
  font-family: 'Montserrat', sans-serif;
  color: #FFF;
  font-size: 16px;
  font-weight: 100;
  display: inline-block;
  padding: 18px 39px;
  border: 2px solid #FFF;
  background: #0D47A1;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700

}

.notfound a:hover {
  color: #fff;
  border: 2px solid #FFF;
  background: transparent;
}


@media only screen and (max-width: 767px) {
    .notfound .notfound-404 {
      height: 142px;
    }
    .notfound .notfound-404 h1 {
      font-size: 112px;
    }
}

.hero-page {

  background-size: cover;
  position: relative;
  background-attachment: fixed;
  background-position: center center;
  background-image: url(../images/fondo-404.jpg) }

@media (max-width: 768px) {
  .hero-page{
    background-size: cover;
    background-position: center;
    width: 100%;
    background-size: cover;
    background-position: bottom;
    background-attachment: scroll;
  }
}