@font-face {
  font-family: 'Work Sans';
  src: url(./assets/fonts/WorkSans-VariableFont_wght.ttf);
}
body{
  font-family: 'Work Sans', sans-serif;
  margin: 0;
  background: 
    hsl(275, 100%, 97%)
    url(./assets/images/background-pattern-desktop.svg)  top/ contain no-repeat
  ;
}
html{
  --base-fsz-: 16px;
}
header{
  display: flex;
  gap: 15px;
}
header h1{
  font-size: calc(var(--base-fsz-)*3);
  margin: 0;
}
.all{
  margin: 25vh auto;
  width: 35%;
  height: auto;
  padding: 40px;
  border-radius: 20px;
  background-color: white;
}
.faq-container{
}
.faq-item { 
  border-bottom: 1px solid #ccc; 
  padding: 10px; 
  cursor: pointer; 
  font-size: 1.1rem;
}
.faq-question{
  font-weight: bold;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.4;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  color: hsl(292, 16%, 49%);
}

.faq-answer.open {
  padding: 10px 0;
  max-height: auto;
}

.hidden{
  display: none;
}


@media (max-width: 768px) {
  header{
    flex-direction: column;
    align-items: center;
  }
  header h1{
    font-size: calc(var(--base-fsz-)*2);
  }
  .all{
    width: 60%;
    padding: 20px;
  }
  
}

@media (max-width: 1000px) {
  .all{
    width: 60%
  }
}
@media (max-width: 568px) {
  .all{
    width: 80%;
  }
  body{
    background: 
      hsl(275, 100%, 97%)
      url(./assets/images/background-pattern-mobile.svg)  top/ contain no-repeat
    ;
  } 
}