/* faq css starts */

.faq {
    color: #630436;
    background: #ffffff;
}

.skills .title::after {
    content: "what happens";
    color: #ffffff;
    background: #630436;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12em;
}

details {
    font-size: 1rem;
    margin: 0 auto;
    width: 100%;
    background: rgb(227, 159, 246);
    border-radius: 8px;
    position: relative;
    max-width: 600px;
    border: 1px solid #C3DEFF;
    transition: all 0.3s ease-in-out;
}

details:hover {
    border: 1px solid #000000;
}


summary {
    user-select: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    list-style: none;
    padding: 1em;
    align-items: center;
}

summary:hover .faq-title {
    opacity: 1;
}

summary::-webkit-details-marker {
    display: none;
}

summary:focus {
    outline: none;
}

summary:hover .expand-icon {
    opacity: 1;
}

.faq-title {
    color: #000000;
    width: 90%;
    opacity: 0.65;
    transition: all 250ms ease-in-out;
}

.faq-content {
    color: #000000;
    padding: 0.2em 1em 1em 1em;
    font-weight: 300;
    line-height: 1.5;
}

.expand-icon {
    opacity: 0.65;
}

.expand-icon {
    pointer-events: none;
    position: absolute;
    right: 1em;
    transition: all 150ms ease-out;
}