* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
}
main {
  max-width: 1280px;
  width: 90%;
  height: auto;
  margin: 0 auto;
  padding: 3rem;
  /* border: 1px solid red; */
}
h1 {
  text-align: left;
  font-size: 3rem;
}
.general {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 2rem 0;
} 
h2 {
  font-size: 2rem;
  font-weight: bold;
}
.faq {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.faq button {
  /* margin: 0.5rem 0; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 2.5rem;
  padding: 1.5rem 0.5rem;
  border: none;
}
.faq button:hover {
  background-color: azure;
}
.accordion i {
  transition: transform 0.3s ease;
}

.accordion.active i {
  /* :active applies only while clicking it, once you release, it goes back to normal. 
      .active User-defined class,applied via HTML/Js, stays applied until removed.*/
  transform: rotate(180deg); /* point up */
}

.faq p {
  display: none;
  font-size: 3rem;
  /* background-color: rgb(0, 0, 0, 0.05); */
}
@media (max-width: 64rem){
  html {
    font-size: 70%;
  }
}
@media (max-width: 36rem){
  html {
    font-size: 60%;
  }
}

@media (max-width: 30rem){
  html {
    font-size: 50%;
  }
}

@media (max-width: 20rem){
  html {
    font-size: 43.75%;
  }
}
