body {
  position: relative;
  height: calc(100vh - 20px);
}
header {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px 0;
  padding: 10px 0;
  border-bottom: solid 1px black;
}
header div {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: baseline;
}

address {
  font-family: var(--mono);
  font-style: normal;
}

h1 {
  margin: 0;
  padding: 0;
  font-family: serif;
  font-size: 20px;
  font-weight: bold;
}
h1 span {
  font-family: sans-serif;
  font-weight: normal;
}

.projects-list {
  width: calc(100vw - 50px);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.project {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 5px 0;
  border-bottom: solid 1px black;
  list-style-type: none;
}
.project a {
  display: flex;
  gap: 5px;
  flex-direction: row;
  text-decoration: none;
}
.project:has(a:hover) {
  background-color: var(--color);
  font-family: var(--medium);
}
.project time {
  margin: 0;
  padding: 0 10px;
  border: solid 1px black;
  font-family: var(--light);
}
.project address {
  /*border-top: solid 1px black;*/
}
.project cite {
  border-bottom: solid 1px black;
}
.project address,
.project cite {
  font-style: normal;
}

.jumble-container {
	width: 80vw;
	height: 80vh;
	position: absolute;
	top: 10vh;
	left: 10vw
}
.jumble-container img {
	z-index: 0;
	max-width: 300px;
	position: absolute;
	display: block;
	border: solid 1px black;
}

/* SMALL SCREENS {{{ */
@media only screen and (max-width: 980px) {
  body {
    font-size: 16px !important;
    max-width: 100vw !important;
    height: auto !important;
    margin: 10px !important;
  }
  header {
    padding-bottom: 5px !important;
    padding-top: 0 !important;
    font-size: 14px !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }
  header div {
    flex-direction: column !important;
    gap: 0 !important;
  }
  header + header {
    flex-direction: row !important;
    padding-bottom: 1px !important;
  }
  nav .dir {
    padding: 0 !important;
    font-size: 20px !important;
  }
  nav a {
    padding: 5px 0 !important;
  }
  .project-page header {
    flex-direction: column !important;
  }
  .projects-list {
    width: 100% !important;
    margin: 0 !important;
  }
  .project {
    display: inline !important;
    padding: 2px 0 !important;
    border-bottom: none !important;
  }
  .project::before {
    content: "→" !important;
    font-size: 20px !important;
  }
  .project a {
    display: inline !important;
  }
  .project cite {
    margin: 0 !important;
  }
  .project time {
    display: none !important;
  }
  .project address {
    font-size: 12px !important;
    padding-top: 5px !important;
    border-top: none !important;
  }
  h2 {
    font-size: 12px !important;
    margin: 0 !important;
  }
  .jumble-container {
    display: none !important;
  }
  .project-gallery {
    display: flex !important;
    flex-direction: column !important;
    width: 100vw !important;
    margin: 0 !important;
  }
  .project-description {
    display: block !important;
    position: static !important;
    order: -1 !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }
  .project-gallery figure {
    display: block !important;
    position: static !important;
    margin: 0 0 10px 0 !important;
  }
  .project-gallery .jumble-img {
    position: static !important;
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
    height: auto !important;
  }
  .project-gallery .jumble-caption {
    display: inline !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 5px 0 !important;
  }
}
/* }}} */
