#faq-sec1 {
    width: 70%;
    display: flex;
    justify-content: center;
    margin: 50px 0 20% 0;
    flex-wrap: wrap;
}

.faq {
    background-color: rgb(255, 255, 255);
    padding: 20px 20px 40px 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.123);
    margin: 20px;
    width: 550px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s;
}

@media (max-width: 1800px){
    #faq-sec1 {
        width: 90%;
        display: flex;
        justify-content: center;
        margin: 50px 0 20% 0;
        flex-wrap: wrap;
    }
}
.faq.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq:hover {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.336);
}

.faq h3 {
    font-family: "Kanit";
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    display: flex;
    place-items: center;
}

.faq span {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    line-height: 2;
}

.faq a {
    font-weight: 600;
}

.faq a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

h1 {
    text-align: center;
    font-family: "Kanit";
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
}

.faqimg {
    height: 30px;
    margin: 0 15px 0 0;
}
