@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --white: hsl(0, 100%, 100%);
    --purple100: hsl(275, 100%, 97%);
    --purple600: hsl(292, 16%, 49%);
    --purple950: hsl(292, 42%, 14%);
    --border-fill: rgba(211, 211, 211, 0.363);
}

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

html {
    font-size: 62.5%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--purple100);
    min-height: 100dvh;
    font-size: 1.6rem;
    font-family: 'Work Sans', sans-serif;
}

.pattern-background {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 30vh;
    background-image: url('./assets/images/background-pattern-mobile.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;
}

.faq-container {
    width: 90vw;
    margin: auto;
    background-color: var(--white);
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 1rem;
}

h1 {
    font-size: 4.5rem;
    color: var(--purple950);
    padding-bottom: 2rem;
}

h1 > img {
    height: 3rem;
    padding-right: 2rem;
}

.content-container {
    border-bottom: 1px solid var(--border-fill);
}

article.content {
    cursor: pointer;
    text-align: left;
    background-color: var(--white);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

article.content > .content-title {
    font-size: 1.8rem;
    font-weight: bolder;
    color: var(--purple950);
    width: 80%;
}

article.content > .content-title:hover {
    color: rgb(214, 59, 214);
}

button {
    border: 0;
    outline: 0;
    background-color: var(--white);
}

button > img {
    cursor: pointer;
    height: 4rem;
}

.text-content {
    color: var(--purple600);
    padding: 1.5rem 0;
    line-height: 2.5rem;
}

.shrinked {
    display: none;
}

@media screen and (orientation: landscape) {
    body {
        padding: 2% 0;
    }
}

@media screen and (min-width: 30rem) {
    .faq-container {
        width: 40rem;
    }
}

@media screen and (min-width: 90rem) {
    .faq-container {
        width: 60rem;
    }

    .pattern-background {
        background-image: url('./assets/images/background-pattern-desktop.svg');
    }
}