@font-face {
  font-family: Archivo Narrow Semi Bold;
  src: url(archivo-narrow-semi-bold.ttf);
}
body {
  font-family: Archivo Narrow Semi Bold;
  font-size: 16px;
  line-height: 1.32;

  background-color: #000000;
  color: #ffffff;
  margin: 40px auto 40px auto;
  width: 1120px;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
header img {
  width: 400px;
}
h1 {
  font-size: 36px;
  font-weight: 600;
}
h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 16px 0;
}
nav {
  font-size: 28px;
  font-weight: 500;
}
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
}
a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0 0 32px;
  transition: margin 0.3s;
}
a:hover {
  color: #d3af37;
}
footer a {
  margin: 0 16px 0 16px;
}
section {
  margin: 80px 0 80px 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 32px;
  grid-auto-flow: dense;
}
section h1 {
  grid-column: 2 / span 10;
  text-align: center;
}
section.project div.artwork {
  grid-column: 1 / span 8;
  text-align: center;
}
section.project img {
  max-height: 640px;
}
section.project div.text {
  grid-column: 9 / span 4;
}
section.project-alt div.artwork {
  grid-column: 5 / span 8;
}
section.project-alt div.text {
  grid-column: 1 / span 4;
}

@media (max-width: 1248px) {
  body {
    width: auto;
    margin: 80px 64px 48px 64px;
  }
  h1,
  nav,
  footer {
    font-size: 24px;
  }
}
@media (max-width: 920px) {
  header {
    flex-direction: column;
  }
  nav {
    margin: 24px 0 0 0;
  }
  header img {
    max-width: 320px;
  }
  header a {
    margin: 0 16px 0 16px;
  }
}
@media (max-width: 660px) {
  section {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 24px;
  }
  section h1,
  section.project div.artwork,
  section.project div.text {
    grid-column: 1 / span 4;
  }
}
@media (max-width: 500px) {
  body {
    margin: 32px 32px 32px 32px;
  }
  header img {
    width: 100%;
  }
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
