@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;
}

a {
  text-decoration: none;
}

header,
footer {
  position: relative;
  width: 100%;
  height: 400px;
  text-align: center;
  align-content: center;
  padding: 1.5rem;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.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;
}

.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) {
  .work,
  .row {
    gap: 2rem;
  }

  .row {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }
}
