*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.title{
    font-size: 50px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    text-decoration: underline 4px;
}


.questions-container{
    width: 1000px;
    margin: 0 auto;
}
.ans {
    margin-top: 20px;
    margin-bottom: -10PX;
}
/* .question{
    border-top: 3px solid #2b2b2b
} */
.question button{
    width: 100%;
    display: flex;
    background-color: #2b2b2b;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border:none;
    outline: none;
    font-size: 22px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    line-height: 30px;

}
.question p{
    font-size: 22px;
    max-height: 0;
    opacity: 0;
    line-height: 1.5;
    overflow: hidden;
    transition: all 0.6s ease;
}
.d-arrow{
    transition: transform 0.5s ease-in ;
    color: #fff;
    margin-left: 20px;
}
span {
    text-align: start;
}
/*add this class when click*/
.question p.show{
    max-height: 200px; 
    opacity: 1;
    padding:0px 15px 30px 15px;
}
.question button .d-arrow.rotate{
    transform: rotate(180deg);
}
