:root {
  --background: #f8f8ff;
  --foreground: #171717;
}

/* @theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
} */

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f172a;
    --foreground: #ededed;
  }
}

.redtext {
    color: red;
}

.purpletext {
    color: purple;
}

.greentext {
    color: green;
}

/* removed for better formatting */
body {
    background: var(--background);
    color: var(--foreground);margin: 0;
    padding: 0;
    /* display: flex; */
    /* justify-content: center; */
    align-items: flex-start;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    /* background-color: #333; */
}

/* body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
} */

.content {
  box-sizing: border-box;
  width: 90%;
  max-width: 1100px;
  margin-inline: auto;
  padding: 50px;

  color: var(--foreground);
  background: var(--background);
}

@media (max-width: 640px) {
  .content {
    width: 100%;
    padding: 20px;
  }
}

.equation-box {
  background-color: rgb(180, 195, 212);
  width: fit-content;
  border: 2px solid black;
  padding: 5px 15px;
  margin: auto;
}

@media (prefers-color-scheme: dark) {
  .content {
    width: 800px; 
    max-width: 90%;
    padding: 50px;
    /* background-color: #45556c;
    color: #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    /* scroll-snap-type: y-mandatory; */
  }

/* Wide mathematical workspace */

.content:has(> [data-math-layout="wide"]) {
  width: 100%;
  max-width: 1440px;
  padding: 32px 24px;
}

/* Full-bleed pages, if ever needed */

.content:has(> [data-math-layout="full"]) {
  width: 100%;
  max-width: none;
  padding: 0;
}

@media (max-width: 640px) {
  .content:has(> [data-math-layout="wide"]) {
    padding: 16px;
  }
}
  
.redtext {
    color: #f33;
  }
.purpletext {
    color: #bb55bb;
  }
.greentext {
    color: rgb(171, 203, 256);
  }
.equation-box {
    background-color: #b8d3ff;
    color: rgb(35, 33, 158);
    border-color: rgb(35, 33, 158);
    border-style: hidden;
  }
}

.page-title {
  text-align: center;
}

iframe {
    display: block;
    margin: 20px auto;
    border: 0px solid #ccc;
    width: 76%;
    height: 350px; 
}



