
.accordion{
    width: 100%;
    padding:1rem 0.5rem;
    display: flex;
    flex-direction: column;
    border-bottom:2px solid #d9d9d9;
}

.accordion-toggle{
    display: flex;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    background-color: white;
    z-index: 1;
    position: relative;
    justify-content: space-between;
    align-items: center;
    color:var(--danger);
    font-weight: 500;
}
.accordion-toggle::before,.accordion-toggle::after{
    display: flex;
    cursor: pointer;
    width: 15px;
    height: 3px;
    background-color: var(--accent-light);
    content: "";
    z-index: 1;
    position: absolute;
    right:0.5rem;
    justify-content: space-between;
    color:var(--danger);
    font-weight: 500;
    transition: transform 0.5s ease;
}
.accordion-toggle::after{
    transform: rotate(90deg);
}

.accordion-toggle  .line:first-child{
    transition:all 0.5s ease;
}
.accordion.active .accordion-arrow  .line:first-child{
    transform: rotate(90deg);
 }
.accordion-arrow .line{
    position:absolute;
}
.accordion-body{
    padding:1rem 0.2rem;
    display: none;
    overflow: hidden;
    font-size: 1.1rem;
    font-family: Poppins,sans-serif ;
    transition: transform 0.3s ease-in-out;
    
}

.accordion.active .accordion-body{
   display: block;
}
.accordion.active .accordion-toggle::after{
   transform: rotate(0deg);
}

.accordion-toggle > *{
    text-align: left;
    max-width: calc(100% - 20px);
}
@media screen and (max-width:768px) {
    .accordion{
        padding-bottom:0.5rem;
    }
}