@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600;700&display=swap');

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

:root {
    --white: hsl(0, 0%, 100%);
    --light-pink: hsl(275, 100%, 97%);
    --grayish-purple: hsl(292, 16%, 49%);
    --purple: #AD28EB;
    --dark-purple: hsl(292, 42%, 14%);

    --ff-main: 'Work Sans', sans-serif;
    --fw-400: 400;
    --fw-600: 600;
    --fw-700: 700;
}

body {
    font-family: var(--ff-main);
    color: var(--dark-purple);
    background-image: url('assets/images/background-pattern-desktop.svg');
    background-size: contain;
    background-repeat: repeat-x;
    background-color: var(--light-pink);
}

h1 {
    font-weight: var(--fw-700);
}

h4 {
    font-weight: var(--fw-600);
    margin-right: 1.4rem;
}

#accordion-container {
    display: grid;
    place-items: center;
    width: 100%;

}

#accordion {
    background-color: var(--white);
    padding: 1.8rem;
    margin: 8rem auto;
    border-radius: 1rem;
    box-shadow: 0px 32px 56px 0px rgba(80, 0, 118, 0.10);
    width: 90%;
    max-width: 535px;
}

.title-flex-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-weight: var(--fw-700);
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plus-sign {
    width: 30px;
    height: 31px;
}

.minus-sign {
    width: 30px;
    height: 31px;
}

ul {
    list-style-type: none;
}

.list-flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: var(--fw-600);
    letter-spacing: .2px;
    font-size: 1rem;
    margin: .3rem auto;
}

.list-answer {
    color: var(--grayish-purple);
    font-weight: 400;
    font-size: .9rem;
    line-height: 1.5;
    margin: 1rem auto;
    font-weight: var(--fw-400);
}

li {
    border-color: hsl(0, 0%, 90%);
    border-bottom-style: solid;
    border-width: 1px;
    padding-bottom: .7rem;
}

ul :nth-last-child(1) {
    border-bottom-style: none;
    padding-bottom: 0;
}

li :hover {
    cursor: pointer;
}

li :hover h4 {
    color: var(--purple);
}

.hide {
    display: none;
}

@media (max-width: 450px) {
    body {
        background-image: url(./assets/images/background-pattern-mobile.svg);
    }
}