body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  background: #fbf8ff; /* body styling */
  color: #222;
}

/* Padding adjustment requirement (changed from 16px to 24px) */
header, main, footer {
  padding: 24px;
}

header {
  background-color: #E6D6FF;
  border-bottom: 3px solid #d2b7ff;
}

/* Headers / H1, H2, etc. */
h1 {
  margin-top: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 6px;
  border-bottom: 2px solid #d2b7ff;
  padding-bottom: 6px;
}

h3 {
  margin-top: 18px;
}

main {
  max-width: 900px;
  margin: 0 auto;
}

/* Nav links */
nav a {
  text-decoration: none;
  font-weight: bold;
  color: #2b1a52;
}
nav a:hover {
  text-decoration: underline;
}

/* Blockquote requirement */
blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  background: #f3ecff;
  border-left: 6px solid #8a5cff;
  font-style: italic;
  border-radius: 10px;
}

p {
  margin-bottom: 16px;
}

/* Lists requirement */
ol, ul {
  padding-left: 22px;
}
li {
  margin: 6px 0;
}

/* Table requirement */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: white;
}

th, td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

th {
  background: #fafafa;
}

/* Sections */
section {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

/* Contact header (you already had this) */
#contact h2 {
  color: darkblue;
}

/* Footer requirement */
footer {
  background: #f2f2f2;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid #ddd;
}

/* IMAGE REQUIREMENTS */
/* 1) size the image (required) */
.site-image {
  width: 180px;
  height: auto;
  display: block;
  margin: 12px 0 16px;
}

/* 2) rounded corners */
.rounded {
  border-radius: 12px;
}

/* 3) circular image */
.circle {
  border-radius: 50%;
}

/* added styling for about page */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

footer {
  background-color: #f2f2f2;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

nav a {
  text-decoration: none;
  margin-right: 10px;
  font-weight: bold;
}

a {
  color: #4b2e83;
}

aside {
  margin-top: 18px;
  padding: 12px;
  background: #f3ecff;
  border-left: 4px solid #8a5cff;
}

/* --- Added styles for images, buttons, and info boxes --- */

.hero-image,
.page-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 16px auto;
  border-radius: 12px;
}

.image-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.image-row img {
  width: 280px;
  max-width: 100%;
  border-radius: 12px;
}

.info-box {
  background: #f3ecff;
  border-left: 5px solid #8a5cff;
  padding: 14px;
  margin: 20px 0;
  border-radius: 10px;
}

.button-row {
  margin: 20px 0;
}

button {
  background-color: #8a5cff;
  color: white;
  border: none;
  padding: 10px 16px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #6f45d9;
}

#tip-output,
#product-output {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Padding for intro paragraph on homepage */
/* Add padding to first paragraph on homepage */
.intro-paragraph {
  padding: 20px;
  background: #f3ecff;
  border-radius: 8px;
}