* {
  box-sizing: border-box;
}

body {
  font-size: 20px;
  color: black;
  background-color: #AFE1AF;
  font-family: "Garamond", "Times New Roman", serif;
  margin: 0;
  padding: 20px;
}

/*this is a simplified way to write this for an attribute that is the same for all headings*/
h1, h2, h3 {
  color: black;
}

h1 {
  text-align: center;
  font-size: 26px;
  margin: 20px 0;
}

h2 {
  text-align: center;
  font-size: 24px;
  margin: 20px 0;
}

h3 {
  text-align: left;
  font-size: 22px;
  margin-top: 30px;
}

.center-text {
  text-align: center;
}

.top-left-container {
  position: absolute;
  /*float right?*/
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ECFFDC;
  padding: 10px;
  width: 150px;
  border: 1px solid #999;
}

figcaption {
  color: black;
  font-size: 14px;
  padding: 1px;
  text-align: left;
  font-family: "Garamond", serif;
}

/* Fixed img forces image that was distorting to size */
.fixed-img {
  width: 350px;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* Flex layout for side-by-side containers */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  padding: 10px;
  margin: 20px 0;
}

/* Left container: holds two images */
.left-container {
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 0;
}

.left-container img {
  width: 350px;
  height: auto;
  display: block;
}

/* Right container: descriptive text */
.right-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 0 auto;
  font-size: 14px;
  padding: 10px;
  text-align: left;
}


.right-container em {
  display: block;   /* ❗ Each text line becomes its own block */
  text-align: left; /* Makes absolutely sure text isn't centered */
}

/* Paragraph spacing below flex section */
.content-below {
  margin-top: 20px;
}

