html {
  scroll-behavior: smooth; }

.shadow-nav {
  filter: drop-shadow(0 4px 6px rgba(39, 169, 245, 0.35)); }

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  margin-top: 10px;
  margin-bottom: 10px;
  height: 72px; }

.navbar .navbar-brand {
  font-size: 2rem;
  color: #000080;
  padding: 8px 0; }

.navbar-nav .nav-link {
  font-size: 1.1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  color: #343a40; }
  .navbar-nav .nav-link:hover {
    color: rgba(39, 169, 245, 0.25); }

.header-logo {
  height: 48px;
  /* Adjust to your preferred size */
  width: auto;
  margin-left: 2rem; }

.hero-section {
  min-height: 90vh;
  background: url("../img/home.jpg") center/cover no-repeat;
  position: relative; }
  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 1, 96, 0.85) 40%, rgba(0, 0, 0, 0.75) 80%); }

.hero-section-about {
  min-height: 90vh;
  background: url("../img/about.jpg") center/cover no-repeat;
  position: relative; }
  .hero-section-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 20%, rgba(20, 1, 96, 0.85) 80%); }

.container {
  position: relative;
  z-index: 2; }

.page-links {
  position: relative;
  background-color: rgba(39, 169, 245, 0.25); }

.page-links__title a {
  font-weight: normal;
  text-align: left;
  padding: 20px 20px;
  font-size: 2rem;
  color: #000080; }

.page-links li {
  border-top: 2px solid #f4de89;
  margin-left: 20px; }

.page-links li:first-child {
  border-top: none; }

.page-links li a {
  display: block;
  text-align: start;
  text-decoration: none;
  transition: all 0.3s;
  color: #000080; }

.page-links li a:hover {
  color: black; }

.min-list {
  padding: 0;
  margin: 0; }

.min-list li {
  list-style: none; }

.page_item {
  font-size: 2rem;
  font-width: normal;
  text-align: left;
  color: #000080;
  margin-left: 20px; }

#Module-page-links {
  margin-left: 20px; }

#pageTitle {
  background-color: navy;
  border-radius: 25px;
  color: white;
  text-align: center; }

#attribution {
  color: #000080;
  border: 5px solid #000080;
  border-radius: 15px;
  background-color: #fff; }

#QuestionsDock {
  margin-top: 4cqi;
  background-color: navy;
  border-radius: 25px;
  display: grid; }

#btn-Question1,
#btn-Question2,
#btn-Question3,
#btn-Question4,
#btn-Question5,
#btn-Question6,
#btn-Question7,
#btn-Question8,
#btn-Question9,
#btn-Question10,
#btn-Question11,
#btn-Question12 {
  color: white;
  background-color: navy;
  border-radius: 10px;
  padding-top: 10px;
  margin: 40px 40px;
  font-size: 30px;
  text-align: center;
  display: grid;
  border: 6px solid #3ef42d; }

.questionModal {
  background-color: lightgrey;
  font-size: 20px;
  color: navy;
  display: none;
  text-align: left;
  min-width: 500px;
  max-width: auto; }

.questionModal.visible {
  display: block;
  animation: fade-slide-in 0.3s ease-out forwards; }

.table {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #fff;
  border: 4px solid green; }
  .table th,
  .table td {
    padding: 1rem 1.25rem;
    font-size: 1.25rem; }
  .table thead {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    color: #fff; }
    .table thead th {
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase; }
  .table tbody tr:nth-child(even) {
    background-color: #f8f9fa; }
  .table tbody tr:hover {
    background-color: #e9f2ff;
    transition: background-color 0.2s ease; }
  .table td {
    vertical-align: middle; }
  .table td span,
  .table td mjx-container {
    margin-right: 0.25rem; }

.Qform {
  background-color: lightgrey;
  font-size: 20px;
  color: navy;
  border: 4px solid green;
  text-align: left; }

.correct {
  color: #198754;
  /* Bootstrap green */
  font-weight: bold;
  transition: color 0.3s ease; }

.incorrect {
  color: #dc3545;
  /* Bootstrap red */
  font-weight: bold;
  animation: shake 0.4s; }

@keyframes shake {
  0% {
    transform: translateX(0); }
  25% {
    transform: translateX(-4px); }
  50% {
    transform: translateX(4px); }
  75% {
    transform: translateX(-4px); }
  100% {
    transform: translateX(0); } }
@media (min-width: 576px) {
  .navbar {
    min-height: 90px;
    margin-bottom: 1rem;
    margin-top: 10px; } }
