/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: Maroon;
  font-family: Georgia;
}
.two-col {
  display: flex;
  gap: 24px;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.left {
  flex: 2;
}

.right {
  flex: 1;
}

.right img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .two-col {
    flex-direction: column;
  }
}
/* Challenge 5: Color palette blocks */
.palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.swatch {
  height: 140px;
  border-radius: 12px;
  border: 1px solid #ccc;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  box-sizing: border-box;
}

.swatch span {
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.back-link {
  padding: 0 20px 20px;
  max-width: 900px;
  margin: 0 auto;
}

