* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
	font-family: "Poppins", sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  font-family: 'Inconsolata', monospace;
  min-height: 50px;
}

.heading {
  text-transform: uppercase;
  width: 220px;
  height: auto;
  padding: 25px;
  font-weight: 600;
}

.heading, .container {
  width: 80%;
  margin: auto;
}

.container {
  display: flex;
}

.scarecrow img {
  width: 70%;
  height: auto;
  top: 265px;
  padding-left: 77px;
}

.error {
   font-family: 'Space Mono', monospace;
  width: 70%;
}

.error h2 {
  width: 75%;
  font-weight: 700;
  font-size: 64px;
  line-height: 94px;
  color: #333;
}

.error p {
 
  font-size: 24px;
  line-height: 35px;
  width: 381px;
  height: 108px;
  padding: 7px;
  color: #4F4F4F;
}

button {
  cursor: pointer;
  width: auto;
  height: 68px;
  padding: 9px; 
  border: 1px solid #646464;
  border-radius: 3px;
  color: white;
  background-color: #646464;
  margin-top: 45px;
}

footer {
  color: #BDBDBD;
  font-family: 'Montserrat', sans-serif;
  align-items: center;
  text-align: center;
  line-height: 17.07px;
  font-size: 14px;
   margin-top: auto;
}

.footer-txt p {
  padding: 15px;
  text-align: center;
  min-height: 50px;
  margin-top: auto;
}

.footer-txt a {
  text-decoration: none;
   color: inherit;
}

@media (max-width: 991.9px) { 
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .error h2 {
    width: 100%;
    font-size: 3rem;
    line-height: 100%;
    padding-top: 15px;
  }

  .error p {
    width: 100%;
    font-size: 0.8rem;
    line-height: 150%;
    padding-top: 15px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
  .error h2 {
    width: 100%;
    line-height: 100%;
    padding-top: 15px;
  }

  .error p {
    width: 100%;
    line-height: 150%;
    padding-top: 15px;
  }
}