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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Work Sans";
}
.main{
    height: 100vh;
}
.main .container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(275, 100%, 97%);
    background-image: url(images/background-pattern-desktop.svg);
    background-repeat: no-repeat;
    background-position: top center;
}
.container .content{
    width: 520px;
    border-radius: 15px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
    background: hsl(0, 0%, 100%);
}
.content .header{
    display: flex;
    align-items: center;
    padding: 40px 30px;
}
.content .header h1{
    margin-left: 20px;
    color: hsl(292, 42%, 14%);
    font-weight: 700;
}
.content .body .q-a{
    margin: 0 30px;
    padding: 20px 0;
    border-bottom: 2px solid hsl(275, 100%, 97%);
}
.content .body .q-a:last-child{
    border-bottom: none;
}
.content .body .q-a .question{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content .body .q-a .question h3{
    font-size: 16px;
    font-weight: 600;
    color: hsl(292, 42%, 14%);
}
.body .q-a .re-animate{
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1s ease;
}
.body .q-a .answer p{
    font-size: 14px;
    padding: 10px 0px;
    color: hsl(292, 16%, 49%);
}
.animate{
    overflow: visible;
    opacity: 1;
    height: 100px;
    transition: all 1s ease;
}
@media (max-width: 400px) {
    .container .content{
        max-width: 330px;
    }
}