/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* root */
body {
  font-family: "Georgia", serif;
  font-size: 16px;
  background-color: #e5e5e5;
}

/* main wrapper */
.main-wrapper {
    width: 100%;
    min-width: 300px;
    max-width: 1400px;
    background-color: #fff;
  margin-inline: auto;
  overflow-x: hidden;
}

/* top section */
.top-section-container {
  padding: 1.88rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.88rem;
}

/* header section */
.header-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* main title */
.main-title {
  font-size: 2rem;
  line-height: 1.2;
  color: #2b2b2b;
  max-width: 400px;
}

/* tagline */
.header-section-tagline {
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.6;
  max-width: 320px;
}

/* button */
.cta-btn {
  margin-top: 0.63rem;
  padding: 0.8rem 1.6rem;
  border-radius: 1.25rem;
  border: none;
  background: #9c6849;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* hero image */
.hero-image-container {
  display: flex;
  justify-content: center;
}

.hero-image-container img {
  width: 220px;
}

/* list section */
.list-section-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.list-container {
    width: 100%;
    max-width: 800px;
  margin-top: 1.88rem;
  padding: 1.25rem;
  /* border-radius: 2.5rem; */
  background: #d7c3aa;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

/* list icon */
.list-image-container img {
  width: 28px;
  margin: 0 auto 0.38rem;
}

/* list title */
.list-title {
  font-size: 1.25rem;
  color: #2b2b2b;
}

/* list text */
.list-tagline {
  font-size: 0.75rem;
  color: #5a5a5a;
}

/* bottom section */
.bottom-section-container {
  margin-top: 1.88rem;
  padding: 1.88rem 1.25rem;
  background: #3a3230;
  padding-top: 5rem;

  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* images */
.bottom-image-container img {
  width: 100%;
  border-radius: 1rem;
}

/* image captions */
.bottom-images-title {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #ddd;
  text-align: center;
}

/* large phones / small landscapes */
@media (min-width: 480px) {
  .main-title {
    font-size: 2.5rem;
  }

  .list-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .bottom-section-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* tablet */
@media (min-width: 768px) {
  .top-section-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .main-title {
    font-size: 2.75rem;
  }

  .hero-image-container img {
    width: 300px;
  }

  .list-container {
    position: absolute;
    width: 80%;
    align-self: center;
    margin-inline: auto;
    /* margin: 2.75rem auto 0; */
    padding: 1.88rem 3.13rem;
    border-radius: 3.5rem;
  }
  .bottom-section-container {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 2rem;
  }
}

/* desktop */
@media (min-width: 1024px) {
  .top-section-container {
    padding: 3.75rem 5rem;
  }

  .main-title {
    font-size: 3.5rem;
  }

  .header-section-tagline {
    font-size: 1rem;
  }

  .hero-image-container img {
    width: 420px;
  }

  .bottom-section-container {
    padding: 5rem;
    grid-template-columns: repeat(5, 1fr);
  }

  .bottom-images-title {
    font-size: 0.88rem;
  }
}
