*,
*::before,
*::after {
    padding: 0;
    margin: 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%);
    --toggle-color: #AD28EB;
}

.hidden {
    p {
        font-size: 0;
    }

    .toggle {
        content: url('assets/images/icon-plus.svg');
    }
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    width: 100%;
    background: var(--Light-pink) url('assets/images/background-pattern-mobile.svg') no-repeat top/contain;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

header {
    display: flex;
    align-items: center;
}

h1 {
    font-weight: 700;
    font-size: 3rem;
}

h2 {
    font-weight: 600;
    color: var(--Dark-purple);
}

p {
    color: var(--Grayish-purple);
    font-weight: 400;
    font-size: 0.9rem;
    padding-right: 1.2rem;
    opacity: 0.8;
}

.container {
    max-width: 600px;
    height: 80%;
    margin: 10rem auto;
    padding: 0 1rem;
}

.contact-card {
    /* ADD BOX SHADOW */
    background: var(--White);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 10px;
}

.contact-card header img {
    height: 1.5rem;
    margin-right: 1rem;
}

.question {
    padding: 1rem 0;
    border-bottom: 2px solid var(--Light-pink);
    position: relative;
    padding-left: 0.8rem;
}

.contact-card .question:last-child {
    border-bottom: none;
}

.question header {
    justify-content: space-between;
    margin-bottom: 2rem;
}

.question header:hover {
    h2 {
        color: var(--toggle-color);
    }

    cursor: pointer;
}

.question h2 {
    font-size: 1rem;
    padding-right: 3rem;
}

.question .toggle {
    height: 2rem;
    margin-right: 1rem;
}

@media (min-width: 768px) {
    body {
        background-image: url('assets/images/background-pattern-desktop.svg');
    }

    p {
        padding-right: 2rem;
    }
}