html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

:root {
  --chorus-white: #ffffff;
  --chorus-dark-gray: #474747;
  --chorus-brown: #9b6f4b;
  --chorus-pink: #fc8fc9;
  --chorus-dark-blue: #576bb1;
  --chorus-light-blue: #c6daff;
  --chorus-turquoise: #187080;
  --chorus-color-accent: #8c0028;
  --chorus-color-accent-light: #a3a3a3;
}

::-webkit-scrollbar {
  display: none;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--chorus-dark-gray);
  text-decoration: none;
}

a:visited {
  color: var(--chorus-dark-gray);
}

a:hover {
  color: var(--chorus-color-accent-light);
}

h1 {
  text-align: center;
  margin-bottom: 1em;
}

h2 {
  text-align: center;
  text-transform: lowercase;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  margin-bottom: 1em;
}

h2 span {
  text-transform: none;
  letter-spacing: 0;
}

p {
  margin-bottom: 1em;
}

img {
  width: 100%;
  display: block;
}

strong,
b {
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 1.5px;
}

em {
  font-style: italic;
}

body {
  font-family: adobe-caslon-pro, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  line-height: 1.4em;
  letter-spacing: 0.4px;
  font-variant-numeric: oldstyle-nums;

  color: var(--chorus-dark-gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  grid-column: 2 / span 1;
  margin-top: 4rem;
  /* margin-bottom: 2rem; */
}

.project-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-style: italic;
}

.prev-project::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 100 100' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23545454;%7D%0A%3C/style%3E%3Cpath class='st0' d='M98.54,44.79H30.55l23.6-35.04c0.58-0.59,1.18-1.47,1.18-2.06s-0.3-0.88-0.88-1.47l-4.12-4.12 c-0.59-0.59-0.89-0.89-1.47-0.89c-0.58,0-1.18,0.59-1.76,1.18L1.52,47.98c-0.88,0.88-1.46,1.47-1.46,2.06 c0,0.59,0.58,1.18,1.18,1.77L46.8,97.66c0.88,0.59,1.47,1.18,2.06,1.18c0.3,0,0.88-0.29,1.18-0.58l4.41-4.12 c0.58-0.59,0.88-0.88,0.88-1.47c0-0.58-0.3-1.18-0.88-2.06L30.56,55.28h67.98c0.81,0,1.47-0.66,1.47-1.47v-7.55 C100.01,45.45,99.35,44.79,98.54,44.79z'/%3E%3C/svg%3E%0A");
  display: inline-block;
  width: 11px;
  height: 11px;
}

.work-with-link::after,
.next-project::after {
  content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23545454;%7D%0A%3C/style%3E%3Cpath class='st0' d='M1.52,55.28h67.99l-23.6,35.04c-0.58,0.59-1.18,1.47-1.18,2.06s0.3,0.88,0.88,1.47l4.12,4.12 c0.59,0.59,0.89,0.89,1.47,0.89c0.58,0,1.18-0.59,1.76-1.18l45.58-45.58c0.88-0.88,1.46-1.47,1.46-2.06c0-0.59-0.58-1.18-1.18-1.77 L53.26,2.4c-0.88-0.59-1.47-1.18-2.06-1.18c-0.3,0-0.88,0.29-1.18,0.58l-4.41,4.12c-0.58,0.59-0.88,0.88-0.88,1.47 c0,0.58,0.3,1.18,0.88,2.06L69.5,44.79H1.52c-0.81,0-1.47,0.66-1.47,1.47v7.55C0.06,54.62,0.71,55.28,1.52,55.28z'/%3E%3C/svg%3E");
  display: inline-block;
  width: 11px;
  height: 11px;
}

.back-link {
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  font-style: normal;
}

.svg-path {
  fill: var(--chorus-dark-gray);
}

.overlay {
  width: 100vw;
  height: 100vh;
  display: block;
  position: fixed;
  z-index: 9999;
  background: linear-gradient(
    0deg,
    rgba(189, 189, 189, 0) 0%,
    rgba(255, 255, 255, 1) 22%,
    rgba(255, 255, 255, 1) 48%,
    rgba(189, 189, 189, 0.25) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media screen and (min-width: 1920px) {
  .logo-svg {
    width: 200px;
  }
}

@media screen and (min-width: 451px) and (max-width: 1140px) {
  .site-container {
    grid-template-columns: repeat(4, 1fr);
  }

  main {
    grid-column: 2 / span 2;
  }

  .home,
  nav {
    grid-column: span 6;
  }
}

@media screen and (max-width: 450px) {
  .site-container {
    grid-template-columns: repeat(2, 1fr);
  }

  body {
    font-size: 1em;
  }

  header {
    position: relative;
    height: auto;
  }

  main {
    grid-column: 1 / span 4;
  }

  .home,
  nav {
    grid-column: span 6;
  }

  .logo-svg {
    width: 125px;
  }

  .work-with-link::after,
  .back-link::before {
    width: 9px;
  }
}
