*,
*::before,
*::after {
    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%);
    --Dark-purple: hsl(292, 42%, 14%);
}

html {
    font-family: 'Work Sans', sans-serif;
    font-size: 62.5%;
}

body {
    background-color: var(--Light-pink);
}

.background_img {
    background: url(assets/images/background-pattern-desktop.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 40rem;
    position: absolute;
}

main {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.flex-container {
    width: 55rem;
    display: flex;
    flex-direction: column;
    background-color: var(--White);
    border-radius: .75rem;
    margin: 0;
    padding: 2rem;
    box-shadow: var(--Dark-purple) 1rem 1rem 8rem -4rem;
    z-index: 1;
}

.text-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: start;
    padding: 1.5rem;
}

#star {
    width: 3.5rem;
}

h1 {
    font-weight: 700;
    font-size: 4.5rem;
    margin: 0 0 0 1rem;
}

/* questions */

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.questions {
    font-size: 1.6rem;
    font-weight: 600;
}

.questions:hover {
    color: #AD28EB;
    cursor: pointer;
}

/* Answers */


.hidden {
    display: none;
}


.answer-container {
    width: 95%;
}

.answers {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2rem;
    color: var(--Grayish-purple);
    padding: 0;
    margin: 0;
}


@media (max-width: 600px) {
    
 .background_img {
    background: url(assets/images/background-pattern-mobile.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% 0%;
 }

    .flex-container {
        width: 80%;
        max-width: 55rem;
        padding: 1rem;
    }

    h1 {
        font-size: 3rem;
    }

    #star {
        width: 2.5rem;
    }
}