body {
  background: #F5E6D3;
}

/* Header */
.header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("./images/roasted-coffee-beans-.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: repeat-x;
  color: white;
  padding: 80px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.bad_title {
  font-size: 4rem;
  padding: 10px;
}

.nav_link {
  list-style: none;
}

.header a {
  color: white;
  font-size: 2.25rem;
  padding: 20px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

/* Menu */
.coffee_layout {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.coffee_layout ul {
  margin-left: 0;
}

.assorted {
  border-radius: 20%;
}

.menu_container {
  display: flow-root;
}

h2 {
  text-align: center;
  margin-top: 20px;
  color: #3E2723;
  font-size: 3.2rem;
  padding: 10px;
}

.menu ul {
  color: #3E2723;
  font-size: 1.5rem;
  list-style: none;
  margin-left: 80px;
  padding: 20px;
}

.menu ul li {
  display: flex;
  padding-top: 5px;
  gap: 50px;
  align-items: center;
}

.menu ul li p {
  font-size: 1.75rem;
}

.item_price {
  font-weight: bold;
}

.home .menu ul {
  font-size: 2rem;
  padding-top: 15px;
  line-height: 1.6;
}

/* Shared headings and homepage About text */
h3 {
  color: #3E2723;
  font-size: 1.75rem;
  margin-left: 100px;
}

.about p {
  color: #3E2723;
  font-size: 2rem;
  padding: 10px;
  width: 25%;
  margin-left: 0;
  line-height: 1.6;
}

/* About page: sections with text and images */
.bad_meaning,
.why_coffee,
.why_thailand,
.giving_back {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 90%;
  max-width: 1400px;
  margin: 60px auto;
}

.bad_meaning .about_text,
.why_coffee .about_text,
.why_thailand .about_text,
.giving_back .about_text {
  flex: 1;
  min-width: 0;
}

.bad_meaning h3,
.why_coffee h3,
.why_thailand h3,
.giving_back h3,
.improving h3,
.queen_tribute h3 {
  margin: 0 0 20px;
  font-size: 2rem;
}

.about .bad_meaning p,
.about .why_coffee p,
.about .why_thailand p,
.about .giving_back p,
.about .improving p {
  width: auto;
  margin: 0 0 20px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1.6;
}

.bad_meaning > img,
.why_coffee > img,
.why_thailand > img {
  width: 40%;
  height: auto;
}

.giving_back > img {
  width: 300px;
  max-width: 40%;
  height: auto;
}

/* About page: text-only section */
.improving {
  width: 90%;
  max-width: 900px;
  margin: 60px auto;
}

/* About page: remembrance */
.queen_tribute {
  width: 90%;
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
}

.queen_tribute figure {
  margin: 0;
}

.queen_tribute img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.queen_tribute figcaption {
  color: #3E2723;
  font-size: 1.75rem;
  line-height: 1.5;
  margin-top: 15px;
}

/* Contact */
address ul {
  color: #3E2723;
  font-size: 1.75rem;
  list-style-type: none;
  width: fit-content;
  max-width: 90%;
  margin: 20px auto;
  padding: 0;
}

address ul li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.contact address {
  font-style: normal;
}

.contact address a {
  color: #3E2723;
}

.contact address ul {
  font-size: 2rem;
}

/* Footer */
.footer {
  color: #3E2723;
  text-align: center;
  font-size: 20px;
}

/* Smaller screens */
@media screen and (max-width: 768px) {
  .header {
    background-size: cover;
  }

  .bad_meaning,
  .why_coffee,
  .why_thailand,
  .giving_back {
    flex-direction: column;
    gap: 25px;
  }

  .bad_meaning > img,
  .why_coffee > img,
  .why_thailand > img,
  .giving_back > img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .giving_back > img {
    max-width: 300px;
  }
}

.contact_images {
  margin-top: 50px;
}

.contact_images {
  margin-top: 300px;
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}