@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --White: #ffffff;
    --LightPink: #f9f0ff;
    --GrayishPurple: #8c6991;
    --DarkPurple: #2f1533;
}   

/* style */

html{
    min-height: 100vh;
    background-color: var(--LightPink);
}

body{
    margin: 0;
    padding: 0;
    font-family: "Work Sans",sans-serif;
    font-size: 16px;
    color: var(--DarkPurple);
}

.background{
    background-image: url(assets/images/background-pattern-mobile.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: var(--LightPink);
    padding: 7rem 2rem;
    display: flex;
    justify-content: center;
}

.accordion__container{
    background-color: var(--White);
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    padding: 2rem;
    padding-bottom: 0.5rem;
    max-width: 30rem;
}

.title__wrap{
    display: flex;
    align-items: center;
}

.section__wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title__icon{
    height: 1.5rem;
}

.container__title{
    margin: 1rem;
}

.section__title{
    font-size: 16px;
    font-weight: 600;
    margin: 1.5rem 0;
    user-select: none;
}

.section__icon{
    height: 2rem;
    user-select: none;
}

.accordion__section{
    border-bottom: 2px solid var(--LightPink);
    cursor: pointer;
}

.accordion__section:hover{
    color: #A325E0;
}

.accordion__section:last-child{
    border-bottom: none;
}

.section__text{
    color: var(--GrayishPurple);
    font-size: 12px;
    line-height: 1rem;
    height: auto;
    margin: 0;
    margin-bottom: 1.5rem;
}

.hide{
    height: 0;
    margin: 0;
    overflow: hidden;
}

.section__icon{
    background-color: #A325E0;
    color: var(--LightPink);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
}

.dark{
    background-color: #2C142E;
}

/* desktop style */

@media screen and (width>500px){
    .background{
        background-image: url(assets/images/background-pattern-desktop.svg);
    }
}