:root {
  --brand: #2a5555;
  --overlay-rgba: rgba(0, 0, 0, 0.85);
  --text-light: #ffffff;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  position: relative;
  background: url("/assets/img/bg.jpg") var(--brand) no-repeat center center / cover;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--brand);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: var(--overlay-rgba);
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.masthead .masthead-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding: 5rem 1rem;
  color: var(--text-light);
  text-align: left;
}

.masthead .masthead-content h1 {
  margin: 0 0 1rem 0;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.05;
  font-family: "Tinos", serif;
  font-style: italic;
}

.masthead .masthead-content p {
  margin: 0 0 2rem 0;
  font-size: 1.2rem;
}

.social-icons {
  position: relative;
  z-index: 2;
}

.social-icons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border-radius: 999rem;
  padding: 0;
  text-decoration: none;
  color: #fff;
  background: #222;
  border: 0;
}

@media (min-width: 992px) {
  .masthead {
    width: 75vw;
    min-height: 100vh;
    align-items: center;
    justify-content: flex-start;
  }

  .masthead::before {
    transform: skewX(-9deg);
    transform-origin: top right;
  }

  .masthead .masthead-content {
    padding: 0 3rem 0 2rem;
  }

  .social-icons {
    position: absolute;
    top: 0;
    right: 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .masthead {
    width: 65vw;
  }

  .masthead .masthead-content h1 {
    font-size: 3.5rem;
  }

  .masthead .masthead-content p {
    font-size: 1.3rem;
  }
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

@media (min-width:992px) {
  .px-lg-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.flex-row {
  flex-direction: row !important;
}

.h-100 {
  height: 100% !important;
}

@media (min-width:992px) {
  .flex-lg-column {
    flex-direction: column !important;
  }
}

.text-white {
  color: var(--text-light) !important;
}

.fst-italic {
  font-style: italic !important;
}

.lh-1 {
  line-height: 1 !important;
}

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.btn-dark {
  background: #111;
  color: #fff;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

@media (pointer:coarse) and (hover:none) {
  body video {
    display: none;
  }
}