@media (max-width: 575px) {
  body {
    background: rgb(252, 188, 165);
    color: navy;
  }
}
@media (min-width: 576px) {
  body {
    background: lightskyblue;
    color: navy;
  }
}
@media (min-width: 768px) {
  body {
    background: lightgray;
    color: navy;
  }
}
@media (min-width: 992px) {
  body {
    background: lightyellow;
    color: navy;
  }
}

html {
  scroll-behavior: smooth;
}

div.container  {
  margin-top: 40px;
  border-radius: 25px;
  display: grid;
}
div.h1 {
  font-size: 50px;
  color: navy;
}

#QuestionsDock {
  display: grid;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}

div.questionModal {
  background-color: lightgrey;
  min-width: 500px;
  max-width: auto;
  border: 4px solid green;
  padding: 20px;
  margin-left: 20px;
  font-size: 20px;
  color: navy;
  display: none;
}

div.questionModal.visible {
  display: block;
  animation: fade-slide-in 0.3s ease-out forwards;
}

div.Qform {
  border: 10px solid green;
  padding: 20px;
  margin-top: 40px;
  margin-left: 20px;
  font-size: 20px;
  background-color: lightgrey;
  min-width: 500px;
  max-width: auto;
  font-size: 20px;
  color: navy;
}

table.tbl {
  width: 100%;
  border: 2px solid #fff;
  margin: 20px 0;
}
table.tbl td {
  padding: 5px 10px;
  text-align: center;
}
table.tbl tr:nth-child(2n + 1) {
  background: #fff;
  height: 30px;
}
table.tbl tr:nth-child(2n) {
  background: #f1f1f1;
  height: 30px;
}

#chapterTitle {
  margin-right: 20px;
  padding-right: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: navy;
  border-radius: 25px;
  text-align: left;
  color: white;
}
div.container #QuestionsDock {
  margin-top: 40px;
  background-color: navy;
  border-radius: 25px;
  display: grid;
}

d
p.question {
  margin-top: 40px;
  margin-left: 40px;
}
ul.question {
  border-radius: 25px;
  margin-left: 40px;
}

#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 20px;
  font-size: 30px;
  text-align: left;
  display: grid;
  border: 6px solid #3ef42d;
}

.myButton {
  background-color: #f67722;
  border-radius: 3px;
  border: 1px solid white;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: arial;
  font-size: 26px;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #822215;
}

a.my-class {
  color: white; /* Change text color */
  background-color: navy;
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make text bold */
  border-radius: 5px; /* Round the corners */
  font-family: sans-serif;
  font-size: 30px;
  animation: slideIn 0.5s forwards;
}

 /* Dark blurred background */
 .modal-backdrop.show {
   backdrop-filter: blur(6px); background-color: rgba(0, 0, 0, 0.75);
   } 
   /* Default state before show: slightly smaller */ 
   .modal.fade .modal-dialog { 
    transform: scale(0.8); transition: transform 0.25s ease; } 
    /* When shown: full size */ 
    .modal.show .modal-dialog { transform: scale(1); }
     /* When hiding (Bootstrap removes .show but keeps .fade briefly) */
      .modal.fade:not(.show) .modal-dialog { transform: scale(0.85); } 
 
 
      /* Fade-in for main image */
#imageDisplay {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#imageDisplay.fade-in {
  opacity: 1;
}

/* Zoom animation for modal image */
#img01 {
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#imageModal.show #img01 {
  transform: scale(1);
  opacity: 1;
}