/* @group Background
------------------------------------ */

.background__container h2 {
    color: var(--light-green);
}

@media only screen
and (min-width : 961px) {
    .background__container {
        padding: 5.7rem 0 11rem;
    }
}

@media only screen
and (min-width : 0)
and (max-width : 960px){
    .background__container {
        padding: 6rem 0 5rem;
    }
    .background__container h2 {
        margin-bottom: 2.7rem;
    }
}


.background-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.background-button h4 {
    color: var(--secondary-dark-green);
    font-size: 3.2em;
}

@media only screen
and (min-width : 961px) {
    .background-box {
        padding-top: 6rem;
    }
    .background-button {
        margin-bottom: 3rem;
    }
    .background-button h4 {
        font-size: 3.2em;
    }
    .background-button img {
        display: none;
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .background-box {
        background-color: #d5edff;
        border-radius: 1rem;
        padding: 1.5rem;
    }
    .background-box:not(:last-of-type) {
        margin-bottom: 2rem;
    }
    .background-button {
        column-gap: 1rem;
        padding-right: 1.2rem;
        cursor: pointer;
        transition: padding .75s;
    }
    .background-button h4 {
        font-size: 2.4em;
    }
    .background-button img {
        display: block;
        width: 1.9rem;
        transform: rotate(90deg);
        transition: transform .5s linear;
    }
    .active .background-button {
        padding-bottom: 2.9rem;
    }
    .active .background-button img {
        transform: rotate(-90deg);
    }
}


.background-text p {
    color: var(--main-black);
}

.background-text ul {
    margin-left: 2rem;
}

@media only screen
and (min-width : 961px) {
    .background-text p,
    .background-text li {
        line-height: 1.25em;
    }
    .background-text ul {
        columns: 2;
        column-gap: 5rem;
        page-break-inside: avoid;
        break-inside: avoid-column;
    }
    .background-text li {
        color: #335733;
        list-style: disc;
        margin-bottom: 1.5rem;
    }
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .background-text p,
    .background-text li {
        font-size: 2em;
        line-height: 1.25em;
    }
    .background-text li {
        color: #335733;
        list-style: disc;
        margin-bottom: 1rem;
    }
    .background-text {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .75s, opacity .75s;
    }
    .active .background-text {
        max-height: 80rem;
        overflow: visible;
        opacity: 1;
    }
}

/* @end */


/* Animations */

.background__container h2,
.background__container .background-box {opacity: 0;}

.background__container.animateActive h2,
.background__container.animateActive .background-box {animation: fade .9s forwards;}

.background__container.animateActive h2 {animation-delay:.3s;}     
.background__container.animateActive .background-box:nth-child(2) {animation-delay:.6s;}  
.background__container.animateActive .background-box:nth-child(3) {animation-delay:.9s;}  