:root {
  --black-grey: #020202;
  --off-white: #FBFBFB;
  --accent-red: #BB202B;
  --spacer: 24px;
  --page-width: 1200px;
  --font-family-body: "IBM Plex Sans", sans-serif;
  --font-family-title: "Inter", sans-serif;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-family-body);
  font-weight: 400;
  font-style: normal;
  color: var(--black-grey);
  hyphens: auto;
}

body:has(.lp-slideshow) {
  overflow: hidden;
}

#main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  font-weight: 500;
}

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

.main-section {
  width: 100%;
}

.full-width {
  width: var(--page-width);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
}

figure {
  margin: 20px 0px;
  padding: 0;
}

figure > img {
  width: 100%;
}

figure .extra-large, .extra-large > figcaption {
  width: 85%;
}

figure .large, .large > figcaption {
  width: 65%;
}

figure .medium, .medium > figcaption {
  width: 50%;
}

figure .small, .small > figcaption {
  width: 35%;
}

figcaption {
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (width >= 1500px) {
  :root {
    --page-width: 1400px;
  }
}
/* Laptop, minimised */
@media (width <= 1250px) {
  :root {
    --page-width: 1100px;
  }
}
@media (width <= 1150px) {
  :root {
    --page-width: 1000px;
  }
}
@media (width <= 1050px) {
  :root {
    --page-width: 900px;
  }
}
@media (width <= 950px) {
  :root {
    --page-width: 92vw;
  }
}