/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/Home/FAQ.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
/* .faq-wrapper {
  max-width: 1440px;
  margin: auto;
  padding-top: 1vw;
  padding-bottom: 4vw;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  
} */

/* .faq-title {
  font-family: var(--font-poppins), sans-serif;
  font-size: 2.5vw;
  font-weight: 700;
  color: #4440DB;
  margin-bottom: 5vw;
  text-align: center;
} */


/* .faq-grid {
  display: grid;
  padding-bottom: 5vw;
  grid-template-columns: 1fr 1fr; 
  row-gap: 5vw;
  column-gap: 6vw;
  justify-content: space-between;
  align-items: center;  
  grid-auto-rows: minmax(74px, auto); 

} */


.faq-container {
  display: flex;
  justify-content: center;
  /* Centers the grid */
  width: 100%;
}


.faq-grid .faq-item:nth-child(7) {
  grid-column: span 2;
  justify-self: center;
  width: 40vw;
  min-height: 5vw;
  height: auto;
}



.faq-item {
  margin: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 40vw;
  min-height: 5vw;
  /* background-color: #ffffff; */
  border: 1px solid #000000;
  /* border-radius: 0.2vw; */
  box-shadow: 0 1px 4px #333232;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  ;
}

.faq-item.active {
  border-color: #4c5dff;
  box-shadow: 0 1px 4px #4c5dff;
  height: auto;
  overflow: visible;
  border-radius: 16px;
}

.faq-answer {
  padding: 0 1vw;
  font-size: 1vw;
  color: #666666;
  /* background-color: #fff; */
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-question {

  /* font-size: 1vw; */
  line-height: 1vw;
  padding: 1vw;
  font-weight: 500;
  color: #1b1139;
  /* background-color: #ffffff; */
  display: flex;
  align-items: center;
}

.faq-question>p {
  font-size: 1.04vw;
  /* font-size: 16px; */
  line-height: 1.3vw;
}

.faq-icon {
  font-size: 2vw;
  margin-right: 1vw;
  line-height: 1;
}

.faq-icon::after {
  color: #4c5dff;
  box-shadow: 0 1px 4px #4c5dff;
}

@media (max-width: 768px) {
  .faq-question {
    gap: 2vw;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    width: 87%;
    /* border: 1px solid red; */
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: 40px;


  }

  .faq-item {
    display: flex;
    justify-content: center;
    align-items: start;
    /* border: 1px solid red; */
    max-width: 100%;
    height: 70px;
    width: 100%;
    padding: 0 2.389vw;

  }

  .faq-question>p {
    font-size: 2vw;
    line-height: 2.2vw;
  }

  .faq-answer {
    font-size: 1.5vw;

  }




  .faq-grid .faq-item:nth-child(7) {
    grid-column: span 1;
    width: 100%;
    height: 70px;
  }
}

@media (max-width: 660px) {
  .faq-question p {
    font-size: 9px;
    line-height: 3vw;
  }

  .faq-answer {
    font-size: 10px;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-question {
    font-size: 14px;
  }

  .faq-icon {
    font-size: 24px;
  }

  .faq-grid {
    row-gap: 2vw;
  }

  .faq-item {
    height: 45px;
  }

  .faq-grid .faq-item:nth-child(7) {
    height: 45px;
    max-height: -moz-fit-content;
    max-height: fit-content;
  }

  .faq-item.active:nth-child(7) {
    height: -moz-fit-content;
    height: fit-content;
  }
}
