/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

/*
 * Base structure
 */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #333;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://images.unsplash.com/photo-1663620907875-9ef5887273b3?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-size: cover; /* Ensures the image covers the entire background */
  background-position: center center; /* Centers the image in the middle */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-attachment: fixed; /* Keeps the background fixed during scroll */

  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
  width: 100%; /* Ensure it scales with the viewport */
  padding: 0 1rem; /* Add padding to avoid edge issues */
  box-sizing: border-box; /* Include padding in element's width */
}

/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  color: rgba(255, 255, 255, .75);
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

/*
 * Footer
 */
 .mastfoot {
    color: rgba(255, 255, 255, 0.8); /* Slightly lighter text color for better readability */
    text-align: center; /* Center-align the text */
    padding: 1rem 0; /* Add padding to the top and bottom */
  }
  
  .mastfoot .inner {
    max-width: 60em; /* Restrict width for better readability */
    margin: 0 auto; /* Center the inner content */
  }
  
  .mastfoot p {
    margin: 0; /* Remove default margin */
    font-size: 0.875rem; /* Slightly smaller font size */
  }
  
  .footer-link {
    color: #fff;
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the link stand out */
  }
  
  .footer-link:hover,
  .footer-link:focus {
    text-decoration: underline; /* Underline on hover and focus for better accessibility */
  }
  
