.faq-main {
  display: -ms-grid;
  display: grid;
  place-items: center;
  margin: 12em 0 10em;
}

.faq-main h2 {
  font-size: 3rem;
}

.faq__accordion {
  max-width: 950px;
  width: 100%;
  padding-top: 3.5em;
  position: relative;
}

.accordion {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #f7f7f7;
  color: #403f41;
  cursor: pointer;
  padding: 1em;
  font-size: 1rem;
  font-weight: bold;
  width: 100%;
  text-align: left;
  border: 1px solid #f0f0f0;
  outline: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}

.panel {
  padding: 0 1em;
  background-color: #ffffff;
  max-height: 0;
  -webkit-transition: max-height 0.3s ease;
  -o-transition: max-height 0.3s ease;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.panel p {
  font-size: 1rem;
  padding: 1em 0;
}

.active,
.accordion:hover {
  background: #e6e6e6;
}

.accordion:after {
  position: absolute;
  left: 95%;
  font-size: 1.8rem;
  font-weight: 400;
  content: "\002B"; /* Unicode character for "plus" sign (+) */
  color: #403f41;
}

.active:after {
  content: "\2212"; /* Unicode character for "minus" sign (-) */
}

@media (max-width: 1000px) {
  .faq__accordion {
    width: 90%;
  }
}

@media (max-width: 425px) {
  .faq-main {
    margin: 15em 0 10em;
  }

  .faq-main h2 {
    font-size: 2.7rem;
  }

  .accordion {
    font-size: 0.9rem;
  }

  .panel p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .accordion:after {
    left: 90%;
  }
}
