:root {
  --title_color: #222;
  --text_color: #444;

  --first_color: #00a9d7;
  --second_color: #253138;
  --third_color: #fff;

  --font-family: "Greycliff CF", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #acacac;
  font-family: var(--font-family);
}
main {
  height: 100vh;
  width: 100vw;
  padding: 3em;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.card {
  position: relative;
}
.card img {
  width: 100%;
}
.card .information {
  position: absolute;
  top: 5.5%;
  left: 14.5%;
  width: 70.9%;
  height: 57.5%;
  display: flex;
}
.img-404 {
  width: 40%;
  display: flex;
  justify-content: center;
}
.text {
  width: 60%;
  display: flex;
  align-items: center;
}
.text .text-card {
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.text h1 {
  margin-bottom: 0.5em;
  font-size: 34px;
  color: var(--title_color);
}
.text p {
  font-size: 18px;
  line-height: 27.9px;
  color: var(--text_color);
  margin-bottom: 1em;
}
.image {
  max-width: 406px;
  margin-right: 2em;
}
button {
  padding: 1rem;
  font-size: 16px;
  font-weight: bold;
  color: var(--third_color);
  background-color: var(--second_color);
  cursor: pointer;
  border: 1px solid var(--first_color);
  transition: 0.3s ease-in-out;
  border-radius: 10px;
  width: 13.2em;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}
button:hover {
  color: var(--first_color);
}
@media only screen and (max-width: 1175px) {
  .text h1 {
    font-size: 28px;
  }
  .text p {
    font-size: 15px;
    line-height: 14.9px;
    margin-bottom: 1em;
  }
  button {
    width: 13.2em;
    padding: 0.7rem;
    font-size: 15px;
  }
}
@media only screen and (max-width: 916px) {
  .text h1 {
    font-size: 20px;
    margin-bottom: 0.2em;
  }
  .text p {
    font-size: 13px;
    margin-bottom: 1em;
  }
  button {
    width: 13.2em;
    padding: 0.5rem 0rem;
    font-size: 12px;
  }
}
@media only screen and (max-width: 800px) {
  main {
    padding: 0;
  }
  .text h1 {
    font-size: 20px;
  }
  .text p {
    font-size: 13px;
    line-height: 14.9px;
    margin-bottom: 0.5em;
  }
  button {
    width: 12em;
    font-size: 11px;
  }
}
@media only screen and (max-width: 598px) {
  .text h1 {
    font-size: 15px;
  }
  .text p {
    font-size: 9px;
    line-height: 12.9px;
    margin-bottom: 0.5em;
  }
  button {
    width: 12.2em;
    font-size: 10px;
  }
}
@media only screen and (max-width: 505px) {
  .text h1 {
    font-size: 10px;
  }
  .text p {
    font-size: 8px;
    line-height: 8px;
    margin-bottom: 0.5em;
  }
  button {
    width: 12em;
    padding: 0.2rem 0rem;
    font-size: 7px;
  }
}
@media only screen and (max-width: 354px) {
  .text h1 {
    font-size: 9px;
  }
  .text p {
    font-size: 7px;
    line-height: 7px;
    margin-bottom: 0.3em;
  }
  .img-404 {
    width: 35%;
  }
  button {
    width: 12em;
    padding: 0.2rem 0rem;
    font-size: 5px;
  }
}
@media only screen and (max-width: 255px) {
  .text h1 {
    font-size: 8px;
  }
  .text p {
    font-size: 6px;
    line-height: 6px;
    margin-bottom: 0.5em;
  }
  button {
    width: 13em;
    padding: 0.2rem 0.1rem;
    font-size: 4px;
  }
  .img-404 {
    width: 30%;
  }
}
@media only screen and (max-width: 216px) {
  .text h1 {
    font-size: 6px;
  }
  .text p {
    font-size: 5px;
    line-height: 5px;
    margin-bottom: 0.5em;
  }
  button {
    font-size: 3px;
  }
}
@media only screen and (max-width: 182px) {
  .text p {
    display: none;
  }
  button {
    margin-top: 2.5em;
    font-size: 2px;
  }
}
