:root {
  --background-color: #2a323c;
  --border-color: #4b6271;
  --active-color: #fcb900;
  /*--header-video-size: calc(100vh - 67px);*/
  --header-video-size: calc(min(calc(100vw * 9 / 16), 120vh) - 20vh);
}

body {
  min-height: 100vh;
  background: var(--background-color);
  padding-top: 200px;
  font-family: 'Libre Franklin', helvetica, arial, sans-serif;
  overflow-x: hidden;
}

body.video-header {
  padding-top: var(--header-video-size);
}

.content-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  background: var(--background-color);
  border-top: 1px solid var(--border-color);
  z-index: 3;
}

.content-wrap.for-links-header {
  border-top: #000000;
}

.content-wrap .wrapper {
  width: 720px;
}

.content-wrap:not(#content) .wrapper {
  width: 990px;
}

.header-video, .header-video-backbox {
  height: calc(var(--header-video-size) + 20vh);
  width: 100%;
  position: fixed;
  top: -10vh;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.header-video-backbox {
  z-index: 1;
  background: url("/assets/img/cropped-3-1.jpg?h=24d5daadfa4162bdf57a6711d8fd2b6c") bottom / cover no-repeat;
}

.header-video-overlay {
  position: absolute;
  top: -150px;
}

.header-video-grad {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--header-video-size) + 10vh);
  pointer-events: none;
  background: linear-gradient(transparent 70%, rgba(20,24,28,0.6) 95%);
  z-index: 2;
}

.header-logo-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 30px 50px;
  margin: 0 -18px;
  height: 150px;
  flex-wrap: wrap;
  max-width: 100vw;
}

.header-logo-box > * {
  padding: 18px;
}

.header-logo-box img {
  height: 100px;
}

.header-logo-box h1 {
  pointer-events: none;
  margin-bottom: 4px;
}

.header-logo-box p {
  margin: 0;
  color: #fff;
  font-weight: 400;
  opacity: 0.8;
  text-transform: capitalize;
  pointer-events: none;
}

.links-header {
  padding: 0 10px;
}

.links-header > * {
  display: inline-block;
  padding: 20px;
}

.links-header a {
  font-size: 16px;
  font-weight: 600;
  color: #cfe1e2 !important;
  text-decoration: none;
  transition: color .1s;
}

.links-header a:hover, body.p-about #hl-about, body.p-gliders #hl-gliders, body.p-resources #hl-resources, body.p-events #hl-events, body.p-how-to #hl-how-to {
  color: var(--active-color) !important;
}

.content {
  position: relative;
  min-height: 100vh;
  background: var(--background-color);
  padding: 50px 30px 120px;
}

h1, h2, h3 {
  color: #fff;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 28px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--active-color);
}

h3 strong {
  font-weight: 800;
}

p, ul, li {
  font-size: 15px;
  color: #cfe1e2;
  margin: 0;
}

.img-wrap {
  text-align: center;
}

p:not(:last-child), ul:not(:last-child), .img-wrap:not(:last-child), .margined-item:not(:last-child) {
  margin-bottom: 24px;
}

li:not(:last-child) {
  margin-bottom: 8px;
}

.inline-video {
  width: 100%;
  height: 371.25px;
}

p a, li a {
  color: var(--active-color) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #cfe1e2;
  text-underline-offset: 3px;
}

.padded-para-item {
  padding: 40px 0;
  text-align: center;
}

.btn {
  border-radius: 100px;
  padding: 12px 20px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 14px;
}

.btn.btn-primary {
  background: var(--active-color) !important;
  border-color: var(--active-color) !important;
  color: #2a323c !important;
}

.item-showcase {
  display: flex;
  justify-content: space-evenly;
  align-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: -5px;
}

.item-showcase > * {
  width: 223px;
  padding: 5px;
}

.header-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
}

p.mini-below-text {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

hr {
  max-width: 100px;
  opacity: 1;
  color: var(--border-color);
  margin: 40px auto 0;
}

hr.full-margin {
  margin: 40px auto;
}

footer {
  position: relative;
  padding: 20px 30px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--background-color);
  z-index: 3;
}

footer p {
  font-size: 12px;
  margin: 0 !important;
}

footer p:not(:last-child) {
  margin-bottom: 4px !important;
}

