:root {
  --default-color: #212529;
  --heading-color: #2d465e;
  --main-color: #0d83fd;
  --light-color: #f3f9ff;
  --red: #c83e3e;
  --green: #6a8921;
  --blue: #107dab;
  --yellow: #fc0;
  --violet: #583d65;
}
html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Roboto;
  src: url('/static/fonts/Roboto/Roboto-Thin.ttf');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('/static/fonts/Roboto/Roboto-Light.ttf');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('/static/fonts/Roboto/Roboto-Regular.ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('/static/fonts/Roboto/Roboto-Medium.ttf');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('/static/fonts/Roboto/Roboto-Bold.ttf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url('/static/fonts/Roboto/Roboto-Black.ttf');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body,
body * {
  margin: 0;
  padding: 0;
  vertical-align: top;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

body {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  font-size: 1.2rem;
  color: var(--default-color);
  background-color: var(--light-color);
}

body main {
  display: grid;
  align-content: start;
  min-height: calc(100vh - 15rem);
}

.section {
  display: grid;
  justify-items: center;
  width: 100%;
  padding: 4rem 1rem;
}
main > .section:first-child {
  padding-top: 10rem;
}

.min-height-100 {
  min-height: 100vh !important;
}
.min-height-90 {
  min-height: 90vh !important;
}
.min-height-80 {
  min-height: 80vh !important;
}
.min-height-70 {
  min-height: 70vh !important;
}
.min-height-60 {
  min-height: 60vh !important;
}
.min-height-50 {
  min-height: 50vh !important;
}

.bg-img {
  --background: '';
  background-image: var(--background);
  background-size: auto;
  background-repeat: repeat-x;
  background-position: bottom left;
}
.bg-img.single {
  background-repeat: no-repeat;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0.7em;
  font-weight: bold;
  line-height: 1.2em;
  color: var(--heading-color);
  text-decoration: none;
}
.h1 {
  font-size: clamp(2.3rem, 10vmin, 4rem);
}
.h2 {
  font-size: clamp(2rem, 8vmin, 3rem);
}
.h3 {
  font-size: clamp(1.5rem, 6vmin, 2rem);
}
.h4 {
  font-size: clamp(1rem, 4vmin, 1.5rem);
}
.h5 {
  font-size: clamp(0.9rem, 3.5vmin, 1.3rem);
}
.h6 {
  font-size: clamp(0.8rem, 3vmin, 1.1rem);
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: Roboto;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
}

.display-1 {
  font-size: calc(1.625rem + 4.5vw);
}
.display-2 {
  font-size: calc(1.575rem + 3.9vw);
}
.display-3 {
  font-size: calc(1.525rem + 3.3vw);
}
.display-4 {
  font-size: calc(1.475rem + 2.7vw);
}
.display-5 {
  font-size: calc(1.425rem + 2.1vw);
}
.display-6 {
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  .display-1 {
    font-size: 5rem;
  }
  .display-2 {
    font-size: 4.5rem;
  }
  .display-3 {
    font-size: 4rem;
  }
  .display-4 {
    font-size: 3.5rem;
  }
  .display-5 {
    font-size: 3rem;
  }
  .display-6 {
    font-size: 2.5rem;
  }
}

.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}
.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}
.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}
.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}
.fs-5 {
  font-size: 1.25rem !important;
}
.fs-6 {
  font-size: 1rem !important;
}

@media (min-width: 1200px) {
  .fs-1 {
    font-size: 2.5rem !important;
  }
  .fs-2 {
    font-size: 2rem !important;
  }
  .fs-3 {
    font-size: 1.75rem !important;
  }
  .fs-4 {
    font-size: 1.5rem !important;
  }
}

.bg-light {
  background-color: var(--light-color);
}

.color-main {
  color: var(--main-color);
}

ul,
ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
ul > li,
ol > li {
  margin: 0.5em 0;
  line-height: 1.2em;
}

p {
  font-size: 1.2rem;
  line-height: 1.3em;
}

a {
  color: #35e;
}

img {
  max-width: 100%;
  object-fit: contain;
  user-select: none;
}

.overflow {
  overflow-x: auto;
}

.footnote {
  font-style: italic;
  color: #555;
  font-size: 0.8rem;
}

.spacer {
  width: 100%;
  height: 1rem;
}

.placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background-color: #eee;
  border: 0.3rem dashed #f33;
  box-shadow: 0 0.2rem 0.4rem #0006;
  border-radius: 0.5rem;
}
.placeholder p:first-child {
  font-weight: bold;
  text-transform: uppercase;
}
.placeholder p + p::before {
  content: '- ';
}

[data-collapsed='true'] [data-collapsed-content] {
  display: none;
}

@media (min-width: 36rem) {
  body > main {
    /* min-height: calc(100vh - 7.2rem - 1px); */
    min-height: calc(100vh - 3.2rem - 1px);
  }
}

#subscribe_section {
  background-color: #cfeffc;
  background-size: 18rem;
  background-position: 96% 100%;
}
@media (max-width: 62rem) {
  #subscribe_section {
    padding-bottom: 12rem;
    background-position: 50% 100%;
  }
}
