:root {
    --White: #ffffff;
    --Light-pink: #f9f0ff;
    --Grayish-purple: #8c6991;
    --Dark-purple: #2f1533;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {

    background-color: var(--Light-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    position: relative;
}

.FAQ-container {
    position: absolute;
    top: 130px;
    width: 79%;
    min-width: 299px;
    max-width: 460px;
    padding: 8px;
    background-color: var(--White);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-weight: 900;
}

.attribution {
    position: absolute;
    bottom: 0px;
    color: var(--White);

}

.img-desktop {
    width: 100%;
    object-fit: cover;
    height: 260px;
}

.FAQ-header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 22px;

    h1 {
        font-family: 'Work Sans', sans-serif;
        color: var(--Dark-purple);
        font-size: 40px;
        font-weight: 700;
    }

    img {
        width: 28px;
        margin-right: 15px;
    }
}

.FAQ-element {
    cursor: pointer;
    background-color: var(--White);
    border-radius: 3px;
    border-bottom: solid 1px rgb(243, 243, 243);
    width: 100%;
    margin-bottom: 2px;
    padding: 16px 22px 0px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;

    .FAQ-button {
        border: none;
        background-color: var(--White);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        margin-bottom: 16px;

        img {
            width: 23px;
        }

    }

    .FAQ-question {
        font-family: 'Work Sans', sans-serif;
        color: black;
        font-weight: 600;
        font-size: 14px;
        text-align: left;
    }

    .FAQ-answer {
        margin-bottom: 20px;
 
        p {
            font-family: 'Work Sans', sans-serif;
            color: var(--Grayish-purple);
            font-size: 12.2px;
            font-weight: 500;

        }
    }
}
.minus-inactive {
    display: none;
}
.plus-inactive {
    display: none;
}

.active {
    display: inline;
}
.inactive {
    display: none;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../assets/fonts/WorkSans-VariableFont_wght.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../assets/fonts/WorkSans-Italic-VariableFont_wght.ttf') format('ttf');
    font-weight: italic;
    font-style: normal;
}

@media (min-width: 375px) {
    .img-mobile {
        display: none;
    }

    .img-desktop {
        display: block;
    }
}

@media (max-width: 375px) {
    .img-mobile {
        display: block;
    }

    .img-desktop {
        display: none;
    }
}