@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

body {
  font-size: 16px;
  position: relative;
}

.bg-lg {
  display: block;
}

.bg-lg img {
  width: 100%;
  height: auto;
}

.bg-md {
  display: none;
}

.bg-md img {
  width: 100%;
  height: auto;
}
.container {
  margin: 0 auto;
  height: 100dvh;
  background-color: hsl(275, 100%, 97%);
}

.faq-container {
  max-width: 40rem;
  max-height: 40rem;
  background-color: hsl(0, 0%, 100%);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1rem;
  box-shadow: 8px 24px 64px hsla(293, 21%, 41%, 0.25);
  display: flex;
  flex-direction: column;
  padding: 2rem 3rem;
}

.faq-container .title {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.faq-container .questions {
  display: flex;
}

.faq-container .questions ul {
  list-style: none;
}

.faq-container .questions .question {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  cursor: pointer;
}

li h3 {
  color: hsl(292, 42%, 14%);
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

li h3:hover {
  color: hsl(300, 100%, 70%);
}

li p {
  display: none;
  color: hsl(292, 16%, 49%);
}

@media screen and (max-width: 1024px) {
  .faq-container {
    padding: 2rem 2rem;
    width: calc(70%);
    top: 45%;
  }
  .faq-container .title {
    font-size: 1rem;
  }
  li h3 {
    font-size: 1rem;
  }
  li p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 600px) {
  .bg-lg {
    display: none;
  }
  .bg-md {
    display: block;
  }
  .faq-container {
    padding: 2rem 2rem;
    width: calc(90%);
    top: 50%;
  }

  .faq-container .title {
    font-size: 1rem;
  }

  li:nth-last-child(1) p {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}
