* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 12px;
}

body {
  height: 100vh;
  font-family: 'Kumbh Sans', sans-serif;
  background-color: hsl(273, 75%, 66%);
}

.faqcard {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  max-width: 90vw;
  margin: 0 auto;
  padding: 4rem 2rem 4rem 2rem;
  border-radius: 2rem;
  background-color: white;
}

.faqcard__image_mobile {
  display: block;
  position: relative;
  align-self: center;
  width: 80%;
  /* top: -15vh; */
  margin-top: -66vh;
}

.faqcard_image_desktop {
  display: none;
  position: relative;
  align-self: center;

}

.faqcard__text {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.faqcard h2 {
  margin: 2rem 0 1rem 0;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: hsl(238, 29%, 16%);
}

.faqcard__question {
  width: 100%;
  font-size: 1rem;
  text-align: left;
  color: hsl(237, 12%, 33%);
}

.faqcard__question h5 {
  display: inline-block;
  font-weight: 700; 
}

.faqcard__interrogation {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.faqcard__button {
  border: none;
  background: transparent;
}

.faqcard__button:focus {
  rotate: 180deg;
}

.faqcard__question p {
  display: none;
}

.faqcard__line {
  width: 100%;
  margin: 0.5rem 0;
  border: 0.1px solid hsl(240, 5%, 91%);
}

@media(min-width: 900px) {
  * {
    font-size: 0.80vw;
  }

  .faqcard {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 70vw;
    max-width: 70vw;
    min-width: 320px;
    margin: 0 auto;
    padding: 4rem 6rem;
    /* background-image: url('images/bg-pattern-desktop.svg');
    background-position: 0 0; */
  }

  .faqcard_image_mobile {
    display: none;
  }

  .faqcard_image_desktop {
    display: block;
    width: 80%;
    max-width: 80%;
    left: -10vw;
  }

  .faqcard__image img {
    width: 100%;
    max-width: 50rem;
  }

  .faqcard h2 {
    width: 320px;
    text-align: left;
  }

  .faqcard__button img {
    width: auto;
    min-width: 1rem;
  }
  
}


