* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  background: linear-gradient(135deg,rgba(255, 255, 255, 0.62) 0,rgba(255, 255, 255, 0.62) 100%),url(../img/new_background_1.jpg) center right;
  background-size: cover;
  background-attachment: fixed;
  padding: 0px 10px;
}

#notfound {
  position: relative;
  height: calc(100vh - 140px);
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 4px;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  margin-bottom: 10px;        
}

.notfound {
  max-width: 520px;
  width: 100%;
  text-align: center;
  line-height: 1.4;
}

.notfound .notfound-404 {
  padding: 0px 0px 23px;
  /*height: 190px;*/
}

.notfound .notfound-404 h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 146px;
  font-weight: 700;
  margin: 0px;
  color: #232323;
}

.notfound .notfound-404 h1>span {
  display: inline-block;
  width: 120px;
  height: 120px;
  background-image: url('../img/logo1.png');
  background-size: cover;
  -webkit-transform: scale(1.4);
      -ms-transform: scale(1.4);
          transform: scale(1.4);
  z-index: -1;
}

.notfound h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  color: #232323;
  margin-bottom: 38px;
}

.notfound p {
  font-family: 'Montserrat', sans-serif;
  color: #585858;
  font-weight: 300;
}

.notfound a {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  padding: 12px 30px;
  font-weight: 700;
  background-color: #0173ba;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
  margin-bottom: 10px;
}

.notfound a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 767px) {
  .notfound .notfound-404 {
    /*height: 115px;*/
  }
  .notfound .notfound-404 h1 {
    font-size: 86px;
  }
  .notfound .notfound-404 h1>span {
    width: 86px;
    height: 86px;
  }
}

.container {
  padding: 10px 15px 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 25px;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

@media only screen and (max-height: 500px) and (max-width: 900px) {
  #notfound {
   height: calc(100vh - 0px);
  }
}