@font-face {
  font-family: "EmTitle";
  src: url("../assets/EmTitle-Regular.otf") format("opentype");
}

@font-face {
  font-family: "EmHandwriting";
  src: url("../assets/EmHandwriting-Regular.otf") format("opentype");
}

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

body {
  background-color: #FCEBE3;
  font-family: "EmHandwriting", serif;
  color: #7D012F;
}

.title-block {
  text-align: center;
  padding-top: 2.2rem;
}

h1 {
  font-family: "EmTitle";
  font-size: 4rem;
  font-weight: 400;
}

.subtitle {
  font-family: "EmHandwriting";
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.hero-wrapper {
  position: relative;
  max-width: 600px;
  min-width: 600px;
  margin: 0 auto;
}

.hero {
  display: grid;
  width: 100%;
}

.hero img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nav-link {
  position: absolute;
  font-family: "EmTitle";
  color: #7D012F;
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 0.8;
}

.nav-link:hover {
  text-decoration: underline;
}

.link-my-work {
  font-size: 1.8rem;
  top: 327px;
  left: 15px;
}

.link-student-work {
  font-size: 1.6rem;
  top: 316px;
  right: 22px;
  text-align: center;
}

.link-my-garden {
  font-size: 1.5rem;
  top: 436px;
  left: 0px;
}

.link-my-kitchen {
  font-size: 1.3rem;
  top: 416px;
  right: 24px;
}

.link-lesson-plans {
  font-size: 1.73rem;
  top: 610px;
  left: 18px;
  text-align: center;
  letter-spacing: 0.06em;
}

.link-contact {
  font-size: 1.36rem;
  top: 773px;
  left: 250px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.hero-overlay img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 12%;
  margin-top: -12px;
}

.bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.3rem;
  line-height: 1.05;
  max-width: 300px;
  text-align: center;
  margin-top: -60px;
}
