/* Reset */
/* ----------------------------------- */
::selection {
  background-color: rgba(0, 0, 0, 0);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

figure {
  padding: 0;
  margin: 0;
}

img {
  width: 100%;
  vertical-align: top;
}

h1, h2 {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* General */
/* ----------------------------------- */
:root {
  --color-dark-grey: rgb(75,75,75);
  --color-grey: rgb(140,140,140);
}

html {
  font-family: Arial;
  font-size: 20px;
  background: var(--color-grey);
  color: black;
  line-height: 1.275;
  overscroll-behavior: none;
}

img {
  width: 100%;
}

/* Body Text */
/* ----------------------------------- */
.BodyText {
  padding: 0.5rem;
  max-width: 900px;
  margin: auto;
  margin-top: 4rem;
}
.BodyText h2 {
  margin-top: 2rem;
}
.BodyText a:hover {
  color: white;
}

/* DOM Scene */
/* ----------------------------------- */
.DOMScene.is-active {
  background: black;
}

.DOMScene:not(.is-active) {
  color: black;
}

.DOMScene:not(.is-active) main {
  opacity: 0;
}

/* Figure */
/* ----------------------------------- */
.Figure {
  position: relative;
}
.Figure img {
  width: 100%;
  height: 100%;
}
.Figure[data-colspan="1"] {
  grid-column: span 1;
}
.Figure[data-colspan="2"] {
  grid-column: span 2;
}
.Figure[data-colspan="3"] {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .Figure {
    grid-column: span 1 !important;
  }
}

.Figure-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem;
  opacity: 0;
}

/* Gallery */
/* ----------------------------------- */
.Gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 2rem;
}
@media (max-width: 900px) {
  .Gallery {
    grid-template-columns: 1fr;
  }
}

/* Gap */
/* ----------------------------------- */
@media (max-width: 900px) {
  .Gap {
    display: none;
  }
}

/* GL Scene */
/* ----------------------------------- */
.GLScene {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}

.GLScene.is-active {
  visibility: visible;
}

/* Nav */
/* ----------------------------------- */
.Nav {
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  color: var(--color-dark-grey);
  mix-blend-mode: difference;
  flex-wrap: wrap;
}

.Nav--home {
  position: sticky;
  top: 0;
  z-index: 1;
}

.Nav-item {
  color: var(--color-dark-grey);
  display: flex;
}
.Nav-item.is-active, .Nav-item:hover {
  color: white;
}

.Nav-group {
  display: flex;
  gap: 0 0.25rem;
}

@media (max-width: 900px) {
  .Nav-group {
    justify-content: center;
    flex: 0 0 100%;
  }
}
.Nav .DOMText {
  padding-right: 0.2rem;
}

.DOMScene:not(.is-active) .Nav {
  color: white;
}
.DOMScene:not(.is-active) .Nav-item {
  color: white;
}
.DOMScene:not(.is-active) .Nav-item.is-active, .DOMScene:not(.is-active) .Nav-item:hover {
  color: black;
}

/*# sourceMappingURL=main.css.map */
