/* COLORS - converted from SCSS variables */
/* $gray: #808080 and its variations */
/* $background-color: #e7e4e2 */
/* $highlight-color: rgb(71 120 194) */



* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  transition: color 0.125s ease;
}

a:link,
a:visited {
  color: #0d0d0d;
}

a:hover,
a:active {
  color: rgb(71 120 194);
}

body {
  font-family: avenir-lt-pro, sans-serif;
  font-weight: 300;
  color: #343434;
  background-color: #e7e4e2;
  padding: 0 5% 0;
  font-style: normal;
}

div.wrapper {
  margin: 5% auto 0;
  width: 90%;
  max-width: 900px;

  @media (min-width: 900px) {
    width: 75%;
  }

  & img {
    width: 100%;
  }
}

header {
  & h1 {
    color: #000;
    font-size: 3.0rem;
    font-weight: 300;
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 1.0rem;
  }

  & nav {
    display: block;
    font-family: apparat-semicond, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 1.0rem;

    & ul {
      list-style: none;

      & li {
        display: inline-block;
        margin-right: 1.0rem;
      }
    }

    @media (min-width: 900px) {
      display: inline-block;
    }
  }
}

main.about {
  & img {
    width: 100%;
    margin-bottom: 0;
  }

  & p {
    font-size: 1.0rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  & figcaption {
    font-size: 0.66rem;
    text-align: right;
  }

  & a.button {
    padding: 0.125rem 0.25rem;
    border: 1px #808080 solid;

    &:hover,
    &:active {
      background-color: #343434;
      color: #cdcdcd;
    }
  }

  @media (min-width: 900px) {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

div.statement {
  & p {
    font-size: 1.0rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
}

main.works {
  display: inline-flex;
  flex-flow: row wrap;
  justify-content: space-between;
  flex: 0 1 auto;
  row-gap: 20px;

  & h3 {
    text-align: center;
    margin-bottom: 1.0rem;
    font-family: avenir-lt-pro, sans-serif;
    font-weight: 300;
    color: #a6a6a6;
  }

  & figure {
    width: 31%;

    @media screen and (max-width: 900px) {
      width: 48%;
    }

    @media screen and (max-width: 600px) {
      width: 100%;
    }

    & img {
      width: 100%;
      max-width: 100%;
    }

    & figcaption {
      font-size: 0.8rem;
    }
  }
}

main.project {
  & h2 {
    font-size: 2.0rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  & p {
    font-size: 1.0rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
  }

  & figure {
    margin-bottom: 2.0rem;

    & figcaption {
      text-align: center;
      text-wrap: pretty;
      color: #808080;
      line-height: 1.6;
      font-size: 0.9rem;
    }
  }

  & ul {
    list-style: none;

    & li {
      text-align: center;
      margin-bottom: 3.0rem;
      color: #808080;

      & img {
        margin-bottom: 0.5rem;
      }
    }
  }

  & div.small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: masonry;
    gap: 1.0rem;
  }

  & div.video {
    text-align: center;
    margin-bottom: 3.0rem;
    color: #808080;

    & p {
      font-size: 0.9rem;
    }
  }

  & article.poem {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.0rem;
    font-size: 1.25rem;
    line-height: 1.6;

    & div {
      padding: 3.0rem 5.0rem;
    }
  }
}

footer {
  width: 66.7%;
  font-size: 0.75rem;
  color: #808080;
  text-align: center;
  margin: 3rem auto 2rem;
}