*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    /* margin-top: 50px; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(155, 109, 149);

}

h1{
    font-size: 3rem;
    padding-bottom: 2rem;
    font-style:oblique;
    text-align: center;
    color: cornflowerblue;
    text-shadow: 3px 3px 5px blue;
}


.container{
   max-width: 700px;
   background: #b9b6b6;
   border-radius: 16px;
   padding: 30px;
   box-shadow: 0px 0px 10px rgb(214, 148, 148);


}


.container .accordian{
    position: relative;
    margin: 10px 0;
    overflow: hidden;
    transition: height 0.7s, padding 0.5s ease-in;
}

.container .accordian .heading{
    padding: 15px;
    font-size: 1.5rem;
    background: linear-gradient(20deg, rgb(178, 214, 224) 10%,rgb(206, 128, 209) 74%);
    border-radius: 10px 50px 0 0;
    color:rgb(19, 124, 211);
    cursor: pointer;
    transition: background 3.7s, color 3.5s;
    position: relative ;
}

.container .accordian .heading::before{
    content: "+";
    position: absolute;
    right: 30px;
    top: 30%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 800;
    transition: transform 0.5s;
    cursor: pointer;
}
.container .accordian.active .heading::before{
    content: "-";
    cursor: pointer;
    top: 30%;
    font-size: 800;
    transform: translateY(-50%) rotate(180deg);

}

.container .accordian .text{
    height: 0;
    background-color: #ddeedd;
    overflow: hidden;
    font-size: 1rem;
    transition: height 2s, padding 3s;
    border-radius: 0px 0px 8px 8px;
    /* padding: 10px; */
}

.container .accordian.active .text{
    height: auto;
    padding: 10px;

}

.container .accordian.active .heading{
    background: linear-gradient(30deg, rgb(123, 185, 123) 45%,rgb(112, 112, 209));
    color: aliceblue;
}