
html,
body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  color: #fff;        
  height: 100%;
  overflow-x: hidden; 
}

body:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85),
    rgba(20, 20, 20, 0.85)
  );
  z-index: 1;
}

.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;
}

@media (pointer: coarse) and (hover: none) {
  body {
    background: url("../assets/img/bg-mobile-fallback.jpg") no-repeat center center / cover;
  }
  body video {
    display: none;
  }
}


.masthead {
  position: relative;
  width: 100%;
  height: 100vh;       
  overflow: hidden;    
  z-index: 2;          
  display: flex;
  align-items: center; 
  justify-content: center;
}

.masthead:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.masthead .masthead-content {
  position: relative;
  max-width: 40rem;
  margin: 0 1rem;      
  text-align: center;  
}

.masthead .masthead-content h1 {
  font-size: 2.5rem;          
  font-family: "Tinos", serif;
  margin-bottom: 1rem;
  font-weight: 100;
}


@media (max-width: 576px) {
  .masthead .masthead-content h1 {
    font-size: 1.5rem; 
  }
}

.masthead .masthead-content p {
  font-size: 1.2rem;
  font-family: "Tinos", serif;
  margin: 0.5rem 0; 
}

.masthead .masthead-content p strong {
  font-weight: 800;
}

/* Link Styling */
.masthead .masthead-content a {
  color: inherit;           
  text-decoration: none;
}
.masthead .masthead-content a:hover {
  text-decoration: underline;
}
.links:hover {
  color: #4ac5fe;
}

/* Utility Class for Blue Text if needed */
.disc {
  color: #4ac5fe;
}

@media (min-width: 992px) {
  .masthead {
    width: 75vw;
  }
  .masthead:before {
    transform: skewX(-9deg);
    transform-origin: top right;
  }
  .masthead .masthead-content {
    text-align: left;
    margin: 0;
    padding: 0 2rem; 
  }
}

@media (min-width: 1200px) {
  .masthead {
    width: 65vw; 
  }
}
