*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    color: hsl(238, 29%, 16%);
    font-size: 1em;
    font-family: 'Kumbh Sans';
}

main{
    display: flex;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to bottom,hsl(273, 75%, 66%),hsl(240, 73%, 65%))
}
.ctn-faq{
    display: flex;
    min-width: 1100px;
    background-color: white;
    border-radius: 15px;
}
.faq-ctn,.faq-ctn-img{
    width: 50%;
}
.faq-ctn{
    padding: 0 20px;
}
.faq-ctn-img{
    background-image: url(./images/illustration-woman-online-desktop.svg);
    background-position: -90% center;
    background-repeat: no-repeat;
    position: relative;
    padding: 250px 0;
    background-size: 90% auto;
}

.faq-ctn-img::after{
    content: "";
    width: 191px;
    height: 184px;
    background-image:url("./images/illustration-box-desktop.svg");
    position: absolute;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
    top: 30%;
    left: -70px;
    animation: flow 2s cubic-bezier(0.47, 0, 0.75, 0.72) infinite alternate;
}

@keyframes flow {
    0%{
      top: 35%;
    }
    100%{
      top: 40%;
    }
}
.title-summary{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    user-select: none;
    padding: 10px 0;
}
.title-summary img{
    width: auto;
    height: 7px;
}
.details{
    text-align: justify;
    width: 90%;
    color: hsl(237, 12%, 33%);
}
.details p{
    display:none;
    margin-top: 5px;
}
.ctn-faq{
    padding: 20px 0;
}
.ctn-faq .title-summary h3{
    margin: 0;
    padding: 0;
    line-height: 1em;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    font-weight: lighter;
    font-size: 1.2em;
}

.title-summary h3.active{
    font-weight: bold;
}

.title-summary h3:hover{
    color: hsl(14, 88%, 65%);
}

.title-summary img{
    transition: 0.2s transform;
}

.title-summary img.active{
    transform: rotate(180deg);
}

@media only screen and (max-width:1150px) {
    .ctn-faq{
        min-width:90%
    }
    .faq-ctn-img::after{
        width: 30%;
        height: 30%;
        left:-10%;
        top: 40%;
    }
    @keyframes flow {
        0%{
          top: 40%;
        }
        100%{
          top: 45%;
        }
    }
}
@media only screen and (max-width:700px){
    .ctn-faq{
        display: block;
        margin-top: 30px;
        height: fit-content;
        width: 90%;
    }
    main{
        align-items: center;
    }
    .faq-ctn,.faq-ctn-img{
        width: 100%;
    }
    .faq-ctn-img{
        position: relative;
        padding: 0;
        width: 100%;
    }
    .faq-ctn{
        margin-bottom: 50px;
    }

    .faq-ctn-img::after{
        background-image: url("./images/illustration-woman-online-mobile.svg");
        width: 236px;
        height: 179px;
        top: -128px;
        left: 50%;
        transform: translateX(-50%);
        animation: none;
        background-size: 100%;
    }
    .tfaq{
        text-align: center;
        margin-top: 100px;
    }
    .details{
        width: 100%;
    }
    .title-summary{
        width: 100%;
    }
} 