/* RESET/GLOBAL */
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  /* Now 10px = 1rem! */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: var(--line-height);
}

ul {
  list-style-type: none;
}

strong, b {
  font-weight: bold;
}

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

a {
  color: currentColor;
  text-decoration: underline;
}

.color {
  color: var(--color--override, #000);
}

.projects__grid, .main-content, .header--info .header__links, .header .header__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: var(--margin);
  grid-row-gap: calc(2 * var(--margin));
}
@media screen and (max-width: 768px) {
  .projects__grid, .main-content, .header--info .header__links, .header .header__links {
    grid-template-columns: 1fr;
  }
}

:root {
  --font-size: 1.8rem;
  --font-size--mobile: 1.6rem;
  --line-height: 1.45;
  --margin: 2.5rem;
  --margin--mobile: 1.6rem;
  --font-family: "Space Mono", monospace;
}
@media screen and (max-width: 768px) {
  :root {
    --margin: var(--margin--mobile);
    --font-size: var(--font-size--mobile);
  }
}

.header--info, .header {
  margin-top: var(--margin);
  margin-left: var(--margin);
  margin-right: var(--margin);
}
.header--info .header__links a, .header .header__links a {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .header .header__links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}
.header .header__links .header__links__additional {
  text-transform: uppercase;
}

.header--info .header__links .header__links__home {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.header--info .header__links .header__links__additional__container {
  display: flex;
  flex-direction: column;
}

.layout-wrapper {
  margin-left: var(--margin);
  margin-right: var(--margin);
  margin-bottom: var(--margin);
  margin-top: calc(3 * var(--margin));
}

@media screen and (max-width: 768px) {
  .main-content {
    grid-row-gap: calc(2 * var(--margin));
  }
}

.text p, .text figure, .text ul, .text ol {
  margin-top: 1em;
}
.text p + p {
  margin-top: initial;
  text-indent: calc(2 * var(--margin));
}
.text hr {
  display: none;
}
.text blockquote {
  padding-left: 4em;
  padding-right: 4em;
}
.text img {
  display: block;
  width: 100%;
}
.text *:first-child {
  margin-top: initial;
}

.slideshow__container {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.slideshow__container .slideshow {
  width: 100%;
  height: 100%;
}
.slideshow__container .slideshow .slideshow__slide {
  width: 100%;
  height: 100%;
}
.slideshow__container .slideshow .slideshow__slide .slideshow__slide__image, .slideshow__container .slideshow .slideshow__slide .slideshow__slide__video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.slideshow__container .slideshow .slideshow__slide .slideshow__slide__iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.slideshow__caption {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: var(--margin);
}
.slideshow__caption a {
  text-decoration: none;
}
.slideshow__caption .slideshow__caption__cta {
  text-decoration: underline;
}

.projects__grid .project__item a {
  text-decoration: none;
}
.projects__grid .project__item .project__image__container {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 4:3 Aspect Ratio */
}
.projects__grid .project__item .project__image__container .project__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects__grid .project__item .project__title {
  margin-top: 1em;
}

.project__medias {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: calc(2 * var(--margin));
  grid-column-gap: calc(1 * var(--margin));
  margin-top: calc(2 * var(--margin));
}
@media screen and (min-width: 1300px) {
  .project__medias {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 1300px) {
  .project__medias .project__media {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
  }
}
.project__medias .project__media .project__media__source {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (min-width: 1300px) {
  .project__medias .project__media .project__media__source {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top left;
  }
}
