body {
  padding: 0;
  color: #0c0a09;
  background-color: #fafaf9;
}

main {
  padding: 0 0.5rem 0 0.5rem;
}

/* Headings */
h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem; /* Space below */
}

h2 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem; /* Space below */
}

h3 {
  font-size: 1.75rem; /* 28px */
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  margin-bottom: 0.6rem;
}

p {
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  margin-bottom: 1.2rem; /* Space between paragraphs */
}

a {
  color: #3730a3;
  font-size: 1.25rem; /* Same as body */
}

a:hover {
  text-decoration: underline;
}

li {
  font-size: 1.25rem; /* Same as body */
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

img {
  max-width: 100%;
}

code {
  color: #f472b6;
  background-color: #1c1917;
  padding: 0.25rem 1rem 0.25rem 1rem;
  border-radius: 0.25rem;
}

section:not(:first-of-type) {
  margin: 3rem 0 3rem 0;
  border-top: 1px solid black;
}

.container {
  width: 100%;
  @media (width >= 40rem) {
    max-width: 39rem;
  }
  @media (width >= 48rem) {
    max-width: 47rem;
  }
  @media (width >= 64rem) {
    max-width: 63rem;
  }
  @media (width >= 80rem) {
    max-width: 79rem;
  }
  @media (width >= 96rem) {
    max-width: 65rem;
  }
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
  body {
    font-size: 15px; /* Slightly smaller for smaller screens */
  }

  h1 {
    font-size: 2.2rem; /* 35px */
  }

  h2 {
    font-size: 1.8rem; /* 28px */
  }

  h3 {
    font-size: 1.6rem; /* 25px */
  }

  h4 {
    font-size: 1.4rem; /* 22px */
  }

  p,
  ul li,
  ol li {
    font-size: 1rem; /* Slightly smaller for readability on small screens */
  }
}

.primary-button {
  background-color: #3730a3;
  color: #eef2ff;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem 0.25rem 0.5rem;
  font-size: 15px;
}

@media (min-width: 426px) {
  main {
    padding: 0 2rem 0 2rem;
  }
}
