/* ---------- Reset / Base ---------- */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: #222;
  background-color: #ffffff;
}

/* ---------- Page Container ---------- */

body {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* ---------- Header ---------- */

header {
  text-align: center;
  margin-bottom: 60px;
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;}

header h1 a {
  text-decoration: none;
  color: inherit;
}

header h1 a:hover {
  text-decoration: none;
  color: inherit;
}

nav {
  margin-top: 18px;
}

nav a {
  display: inline-block;
  margin: 0 14px;
  text-decoration: none;
  color: #006400; /* dark green (blackboard feel) */
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #004d00; /* slightly darker green on hover */
}

/* ---------- Main Content ---------- */

main {
  margin-top: 20px;
}

h1 {
  font-weight: 500;
}

h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 18px;
}

h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-weight: 500;
}

p {
  margin: 1.2em 0;
}

ul {
  padding-left: 20px;
  margin: 1em 0;
}

li {
  margin-bottom: 6px;
}

/* ---------- Links ---------- */

a {
  color: #006400; /* blackboard green */
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 550;
}

a:hover {
  color: #004d00; /* darker green on hover */
  text-decoration: underline;
}

/* ---------- Footer ---------- */

footer {
  text-align: left;
  margin-top: 80px;
  font-size: 0.6rem;
  color: #888;
}


/* ---------- Header Image ---------- */

.header-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- About page ---------- */

.about {
  display: flex;
  gap: 40px;
  text-align: left;
  align-items: center;
}

.about-text p {
  margin-top: 0;
}

.about-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 640px) {
.about {
  display: flex;
  flex-direction: column-reverse;
  gap: 25px;
  text-align: left;
  justify-content: left;
  align-items: start;
}

.about-text p {
  margin-top: 0;
}

}

/* ---------- Responsive Adjustments ---------- */

@media (max-width: 640px) {

  .header-image {
    width: 60px;
    height: 60px;
  }

  body {
    padding: 40px 18px;
  }

  header {
    margin-bottom: 40px;
  }

  header h1 {
    font-size: 2rem;
  }

  nav a {
    margin: 0 6px;
  }

  h2 {
    margin-top: 40px;
  }

  .hide-small {
    display: none;
  }
}

@media (min-width: 640px) {
  .hide-large{
    display: none;
  }
}