@font-face {
  font-family: "Monument Grotesk";
  src: url("type/MonumentGrotesk-Regular.woff2") format("woff2"),
    url("type/MonumentGrotesk-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  /* font-display: swap; */
}

@font-face {
  font-family: "Monument Grotesk";
  src: url("type/MonumentGrotesk-Italic.woff2") format("woff2"),
    url("type/MonumentGrotesk-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  /* font-display: swap; */
}

body.home {
  background: url(../img/MatthewBooth.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
}

body.home * {
  color: white;
}

body.home a::after {
  border-bottom-color: white;
}

body.home #return {
  display: none;
}

p a,
nav a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
}

.cv .left {
  position: absolute;
  top: 0;
  left: 0;
}

.cv .right {
  margin-left: min(16vh, 154px);
  padding: 0;
}

.cv .cols {
  position: relative;
}

.cv p.title {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .cv .right {
    margin-left: 80px;
  }
}

nav ul.work,
nav ul.info {
  display: none;
}

body.work nav ul.work,
body.info nav ul.info {
  display: block;
}

body.home nav li.home > a,
body.home nav li.home > a::after,
body.work nav li.work > a,
body.work nav li.work > a::after,
body.notes nav li.notes > a,
body.notes nav li.notes > a::after,
body.info nav li.info > a,
body.info nav li.info > a::after,
body.about nav li.about > a,
body.about nav li.about > a::after,
body.cv nav li.cv > a,
body.cv nav li.cv > a::after,
body.evening nav li.evening > a,
body.evening nav li.evening > a::after,
body.gh nav li.gh > a,
body.gh nav li.gh > a::after,
body.itwc nav li.itwc > a,
body.itwc nav li.itwc > a::after {
  pointer-events: none;
  border: none;
}

body.home nav li.home,
body.work nav li.work,
body.notes nav li.notes,
body.info nav li.info,
body.about nav li.about,
body.cv nav li.cv,
body.evening nav li.evening,
body.gh nav li.gh,
body.itwc nav li.itwc {
  display: inline-block;
  cursor: text;
}

* {
  margin: 0;
  padding: 0;
  color: black;
  line-height: 1.25;
}

body {
  padding: 1vw;
  font-family: "Monument Grotesk", Helvetica, sans-serif;
  font-size: 2.5vh;
  font-size: min(2.5vh, 24px);
  -webkit-font-smoothing: antialiased !important;
}

@media screen and (min-height: 960px) {
  body {
    /* font-size: 36px; */
    font-size: min(2.5vh, 24px);
  }
}

figcaption,
p.caption {
  font-size: min(2vh, 20px);
  text-align: left;
}

ul {
  list-style-type: none;
}

nav {
  /* margin-top: 30px; */
}

nav ul {
  margin-left: 5vw;
  text-indent: -5vw;
}

nav ul li {
  display: inline;
  text-indent: 0;
}

.subnav p {
  margin-left: 5vw;
  text-indent: -5vw;
}

.subnav p a {
  text-indent: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

a {
  display: inline-block;
  position: relative;
}
a::after {
  content: "";
  position: absolute;
  left: 0;
  display: inline-block;
  height: calc(100% - 6px);
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
  /* border-bottom: 2px solid black; */
  margin-top: 3px;
}

a.link_out::after {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.7);
  /* border-bottom: 2px dashed black; */
}

a.no_ul::after {
  /* background-image: none; */
  border-bottom: none;
}

img,
video {
  max-width: 100%;
  max-height: 100vh;
}

figure.install img {
  /* max-height: none; */
}

section {
  width: 100%;
}

section {
  margin: 30px 0;
  /* text-align: center; */
}
figure img {
  margin-top: 5px;
  /* display: block; */
}

figure {
  display: inline-block;
  margin-bottom: 30px;
}

main {
  text-align: center;
  margin-top: 30px;
}

main p,
.cv main {
  text-align: left;
  margin-bottom: 30px;
  max-width: 1200px;
}

body.notes figcaption p {
  margin-bottom: 0;
}

#return {
  display: none;
}

body.notes #return {
  display: inline-block !important;
}

#previous::after,
#next::after {
  border-bottom: none;
}

@media only screen and (max-width: 768px) {
  body {
    padding: 12px;
    font-size: 20px;
  }
  figcaption,
  p.caption {
    font-size: 16px;
  }
  a::after {
    /*height: 1em;*/
  }
}