/* =========================
   BASIC RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   PAGE STYLING
========================= */
body {
  min-height: 100vh;
  background-color: #dfe4e3;
  font-family: "Inter", sans-serif;
  color: #111111;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

/* =========================
   MAIN CONTENT
========================= */
.container {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Big Oops! */
.oops-heading {
  font-size: 5rem;
  color: #cf0101;
  font-family: "Irish Grover", cursive;
  margin-bottom: 40px;
}

/* Big illustration in the middle */
.main-illustration {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto 45px auto;
}

/* Blue decorative line */
.subheading {
  font-size: 2.3rem;
  color: #3f4f9c;
  font-family: "Henny Penny", cursive;
  font-style: italic;
  font-weight: normal;
  margin-bottom: 45px;
  line-height: 1.3;
}

/* Main black text */
.main-text {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 35px;
}

/* Smaller black text */
.sub-text {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 35px;
}

/* Text link inside sentence */
.sub-text a {
  color: #111111;
  text-decoration: none;
  font-weight: bold;
}

.sub-text a:hover {
  text-decoration: underline;
}

/* LinkedIn icon link */
.linkedin-link {
  display: inline-block;
}

/* LinkedIn icon image */
.linkedin-icon {
  width: 110px;
  height: auto;
  transition: transform 0.2s ease;
}

.linkedin-icon:hover {
  transform: scale(1.05);
}


/* =========================
   FOOTER LOGO
========================= */
.site-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  margin-top: 40px;
}

.footer-logo {
  width: 30%;
  height: auto;
}

/* =========================
   MOBILE ADJUSTMENTS
========================= */
@media (max-width: 600px) {
  .oops-heading {
    font-size: 3.8rem;
    margin-bottom: 30px;
  }

  .main-illustration {
    max-width: 280px;
    margin-bottom: 35px;
  }

  .subheading {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .main-text {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .sub-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .linkedin-icon {
    width: 90px;
  }

  .footer-logo {
    width: 75px;
  }
}