.page404 {
  display: flex;
  padding: 10vh 0;
}
@media only screen and (max-width: 700px) {
  .page404 {
    flex-direction: column;
    padding: 2vh 0;
  }
}
.page404-left {
  width: 50%;
}
@media only screen and (max-width: 700px) {
  .page404-left {
    width: 100%;
  }
}
.page404-left h1, .page404-left h2 {
  color: #1D275F;
}
@media only screen and (max-width: 700px) {
  .page404-left h1, .page404-left h2 {
    text-align: center;
  }
}
.page404-left h2 {
  font-size: 28px;
}
.page404-left p {
  margin: 15px 0;
  font-size: 20px;
}
@media only screen and (max-width: 700px) {
  .page404-left p {
    text-align: center;
  }
}
.page404-right {
  width: 50%;
}
@media only screen and (max-width: 700px) {
  .page404-right {
    width: 100%;
  }
}
.page404-right img {
  width: 100%;
  height: auto;
}
.page404-links {
  display: flex;
  flex-wrap: wrap;
}
.page404-links a {
  width: 33%;
  margin: 10px 0;
  margin-right: 8%;
  text-decoration: none;
  color: #1D275F;
  text-align: center;
  padding: 15px 0;
  -webkit-box-shadow: 2px 2px 5px 0px #999;
  -moz-box-shadow: 2px 2px 5px 0px #999;
  box-shadow: 2px 2px 5px 0px #999;
  background-color: white;
  border-radius: 6px;
  border-top: 4px solid #1D275F;
  font-weight: 600;
}
@media only screen and (max-width: 700px) {
  .page404-links a {
    margin: 10px 8%;
  }
}
.page404-links a:hover {
  color: #EC5D35;
  border-color: #EC5D35;
}
.page404-contact {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
@media only screen and (max-width: 700px) {
  .page404-contact {
    margin: 20px auto;
    justify-content: center;
  }
}
.page404-contact span {
  margin-right: 20px;
  border-radius: 70%;
  background-color: #E5F0F6;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page404-contact a {
  text-decoration: none;
  color: #1D275F;
}