@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');

:root{
    /*Background gradient*/
    --soft-violet: hsl(273, 75%, 66%);
    --soft-blue: hsl(240, 73%, 65%);
    --white: #fff;

    /*Text title, bold question*/
    --very-dark-desaturated-blue: hsl(238, 29%, 16%);

    /*Text*/
    --Very-dark-grayish-blue: hsl(237, 12%, 33%);

    /*hover*/
    --Soft-red: hsl(14, 88%, 65%);

    --Dark-grayish-blue: hsl(240, 6%, 50%);

    /*Dividers linea*/
    --Light-grayish-blue: hsl(240, 5%, 91%);

    /*font size*/
    --fontSize: 12px;
}


*{
    box-sizing: border-box;
}

html{
    font-size: var(--fontSize);
}

body{
    margin: 0;
    font-family: 'Kumbh Sans', sans-serif;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(var(--soft-violet), var(--soft-blue));
    display: grid;
    justify-content: center;
    align-content: center;
}

.wrapper{
    background: white;
    border-radius: 30px;
    height: 509px;
    width: 920px;
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-gap: 6rem;
    background-image: url(images/bg-pattern-desktop.svg);
    background-repeat: no-repeat;
    background-position: 1260% 65%;
}

.question_answer_accordion > .answer {
    display: none;
  }

.active > .answer {
    display: block;
    padding-bottom: 1.3rem;
    color: black;
}

.accordion_wrapper{
    margin-top: 70px;
    display: flex;
    flex-direction: column;
}

.accordion_questions{
    height: 100%;
    display: flex;
    flex-direction: column;    
}

.question_answer_accordion{
    width: 350px;
    border-bottom: 1px solid #e8e8ea;
}

.title_accordion{
    font-size: 3rem;
    margin-top: 0px;
}

.question_title{
    font-size: 1.2rem;
    font-weight: 400;
    margin: 1.4rem 0rem;
    color: (var(--Very-dark-grayish-blue));
}

.question{
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.3s;
}

.question img {
    align-self: center;
}

.images_wrapper{
    position: relative;    
}

.image_wrapper_inner{
    background: url(images/illustration-woman-online-desktop.svg);
    height: 100%;
    background-repeat: no-repeat;
    background-position: 120% center;    
}

.box{
    position: absolute;
    top: 42%;
    left: -25%;
}

.active img{
    transform: rotate(180deg);
    transition: all 0.2s ease-in;
}

.active h3{
    font-weight: 700;
}

@media (max-width: 700px){
    .wrapper{
        width: 350px;
        grid-template-columns: 1fr;
        grid-template-rows: 100px 1fr;
        grid-gap: 0.5rem;
        position: relative;
        padding: 1rem;
        height: 530px;
    }

    .images_wrapper{
        background: url(images/bg-pattern-mobile.svg);
        background-repeat: no-repeat;
        background-position: center 590%;
    }

    .image_wrapper_inner{
        position: absolute;
        width: 100%;
        height: 200px;
        background-size: 72%;
        background-position: center;
        top: -129%;
    }

    .box{
        width: 55px;
        left: 19%;
        top: -30%;
    }

    .accordion_wrapper{
        margin-top: 0px;        
    }

    .question_answer_accordion{
        width: 100%;
    }

    .title_accordion{
        text-align: center;
    }
}