@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    display: grid;
    place-content: center;
    background: linear-gradient(0deg, hsla(240, 73%, 65%, 1) 0%, hsla(257, 74%, 65%, 1) 50%, hsla(273, 75%, 66%, 1) 100%);
    background-attachment: fixed;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 12px;
}
/*General Container*/
.container{
    display: flex;
    width: 850px;
    height: 450px;
    background-color: hsl(0, 0%, 100%);
    border-radius: 1rem;
}
/*Img Container*/
.imgContainer{
    width: 50%;
    background-image: url(images/bg-pattern-desktop.svg);
    background-size: 200% 185%;
    background-position-x: -510px;
    background-position-y: -260px;
    background-repeat: no-repeat;
}
.imgDesk{
    width: 100%;
    height: 100%;
    background-image: url(images/illustration-woman-online-desktop.svg);
    background-repeat: no-repeat;
    background-size: 100.5%;
    background-position-x: -84px;
    background-position-y: 45px;   
}
.box{
    width: 45%;
    height: 45%;
    background-image: url(images/illustration-box-desktop.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    left: -130px;
    top: -290px;
    filter: drop-shadow(0px 20px 15px rgba(0, 0, 0, 0.25));
    animation-name: mover;
    animation-duration: 2800ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
/*Info Container*/
.questionContainer{
    display: flex;
    align-items: center;
    width: 50%;
    transition: all .4s ease-in-out;
}
.cardQuestion{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.question{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid hsl(240, 5%, 91%);
    padding: 0 0 15px;
    margin: 15px 0 0;
}
.ask{
    width: 325px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0 0 10px;
    
}
.ask:hover{
    color: hsl(14, 88%, 65%);
}
.resp{
    display: none;
    color: hsl(240, 6%, 50%);
}
/*Activate JS*/
.rotateArrow{
    transform : rotate(180deg);
    transition: all .18s ease-in-out;
}
.fontWeight{
    font-weight: 700;
}
.respActive{
    display: block;
    opacity: 1;
    animation: fade 1s;
}
/*Animation*/
@keyframes mover {
    0% { transform: translateY(0); }
    50% {
        transform:translateY(-7px);
    }
    100% { transform: translateY(0px); }
}
@keyframes fade {
    from { opacity: 0; }
    to   { opacity: 1; }
    }
/*Media Query*/
@media screen and (max-width: 375px){
    body{
        height: auto;
        padding: 150px 0;
    }
    /*General Container*/
    .container{
        display: flex;
        flex-direction: column;
        width: 300px;
        height: 100%;
    }
    /*Img Container*/
    .imgContainer{
        width: 100%;
        height: 100px;
        background-image: url(images/bg-pattern-mobile.svg);
        background-size: 77.5% 77.5%;
        background-position-x: 27px;
        background-position-y: 20px;
        background-repeat: no-repeat;
    }
    .imgDesk{
        display: none;
    }
    .imgMobile{
        width: 240px;
        height: 180px;
        margin: -110px auto 0 auto;
        background-image: url(images/illustration-woman-online-mobile.svg);
        background-repeat: no-repeat;
    
    }
    .box{
        display: none;
    }
    /*Info Container*/
    .questionContainer{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 25px 0;
    }
    .cardQuestion{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .cardQuestion h1{
        text-align: center;
    }
    .question{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid hsl(240, 5%, 91%);
        padding: 0 0 15px;
        margin: 15px 0 0;
    }
    .ask{
        width: 100%;        
    } 
}