@import url('https://fonts.googleapis.com/css?family=Hind:300,400&display=swap');
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}
.containerw {
    margin: 0 auto;
    padding: 0.3rem 0rem 0rem 0rem;
    width: 87%;
    h2{
        

        font-size: 230%;
        font-weight: bold;
    }
}
.accordion {
    .accordion-item {
        border-bottom: 1px solid #e5e5e5;

        button[aria-expanded='true'] {
            border-bottom: 1px solid #90331c;
        }
    }

    button {
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        padding: 1em 0;
        color: #7288a2;
        font-size: 1.15rem;
        font-weight: 400;
        border: none;
        background: none;
        outline: none;
        cursor: pointer;

        &:hover,
        &:focus {
            color: #90331c;
            border: none !important;
            outline: none !important;
        }
    }

        .accordion-title {
            padding: 0em 1em 0em 0em;
        }

        .icon {
            display: inline-block;
            position: absolute;
            top: 18px;
            right: -2px;
            width: 22px;
            height: 22px;
            border: 1px solid;
            border-radius: 22px;
        }

        .icon::before {
            display: block;
            position: absolute;
            content: '';
            top: 9px;
            left: 5px;
            width: 10px;
            height: 2px;
            background: currentColor;
        }

        .icon::after {
            display: block;
            position: absolute;
            content: '';
            top: 5px;
            left: 9px;
            width: 2px;
            height: 10px;
            background: currentColor;
        }
    }

    button[aria-expanded='true'] {
        color: #90331c;

        .icon::after {
            display:block;

            position:absolute;
            width: 0;
        }

        +.accordion-content {
            opacity: 1;
            width:100%;
            max-height: 100em;
            transition: all 200ms linear;
            will-change: opacity, max-height;
        }
    }

    .accordion-content {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 200ms linear, max-height 200ms linear;
        will-change: opacity, max-height;
        display:block;
        width:100%;
       

        p {
            font-size: medium;
            font-weight: 300;
            margin-top:10px;
            margin-bottom:10px;
            max-height:auto;
            
        }
    }
    
    .accordion-content p {
        padding: 0;
        width: 100%;
    }

@media (min-width: 250px) and (max-width: 720px) {
    .containerw h2{
        font-size:150%;
        line-height:35px;

    }        
    .accordion-content {
        
        margin:0;
        display:block;
        height:auto;
        padding: 10px;
        width: 100%; 
        p{
            font-size:13px;

        }
    }
}