/* thanks gemini */

/* 1. Basic Reset & Box Sizing */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. Page Styling */
body {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  padding: 20px;
}

/* 3. Container for Content */
.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 4. Headings & Text */
h1 {
  color: #2c3e50;
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
}

/* 5. Buttons or Links */
.btn {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background: #2980b9;
}
.styled-figure {
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
  text-align: center;
  border-radius: 4px;
}

.styled-figure img {
  max-width: 100%; /* Keeps the image from breaking the layout */
  height: auto;
}

figcaption {
  margin-top: 10px;
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
}