main {
  background-color: var(--milk);
}

.banner {
  width: 100%;
  height: 28vh;
  background-color: var(--latte);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--milk);
}

.banner h1 {
  font-size: 2rem;
  padding-top: 2vh;
}

.container {
  max-width: 600px;
  padding: 30px 20px 20px 20px;
  color: var(--chocolate);
  line-height: 1.69;
}

.section {
  margin-bottom: 20px;
}

.header {
  display: flex;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: 500;
  padding-right: 38px;
  justify-content: space-between;
  background: url('assets/Sparkle.png') no-repeat right center;
  background-size: 32px 32px;
  background-position: right 0 top 0.3em;
}

.header img {
  margin-right: 10px;
  width: 48px;
  height: auto;
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  margin-top: 10px;
  margin-right: 2.4rem;
  max-width: 300px;
}

.content p {
  margin: 0.3em 0;
}

.line {
  margin-top: 20px;
  border-top: 1px solid #E7D9C7;
  transition: margin-top 0.5s ease-out;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ .content {
  max-height: 200px;
}

input[type="checkbox"]:checked ~ .line {
  margin-top: 30px;
}

@media screen and (min-width: 1024px) {
  .container {
    max-width: 800px;
    padding: 5vh 2vw;
    margin: 0 auto;
  }

  .content {
    max-width: unset;
  }

  .content p {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    line-height: 1.83;
    margin-bottom: 1.6em;
  }

  .header {
    font-size: 1.3rem;
    font-weight: 500;
  }

  .banner h1 {
    font-size: 2rem;
    padding-top: 10vh;
  }
}

@media screen and (min-width: 1440px) {
  .container {
    max-width: 1100px;
  }
}
