:root {
  --bs-primary: #2a5555;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #000000;
  --bs-body-font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #fff;
  --bs-body-bg: #2a5555;
}

/* General body styles */
body, html {
  height: 100%;
  margin: 0;
  font-family: var(--bs-body-font-family);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

/* Background video */
video.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Overlay to darken video */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bs-dark);
  opacity: 0.7;
  z-index: 1;
}

/* Masthead section */
.masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.masthead-content {
  max-width: 40rem;
  padding: 2rem;
}

.masthead h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

/* Social icons */
.social-icons {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.social-icons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .masthead h1 {
    font-size: 2rem;
  }
  .masthead p {
    font-size: 1rem;
  }
}

@media (pointer: coarse) and (hover: none) {
  video.bg-video {
    display: none;
  }
  body {
    background: url("../assets/img/bg-mobile-fallback.jpg") no-repeat center center;
    background-size: cover;
  }
}
