@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*{
  margin: 0;
  padding: 0;
  font-family: "Work Sans", serif;
}

body{
  background-color: hsl(275, 100%, 97%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
}

#background-img{
  background-image: url("images/background-pattern-desktop.svg");
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 40vh;
  z-index: 1;
}

section{
  background-color: #fff;
  width: 450px;
  transform: translateY(-30%);
  z-index: 4;
  padding: 20px;
  border-radius: 8px;
}

h1{
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 36px;
  gap: 12px;
  padding: 12px 0px;
}

h1 > img {
  width: 30px;
  height: 30px;
}

.faq{
  padding: 14px 0;
  border-bottom: 1px solid hsl(275, 100%, 97%);  
}

.faq:nth-last-child(1){
  border-bottom: 0px;
}

.faq > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h4{
  font-weight: 600;
}

.js-paragraphs{
  color: hsl(292, 16%, 49%);
  width: 430px;
  padding-top: 8px;
  font-weight: 400;
  font-size: 14px;
}

.faq > div > button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

@media (max-width : 750px) {
  #background-img{
    background-image: url("images/background-pattern-mobile.svg");
    height: 40vh ;
  }
  section{
    max-width: 300px;
  }
  .js-paragraphs{
    max-width: 270px;
  }
}