
/* Base */
html { font-size: 16px; }

body {
  /* Large side margins so content never spans full width */
  margin-block: 48px;                          /* top/bottom */
  margin-inline: clamp(24px, 10vw, 240px);     /* left/right */
  font-family: 'Roboto Mono', ui-monospace, Menlo, Monaco, "Courier New", monospace;
  line-height: 1.6;
  color: #0F1B2A;                              /* neutral dark text */
  background: #F7FAFC;                         /* page background */
}



/* Content sections act like cards */
header,
main {
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* Distinct backgrounds */
header {
  /* keep header bright and energetic */
  background: linear-gradient(135deg, #12C6D9 0%, #7BE3EC 100%);
  text-align: center;
  margin-bottom: 16px;
}

main {
  /* give main its own background color (change to taste) */
  /* Option A: solid light background */
  background: #b6c6a7; /* soft peach to contrast header */
  /* Option B (swap in if you prefer a subtle gradient):
     background: linear-gradient(135deg, #FFF4EE 0%, #FFE6DC 100%); */
}

/* Headings */
header h1,
main h2 {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0b0251;                 /* indigo headings */
           /* light panel behind text */
  border-radius: 12px;
  margin: 0 0 8px 0;
  text-align: center;
}
header h1 {  background: #2d86eb; }
main h2{background: #87ea0d; }
header h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  padding: 16px 20px;
  letter-spacing: 0.3px;
}

main h2 {
  font-weight: 600;
  font-size: 1.6rem;
  padding: 12px 16px;
}

/* Paragraphs */
main p {
  margin: 0 0 24px 0;   /* bottom margin adds spacing between paragraphs */
}


/* Optional links (if you add any) */
a {
  color: #FF6E5B;                 /* coral accent */
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
a:hover,
a:focus {
  color: #E85C4A;
  border-color: #E85C4A;
  outline: none;
}

/* Optional images */
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border: 4px solid #3A2D9B;
}
