/*
 =========================================================
 * Filo's dark theme - Frequently Asked Questions
 =========================================================
 * Page: https://filo.gg
 * Copyright 2023 iLxlo_ (https://github.com/ilxlodev)
 * Designed by CSDIT Coded by iLxlo_
 =========================================================
 * Not allowed to copy substantial portions of the software without prior authorization.
 */

.faq {
  width: 80vw;
  display: flex;
  margin: 125px auto;
  text-align: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
  justify-content: center;
}

.faq .title h2 {
  font-weight: 900;
  font-size: 45px !important;
  color: var(--filogg-color-text);
}

.faq .content {
  overflow: hidden;
  margin-top: 25px;
  max-width: 1060px;
  border-radius: 50px;
  border: 5px solid var(--filogg-color-primary);
  background: var(--filogg-color-secondary-alt);
}

.faq .content .question {
  padding: 25px;
}

.faq .content .question:not(:first-child) {
  border-top: 2.5px solid var(--filogg-color-primary);
}

.faq .content .question input {
  opacity: 0;
  z-index: -1;
  position: absolute;
}

.faq .content .question label {
  display: flex;
  padding: 25px;
  cursor: pointer;
  font-size: 25px;
  text-align: left;
  font-weight: 700;
  align-items: center;
  justify-content: space-between;
  color: var(--filogg-color-text);
}

.faq .content .question label::after {
  font-size: 25px;
  content: "\f0d7";
  margin-left: 50px;
  text-align: center;
  font-family: "FontAwesome";
  transition: all 0.3s ease-in-out;
}

.faq .content .question input:checked + label::after {
  transform: rotate(180deg);
}

.faq .content .question .answer {
  max-height: 0;
  overflow: hidden;
  text-align: left;
  padding: 0px 50px 0px 25px;
  transition: all 0.75s ease-in-out;
}

.faq .content .question .answer p {
  margin: 0;
  padding: 10px 15px;
  color: var(--filogg-color-text);
}

.faq .content .question input:checked ~ .answer {
  max-height: 500px;
}

/*
 =========================================================
 * Media queries
 =========================================================
 * Responsive is the future \ ✪ ω ✪ /
 */

 @media (max-width: 1366px) { /* Laptop resolution */

  .faq .title h2 {
    font-size: 35px !important;
  }

}

@media (max-width: 1024px) { /* Tablet resolution */

  .faq .content .question label {
    font-size: 22.5px;
  }

}

@media (max-width: 881px) { /* Mobile horizontal resolution */

  .faq .title h2 {
    font-size: 30px !important;
  }

  .faq .content .question label {
    font-size: 20px;
  }

  .faq .content .question label::after {
    font-size: 22.5px;
  }

}

@media (max-width: 768px) { /* Mobile vertical resolution */

  .faq {
    width: 90vw;
    margin: 100px auto;
  }

  .faq .title h2 {
    font-size: 25px !important;
  }

  .faq .content .question {
    padding: 15px 5px;
  }

  .faq .content .question label {
    padding: 15px 25px;
  }

  .faq .content .question label::after {
    font-size: 22px;
    margin-left: 25px;
  }

  .faq .content .question .answer {
    padding: 0px 25px 0px 10px;
  }

}