@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope";
  background-color: #edf1e8;
  color: #0f0f0f;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.1rem;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025rem;
}

p {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.0125rem;
}

.site-info #logo {
  font-weight: 700;
  font-size: 1.05rem;
  font-family: "Inter";
}

.nav-links a {
  font-family: "Inter";
  font-size: 13px;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #fff;
  font-family: "Inter";
  font-size: 13px;
  font-weight: 400;
}

header {
  position: relative;
  width: 100%;
  height: 400px;
  text-align: center;
  align-content: center;
  padding: 1.5rem;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100vw;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.work {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  overflow: hidden;
}

.row {
  flex: 1;
  width: 100%;
  display: flex;
  gap: 1.5rem;
}

.work-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-item-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Zoom in on utopia3.png image */
/* .work-item-img img[src*="utopia3.png"] {
  transform: scale(1.15);
  transform-origin: center center;
} */

.work-item-copy p {
  color: #999;
}

.work-item-link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.work-item-link:hover {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 1000px) {
  /* Navbar adjustments */
  nav {
    padding: 1em 1.5em;
  }
  
  .nav-links {
    gap: 1.2em;
  }
  
  .nav-links a {
    font-family: "Inter";
    font-size: 13px;
    font-weight: 400;
  }
  
  .site-info #logo {
    font-weight: 700;
    font-size: 1rem;
    font-family: "Inter";
  }
  
  /* Header adjustments */
  header {
    height: 300px;
    padding: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  /* Work container adjustments */
  .work {
    gap: 1.5rem;
    padding: 1rem;
    padding-bottom: 120px; /* Extra space for footer */
  }
  
  .row {
    gap: 1.5rem;
    flex-direction: column;
  }
  
  /* Work item adjustments */
  .work-item {
    width: 100%;
  }
  
  .work-item-img {
    aspect-ratio: 16/9; /* Better aspect ratio for mobile */
  }
  
  .work-item-copy h3 {
    font-size: 1.1rem;
  }
  
  .work-item-copy p {
    font-size: 0.9rem;
  }

  /* Footer adjustments */
  footer {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5em;
    font-size: 12px;
  }
}
