/* Globals */

/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}

/* Base structure */
body {
  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: 800px;
}

/* Navigation links */
.nav-link {
  color: #6c757d; /* Grey for inactive links */
}

.nav-link.active {
  color: #198754 !important; /* Green for active links */
  border-bottom: 2px solid #198754;
}

/* Show link styles */
.show-link .text-secondary {
  color: #6c757d; /* Grey for text inside buttons */
}

.show-link:hover .text-secondary {
  color: #fff !important; /* White on hover */
}

/* Preformatted notes */
pre.formatted-notes {
  background: transparent;
  border: none;
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Masthead navigation */
.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  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;
}

/* Hover effect for nav links */
.nav-link:hover {
  color: #fff !important; /* White color on hover */
}

.tab-content {
  min-height: 100vh; /* Set a minimum height to match the viewport */
  overflow: hidden; /* Prevent content overflow from affecting layout */
}

/* Optional: Add padding to avoid content touching the edges */
.tab-pane {
  padding-bottom: 2rem;
}