/*
 * Base structure
 */

body {
    text-shadow: none;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    font-family: 'Courier New', Courier, monospace;
    background-color: #eeeeee !important;
  }

/*
 * Navbar
 */
 .navbar {
    background-color: #eeeeee !important;
 }

 .navbar-transparent {
  background-color: transparent !important;
 }

 .nav-text-container {
  max-width: 90%;
}

.navbar-nav .nav-item {
  margin-left: 15px;
}

.navbar-nav .nav-link {
  color: #413622 !important;
  border-bottom: .25rem solid transparent
}

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

.nav-link {
  color: white;
}

.nav {
  --bs-nav-link-hover-color: gray;
}

a.navbar-brand.nav-link.fw-bold.py-1.px-0.active {
  color: #413622 !important;
}

a.navbar-brand.nav-link.fw-bold.py-1.px-0.active {
  margin-right: 0;
}

/*
 * Jumbotron
 */
.jumbotron {
  margin-bottom: 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #ffffff;
  padding-top: 10rem;
  padding-bottom: 18rem;
  position: relative;
}

.jumbotron::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

.jumbotron h1,
.jumbotron p {
  position: relative;
  z-index: 10;
}

/*
 * Footer
 */
 .my-4 {
  margin: 0rem !important;
}

@media (max-width: 1000px) {
  footer p {
    font-size: 0.65rem;
  }
}

/* Style for image overlays */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}
.overlay img {
  max-height: 80%;
  max-width: 80%;
}


/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #eeeeee !important;
    color: black;
  }

  .navbar {
    --bs-navbar-toggler-border-color: lightgray;
    color: rgba(65, 54, 34, 0.8);
  }
  :root {
    --bs-emphasis-color-rgb: black;
    --bs-secondary-color: gray;
  }

  .card-body {
    background: white !important;
  }
  .card {
    --bs-card-border-color: lightgray;
  } 
}