body {
  /* body is the whole page, things set here apply to everything below unless overridden*/
  margin: 0;
  min-height: 100vh; /* minimum page height */
  background-color: #030404;
  background-image: url("images/bg.png");
  background-repeat: no-repeat; /* repeat-y for tiling */
  background-size: 100% auto; /* fit background to window width */
  background-position: top center;
  /*aspect-ratio: 1920 / 17280; /* this would make the page length fixed*/
  color: #d9d9d9; /* text colour */
  font-family: Montserrat, sans-serif; /* font priority */
}


.intro {
  padding: 2rem clamp(1rem, 4vw, 4rem) 10rem;
  font-size: clamp(1.75rem, 6.5vw, 10rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: left;
  /*text-transform: uppercase; /* all letters uppercase */
  /*font-style: normal; /* italic, normal, oblique */
  /*line-height: 1.2; /* space between lines */
}

h1 {
  margin: 0;
  padding: 0;
  /* same size as .intro */
  font-size: 1em;
}

h1 img {
  height: 1em; /* image matches font size*/
  width: auto;
  vertical-align: middle;
  margin-right: 0.15em;
}

.subtitle {
  margin: 0.0em 0 0;
  padding: 0;
  letter-spacing: 0.2em;
  font-size: 0.333em;
  color: #434343;
}



/*==================================================================================
                                    SOFTWARE
==================================================================================*/
.panel {
  width: fit-content; /* fits text and icons, can set it manually */
  margin: 3em 0 0;
  padding: 0.5em 0.8em;
  background-color: #3a3a3a3b;
  /*backdrop-filter: blur(10px);*/
  border-radius: 0.6em; /* corner roundness*/
  font-size: 0.4em;
  font-family: Inter, sans-serif;
  letter-spacing: 0.08em;
}

.panel img {
  height: 1em;
  width: auto;
  vertical-align: middle;
  margin-left: 0.4em;
}

.panel p {
  margin: 0; /* space around the text*/
}


/*==================================================================================
                                      GRIDS
==================================================================================*/
.work {
  margin: 0;
  /*padding: 0 clamp(1rem, 4vw, 4rem) 3rem; /* side inset matches the header */
  padding: 0 0 3rem 0;
  /* Same size system as .intro, so this title reaches its floor and ceiling at the same window widths */
  font-size: clamp(1.75rem, 6.5vw, 10rem);
  font-weight: 900;
  text-align: center;
}

.work h2 {
  margin-top: 0.0em;
  margin-bottom: 0.0em;
  font-size: 1.2em;
  letter-spacing: 0.6em;
  color: #fff;
  mix-blend-mode: difference; /* other options: exclusion, overlay, screen, multiply */
  text-transform: uppercase;
  /*text-shadow: 0px 0px 0px #fff; */
}

/* separators */
.rule {
  height: 0.60em;
  margin-top: 0em;
  margin-bottom: 0em;
  background-color: #fff;
  /*border-radius: 0em; /* round ends */
  mix-blend-mode: difference;
}

.rulesmall {
  height: 0.20em;
  margin-top: 0.08em;
  margin-bottom: 0.08em;
  background-color: #fff;
  /*border-radius: 0em; /* round ends */
  mix-blend-mode: difference;
}

.shadow {
  height: 8rem;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(to bottom, #000, transparent);
}


.grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns 1fr 1fr 1fr would be three */
  gap: 0.0rem; /* space between images */
}

.grid img,
.grid video {
  width: 100%;
  height: auto;
  display: block;
}

/*==================================================================================
                                      FOOTER
==================================================================================*/

footer {
  padding: 0rem 1rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: #303030;
}
footer a {
  color: inherit;
}