body {
  font-size: 20px;
  font-family: "Monaco", "Courier", monospace;
  /*font-family: "Courier New", Courier, monospace;*/
  color: #333;
  background-color:#EFE5C2; /*#EFE5C2;*/
  margin-right: 2.5%;
  margin-left: 2.5%;
}

.button {
  font-weight: bold;
  background-color: #EFE5C2;
  border: 2px solid #333;
  padding: 5px 10px;
  margin: 2px;
  cursor: pointer;
  text-decoration: none;
  color: black;
  display: inline-block;
}

.button:hover {
  background-color: #cac2a4;
}

mjx-container {
  font-size: inherit !important;  /* Ensures MathJax follows normal text size */
  display: inline-block;  /* Prevents shrinking issues on mobile */
}

/* Style for the text container */
.text-container {
  width: clamp(50%, calc(100vh / 9 * 6), 100%);
  margin: 0 auto;
  text-align: justify;
}

/* Style for paragraphs */
.text-container p {
  text-indent: 2em; /* Indent the first line of each paragraph */
  margin: 1em 0; /* Add vertical spacing between paragraphs */
}

.subtle-link {
  color: inherit; /* Inherit text color to match surrounding text */
  text-decoration: none; /* Remove default underline */
  transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out;
}

/* Subtle hover effect */
.subtle-link:hover {
  color: #555; /* Slightly darker text on hover */
  text-decoration: underline; /* Adds a subtle underline */
}
