@import url('//fonts.googleapis.com/css?family=Open+Sans');

body.error404 {
  color: black;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Verdana, sans-serif;
}

body.error404 canvas {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
}

body.error404 #top-image {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  height: 100vh;
  left: 0;
  background-repeat: no-repeat no-repeat;
}

body.error404 .wrapper {
  margin: 0 auto;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  max-width: 1200px;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

body.error404 .container {
  width: 100%;
  writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  position: relative;
  display: inline-block;
  z-index: 4;
}

body.error404 .error-message {
  width: 100%;
  height: auto;
  text-align: center;
  position: relative;
  margin-top: 50px;
}

body.error404 .error-message h2 {
  color: #fff;
  font-weight: 400;
}

body.error404 .error-buttons a {
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.7s;
}

body.error404 a.back-to-home:hover {
  background: #fff;
  color: #000;
}

body.error404 a.contact-us:hover {
  background: #fff;
  color: #000;
}

body.error404 .error-buttons {
  text-align: center;
  margin-top: 50px;
}

body.error404 #header_image_1 img {
  text-align: center;
  height: 350px;
}

body.error404 #header_image_2 img {
  text-align: center;
  height: 350px;
}

body.error404 #header_image_3 img {
  text-align: center;
  height: 350px;
}

body.error404 #header_image_4 img {
  text-align: center;
  height: 350px;
}

body.error404 .header-image {
  text-align: center;

}

body.error404 #img_overlay_1 {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 3;
  margin: 0;
  padding: 0;
  background: #1B5919;
  background: -webkit-radial-gradient(80% 10%, circle, #1B5919, transparent), -webkit-radial-gradient(80% 50%, circle, rgb(58, 164, 178), transparent), -webkit-radial-gradient(20% 80%, 40em 40em, rgb(14, 4, 56), transparent), -webkit-radial-gradient(10% 10%, circle, #000, transparent);
  background: -ms-radial-gradient(80% 10%, circle, #1B5919, transparent), -ms-radial-gradient(80% 50%, circle, rgb(58, 164, 178), transparent), -ms-radial-gradient(20% 80%, 40em 40em, rgb(14, 4, 56), transparent), -ms-radial-gradient(10% 10%, circle, #000, transparent); /* IE10+ */
  background: -moz-radial-gradient(80% 10%, circle, #1B5919, transparent), -moz-radial-gradient(80% 50%, circle, rgb(58, 164, 178), transparent), -moz-radial-gradient(20% 80%, circle, rgb(14, 4, 56), transparent), -moz-radial-gradient(10% 10%, circle, #000, transparent); /* firefox 3-6+ */
  background: radial-gradient(80% 10%, circle, #1B5919, transparent), radial-gradient(80% 50%, circle, rgb(58, 164, 178), transparent), radial-gradient(20% 80%, 40em 40em, rgb(14, 4, 56), transparent), radial-gradient(10% 10%, circle, #000, transparent);
  opacity: 0.8;
}

body.error404 #img_overlay_2 {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 3;
  margin: 0;
  padding: 0;
  background: #AB9207;
  background: -webkit-linear-gradient(to bottom right, #AB9207, #AD0000);
  background: -o-linear-gradient(to bottom right, #AB9207, #AD0000);
  background: -moz-linear-gradient(to bottom right, #AB9207, #AD0000);
  background: linear-gradient(to bottom right, #AB9207, #AD0000);
  opacity: 0.5;
}

body.error404 #img_overlay_3 {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 3;
  margin: 0;
  padding: 0;
  background: #002f4b;
  background: -webkit-linear-gradient(to bottom right, #002f4b, #dc4225);
  background: -o-linear-gradient(to bottom right, #002f4b, #dc4225);
  background: -moz-linear-gradient(to bottom right, #002f4b, #dc4225);
  background: linear-gradient(to bottom right, #002f4b, #dc4225);
  opacity: 0.7;
}

body.error404 #img_overlay_4 {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 3;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0) -webkit-linear-gradient(top left, rgba(57, 128, 128, 0.88) 0%, rgba(10, 71, 102, 0.88) 100%) repeat scroll 0 0;
  background: rgba(0, 0, 0, 0) -moz-linear-gradient(top left, rgba(57, 128, 128, 0.88) 0%, rgba(10, 71, 102, 0.88) 100%) repeat scroll 0 0;
  background: rgba(0, 0, 0, 0) -o-linear-gradient(top left, rgba(57, 128, 128, 0.88) 0%, rgba(10, 71, 102, 0.88) 100%) repeat scroll 0 0;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom right, rgba(57, 128, 128, 0.88) 0%, rgba(10, 71, 102, 0.88) 100%) repeat scroll 0 0;
}

#cloud1 {
  width: 63px;
  height: 25px;
  background: #e5f3ff;
  position: absolute;
  z-index: 5;
  top: 250px;
  margin: 0;
  border-radius: 50px;
  -ms-transform: translateX(-520px);
  -webkit-transform: translateX(-520px);
  transform: translateX(-520px);
  -webkit-animation: move 15s linear infinite;
  animation: move 15s linear infinite;
  display: block-inline;
}

#cloud1:before {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -39px 0 0 20px;
}

#cloud1:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -15px 0 0 71px;
}

#cloud2 {
  width: 150px;
  height: 35px;
  background: #e5f3ff;
  position: absolute;
  z-index: 6;
  top: 100px;
  margin: 0;
  border-radius: 50px;
  -ms-transform: translateX(-520px);
  -webkit-transform: translateX(-520px);
  transform: translateX(-520px);
  -webkit-animation: move 20s linear infinite;
  animation: move 20s linear infinite;
  display: block-inline;
}

#cloud2:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -70px 0 0 20px;
}

#cloud2:after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -40px 0 0 100px;
}

#cloud3 {
  width: 35px;
  height: 20px;
  background: #e5f3ff;
  position: absolute;
  z-index: 7;
  top: 175px;
  margin: 0;
  border-radius: 50px;
  -ms-transform: translateX(-520px);
  -webkit-transform: translateX(-520px);
  transform: translateX(-520px);
  -webkit-animation: move 30s linear infinite;
  animation: move 30s linear infinite;
  display: block-inline;
}

#cloud3:before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -25px 0 0 20px;
}

#cloud3:after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -9px 0 0 50px;
}

#cloud4 {
  width: 35px;
  height: 20px;
  background: #e5f3ff;
  position: absolute;
  z-index: 8;
  top: 100px;
  margin: 0;
  border-radius: 50px;
  -ms-transform: translateX(-520px);
  -webkit-transform: translateX(-520px);
  transform: translateX(-520px);
  -webkit-animation: move 35s linear infinite;
  animation: move 35s linear infinite;
  display: block-inline;
}

#cloud4:before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -25px 0 0 20px;
}

#cloud4:after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  background: #e5f3ff;
  border-radius: 50%;
  margin: -9px 0 0 50px;
}

@-webkit-keyframes move {
  0% {
    -webkit-transform: translateX(-340px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(1650px);
    opacity: 0;
  }
}

@media only screen and (max-width: 980px) and (min-width: 768px) {
  body.error404 .wrapper {
    max-width: 768px;
  }
}

@media only screen and (max-width: 767px) and (min-width: 481px) {
  body.error404 .wrapper {
    max-width: 481px;
  }
}

@media only screen and (max-width: 480px) and (min-width: 320px) {
  body.error404 .wrapper {
    max-width: 320px;
  }

  body.error404 .error-message h2 {
    font-size: 18px;
  }

  body.error404 .header-image img {
    height: 150px;
  }

  body.error404 #header_image_1 img {
    height: 150px;
  }

  body.error404 #header_image_2 img {
    height: 150px;
  }

  body.error404 #header_image_3 img {
    height: 150px;
  }

  body.error404 #header_image_4 img {
    height: 150px;
  }

}
