@import url('https://fonts.googleapis.com/css2?family=Muli:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Muli', sans-serif;
  background: rgba(244, 232, 222, 0.8);

}

h1 {
  margin: 50px 0 30px;
  text-align: center;
  text-transform: uppercase;
}

.faq-container {
  max-width: 600px;
  margin: 0 auto;
}


.faq {
  background-color: transparent;
  border: 2px solid #727d86;
  border-radius: 10px;
  margin: 20px 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.faq.active {
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.faq.active::before,
.faq.active::after {
  content: '\f075';
  font-family: 'Font Awesome 5 Free';
  color: #2eec71;
  font-size: 7rem;
  position: absolute;
  opacity: 0.2;
  top: 20px;
  left: 20px;
  z-index: 0;
  /* transform: rotateY(180deg); */
}
.faq.active::before {
  color: #3498db;
  top: -10px;
  left: -10px;
  transform: rotateY(180deg);
}

.faq-title {
  margin: 0 35px 0 0;
}

.faq-text {
  display: none;
  margin: 30px 0 0 ;
}
.faq.active .faq-text {
  display: block;
}

.faq-toggle:focus {
  outline: 0;
}

.faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 30px;
  right: 30px;
  height: 30px;
  width: 30px;
}

.faq-toggle .fa-times {
  display: none;
  color: white;
}

.faq.active .faq-toggle .fa-times {
  display: block;
}

.faq.active .faq-toggle .fa-chevron-down {
  display: none;
}

.faq.active .faq-toggle {
  background-color: #9fa4a8;
}

.btn-home {
  cursor: pointer;
  text-decoration: none;
  position: relative;
  background-color: #d9b55a;
  border: 1px;
  border-radius: 1em;
  font-size: 16px;
  width: 36rem;
  padding: 1.4rem;
  margin: 1rem;
}

.btn-home:hover {
  color: rgb(78, 78, 162);
  transition-duration: 0.1s;
  background-color: #f1d9a2;
}

@media screen and (max-width:440px) {

  .faq-container {
    max-width: 20rem;
    margin: 3rem 0;
  }

  .btn-home {
    max-width: 18rem;
  }

}