:root {
    --white-color: hsl(0, 0%, 100%);
    --light-pink-color: hsl(275, 100%, 97%);
    --grayish-purple-color: hsl(292, 16%, 49%);
    --dark-purple-color: hsl(292, 42%, 14%);
    --font-size-paragraphs: 16px;
    --font-family: "Work Sans", sans-serif, serif;
    --font-weight-bolder: 700;
    --font-weight-bold: 600;
    --font-weight: 400;
}

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

body {
    width: 100%;
    height: 100vh;
    font-size: var(--font-size-paragraphs);
    font-family: var(--font-family);
}

main {
    width: 100%;
    height: 100%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url("assets/images/background-pattern-desktop.svg") no-repeat;
    background-size: 100%;
    font-size: inherit;
    font-family: inherit;
}

#faq-container {
    width: 50%;
    height: 65%;
    padding: 1.2em;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white-color);
    box-shadow: 10px 10px 60px 1px var(--grayish-purple-color);
    overflow: auto;
    scrollbar-color: var(--grayish-purple-color) transparent;
}

#faq-title {
    display: flex;
    align-items: center;
    gap: 1.2em
}

#faq-title h1 {
    font-size: 3em;
    font-weight: var(--font-weight-bolder);
}

#faq-title img {
    height: 2.7em;
}

.accordion {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expand-contract-img {
    height: 2rem;
}

.question {
    font-size: 1em;
    font-weight: var(--font-weight-bold);
}

button {
    border: none;
    background: transparent;
}

button:hover {
    cursor: pointer;
}

.answer {
    font-weight: var(--font-weight);
    color: var(--grayish-purple-color);
}

.attribution {
    position: absolute;
    bottom: 20px;
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

.hidden {
    display: none;
}

@media (width < 700px) {
    #faq-container {
        width: 90%;
    }
}

@media (width > 1440px) {
    body {
        font-size: 3vh;
    }


}