@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Rubik:wght@300..900&display=swap');
body {
	margin:0;
	padding:0;
}
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
    display:none;
}
body {
	line-height:1;
}
div,h1,h2,h3,h4,h5,h6,p {
	margin:0;
	padding:0;
}
h1,h2,h3,h4,h5,h6,strong,b,i {
	font-size:100%;
	font-weight:normal;
  font-style: normal;
}
/* error content */
.error-content-img{
    position: absolute;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: hidden;
}
.error-content{
    position: absolute;
    display: block;
    visibility: visible;
    left: 0;
    right: 0;
    top: 58px;
    animation: move 3s cubic-bezier(.55,0,.1,1) both, moveBox 10s ease-in-out infinite;
}
.error-content h4 {
	z-index: 9;
	white-space: nowrap;
	font-size: 120px;
	line-height: 115px;
  font-family: "Rubik", sans-serif;
	font-weight: 700;
	color: rgb(255, 255, 255);
	letter-spacing: -8px;
	text-align: center;
	border-width: 0px;
	margin: 0px;
	padding: 0px;
	filter: blur(0px);
	opacity: 1;
	transform: translate3d(0px, 0px, 0px);
	transform-origin: 50% 50% 0px;
	text-transform: uppercase;
	text-shadow: 2px 2px 0px #c41c7ad6, 3px -1px 0px #ffb556a8;
}

.error-content-img .astronaut-img {
	position: absolute;
	display: block;
	visibility: visible;
	left: 0;
  right: 0;
  text-align: center;
	top: 238px;
	z-index: 11;
	transform: matrix(1, 0, 0, 1, 0, 0);
  transform-style: preserve-3d;
  animation: move 1.2s cubic-bezier(.55,0,.1,1) both,
             floatUpDown 5s ease-in-out infinite;
}
.error-content-img .astronaut-img img{
    max-width:600px;
    width: 100%;
    height: auto;
}
.home-btn  {
	position: absolute;
	display: block;
	visibility: visible;
	left: 0;
  right: 0;
  text-align: center;
	top: 580px;
	z-index: 12;
}
.home-btn a{
  z-index: 12;
  white-space: nowrap;
  font-size: 17px;
  line-height: 17px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  font-family: "Comic Neue", cursive;
  letter-spacing: 5px;
  cursor: pointer;
  text-align: inherit;
  filter: blur(0px);
  opacity: 1;
  transform: translate3d(0px, 0px, 0px);
  transform-origin: 50% 50% 0px;
  text-decoration: none;
  box-shadow: rgb(153, 153, 153) 0px 0px 0px 0px;
}

.gallaxy-img{
  position: absolute;
  top:490px;
  left:0;
  right: 0;
  text-align: center;
  transform-style: preserve-3d;
  animation:move 4s cubic-bezier(.55,0,.1,1) both, moveBox 12s ease-in-out infinite;
}

.gallaxy-img img{
  width: 407px;
  height: auto;
}

/* laptop device */
@media only screen and (max-width:1366px) {
  .error-content h4 {
    font-size: 90px;
    line-height: 70px;
  }
  .gallaxy-img{
    top:365px;
  }
  .gallaxy-img img{
    width: 308px;
  }
  .home-btn  {
    top: 429px;
  }
  .gallaxy-img {
    top: 365px;
  }
  .error-content-img .astronaut-img {
    top:145px;
  }
}

@media only screen and (max-width: 1280px) {
  .moon {
    max-width: 460px;
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
    top: 8%;
  }
}

/* tablet device */
@media only screen and (max-width: 991px) {

}
/* mobile device */
@media only screen and (max-width: 570px) {
  .error-content {
    top: 76px;
  }
  .error-content-img .astronaut-img {
    top: 170px;
  }
}

@media only screen and (max-width: 490px) {
  .error-content {
    top: 47px;
  }
  .error-content h4 {
    font-size: 75px;
    line-height: 70px;
  }
  .error-content-img .astronaut-img {
    top: 158px;
  }
  .home-btn {
    top: 430px;
  }
  .gallaxy-img {
    top: 362px;
  }
}
@media only screen and (min-width: 379px) and (max-width: 400px) {
  .home-btn {
    top: 390px;
  }
  .gallaxy-img {
    top: 331px;
  }
}
  @media only screen and (min-width: 320px) and (max-width: 380px) {
    .error-content h4 {
      font-size: 65px;
      line-height: 60px;
    }
    .home-btn {
      top: 371px;
    }
    .home-btn a{
      letter-spacing: 4px;
      font-size: 16px;
    }
    .gallaxy-img {
      top: 307px;
    }
    .gallaxy-img img {
      width: 275px;
    }
  }