@import url('https://fonts.googleapis.com/css2?family=Muli&display=swap');


:root {
    --background-color: #f0f0f0;
    --background-color-active: white;
    --border-color: #9fa4a8;
    --border-radius: 10px;
    --bubble-color-1: #2e80cc;
    --bubble-color-2: #2ecc71;
}
* {
    box-sizing: border-box;
}

body {
    font-family: 'Muli', sans-serif;
    background-color: var(--background-color);
}

h1 {
    margin: 50px 0 30px;
    text-align: center;
}

.faq-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin: 20px 0;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq.active {
    background-color: var(--background-color-active);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.1);
}

.faq.active::before, .faq.active::after {
    content: '\f075';
    font-family: 'Font Awesome 5 Free';
    color: var(--bubble-color-1);
    font-size: 7rem;
    position: absolute;
    opacity: 0.2;
    top: 30px;
    left: 40px;
    z-index: 0;
}
.faq.active::after {
    color: var(--bubble-color-2);
    top: -20px;
    left: -30px;
    transform: rotateY(180deg);
}
.faq-title {
    margin: 0 40px 0 0;
}
.faq-text {
    display: none;
    margin: 30px 0 0;
}
.faq.active .faq-text {
    display: block;
}

.faq-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    padding: 0;
    position: absolute;
    top: 30px;
    right: 30px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}
.faq-toggle:focus {
    outline: 0;
}

.faq-toggle .fa-xmark {
    color: white;
    display: none;
}

.faq.active .faq-toggle .fa-xmark {
    display: block;
}
.faq.active .faq-toggle .fa-chevron-down {
    display: none;
}
.faq.active .faq-toggle {
    background-color: #9fa4a8;
}