
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
#faq{
    min-height: 100vh;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
   


.title{
    font-size: 3rem;
    margin: 2rem 0rem;

}


.faq{
    max-width: 750px;
    margin-top: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid grey;
    cursor: pointer;
}

.question{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h3{
    color: #161616e9;
    font-size: 1.6rem;
    margin-top: 1.4rem;
}

.answer{

    max-height: 0;
    overflow: hidden;
    transition: max-height 1.4s ease;}

.answer p{
   padding: 1rem;
    line-height: 1.6;
    text-align: left;
    font-size: 1.05rem;
}

.faq.active .answer{
    max-height: 300px;
    animation: fade 1s ease-in-out;
}

.faq.active svg{
    transform: rotate(180deg);
}

svg{
    transition:  transform 0.5s ease-in;
}

@keyframes fade {
    from{
        opacity: 0;
        transform: translate(-10px);
 }
 to {
    opacity: 1;
    transform: translate(0px);
 }
}


.faq p{
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}



