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

html {
    font-size: 100%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
    background-color: hsl(275, 100%, 97%);
    font-family: "Work Sans", sans-serif;
    font-size: 1rem;  
    font-weight: 400;
    color: hsl(292, 16%, 49%);
}

.container {
    margin:0 2rem;
}

.bg-img {
    height: 32vh;
    width: 100%;
    background-image: url('./assets/images/background-pattern-mobile.svg');
    background-size: cover;
    background-repeat: no-repeat;
    
}

.logo {
    display: flex;
}

.logo img {
    margin-left: 1rem;
    margin-top: 0.7rem;
    width: 2.5rem;
    height: 2.5rem;
} 

h1 {
    margin: 0;
    padding-left: 1rem;
    font-weight: 700;
    font-size: 3rem;
    color: hsl(292, 42%, 14%);
}

.faq {
    max-width: 90%;
    max-height: 300vh;
    height: 100%;
    background-color: hsl(0, 100%, 100%);
    position: relative;
    top: -7rem;
    border-radius: 0.75rem;
    margin: 0 1.75rem;
}

.question {
    border-bottom: 2px solid hsl(275, 100%, 97%);
}

.noborder {
    border: none;
}

#ques1,
#ques2,
#ques3,
#ques4 {
    display: flex;
    justify-content: space-between;
    color: hsl(292, 42%, 14%);
}

#ques1:hover,
#ques2:hover,
#ques3:hover,
#ques4:hover {
    cursor: pointer;
}

.close {
    display: none;
}

p {
    line-height: 1.5rem;
}
.attribution {
    font-size: 0.75rem;
    text-align: center;
}

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

@media (min-width: 43.175em) {
    .faq {
        width: 65%;
        position: relative;
        left: 14rem;
    }
    .bg-img {
        background-image: url('./assets/images/background-pattern-desktop.svg');
    }
}