* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: hsl(0, 100%, 100%);
  --purple-100: hsl(275, 100%, 97%);
  --purple-600: hsl(292, 16%, 49%);
  --purple-950: hsl(292, 42%, 14%);
  --purple-light: hsl(281, 83%, 54%);
  --fw-regular: 400;
  --fw-medium: 600;
  --fw-bold: 700;
}

html,
body {
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  font-family: "Work Sans", sans-serif;
  background: url(./images/background-pattern-mobile.svg) no-repeat top /
    contain;
  background-color: var(--purple-100);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 150%;
}

@media (min-width: 1080px) {
  body {
    background: url("./images/background-pattern-desktop.svg") no-repeat top /
    contain;
  }
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 9rem 1.5rem;
}

.faq-accordion {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 1.5rem;
  height: auto;
  padding: 2rem 1.5rem;
  border-radius: 0.7rem;
  background-color: var(--white);
  max-width: 575px;
}



.faq-title-image {
  display: flex;
  align-items: center;
  justify-content: flex-c;
  gap: 1.3rem;
}

.faq-title {
  font-size: 2.2rem;
  color: var(--purple-950);
}

.faq-image {
  display: flex;
  align-items: center;
  height: 30px;
  width: 30px;
}

.faq-question {
  font-size: 1rem;
  color: var(--purple-950);
  max-width: 540px;
}

.faq-question:hover {
  color: var(--purple-light);
  cursor: pointer;
}

.faq-answer {
  font-size: 1rem;
  color: var(--purple-600);
  max-width: 45ch;
}

.faq-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1rem 0rem;
}

.faq-item:not(:last-child) {
  border-bottom: 0.1rem solid var(--purple-100);
}

.row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.toggle-button{
  background: none;
  border: none;
  cursor: pointer;
}

.hidden{
  display: none;
}
