html {
    display: table;
    margin: auto;
}

html, body {
    height: 100%;
}

body {
  background-color: #cccccc;
  display: table-cell;
  vertical-align: middle;
  font-family: Garamond, se;
}

.outerbound {
  display: block;
  margin: 4em;
  max-width: 1000px;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: flex-end;
  justify-content: space-between;
  align-items: flex-end;
  margin: 4em 1em 0px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #111111;
}


.nav-item {
  display: grid;
  font-size: 1em;
  grid-template-rows: auto;
}

a[href] {
  text-decoration: none;
}


a:link, a:visited {
  color: rgb(148,148,200);
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a:hover, a:active {
  color: rgb(245,245,245);
}
figure {
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.img {
  text-align: center;
  position: relative;
}

.landscape-card {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-gap: 2em;
  width: 100%;
}

.figure-card {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-gap: 2em;
  width: 100%;
}
.centered_caption {
  text-align: center;
}

.video {
  align-content: center;
}
