@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Be Vietnam Pro", serif;
    background: #fffff0;
    color: #36454f;
    line-height: 1.6;
}

section{
    font-family: "Be Vietnam Pro", serif;
    min-height: 100vh;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title{
    font-family: "Be Vietnam Pro", serif;
    font-size: 2rem;
    margin: 2rem 0rem;
}

.faq{
    max-width: 700px;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
    border-bottom: 2 px solid #36454f;
    cursor: pointer;
    text-align: left;
}

.question{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h3{
    font-family: "Be Vietnam Pro", serif;
    font-size: 1.5rem;
}

.answer{
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.4s ease;
}
.answer p{
    font-family: "Be Vietnam Pro", serif;
    padding-top: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
}


.faq.active .answer{
    max-height: 30vh;
    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: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}