
/* section-animation */
.section-animation {
    --offset-header: 6rem;
    --width-content: 42rem;
    --width-content-descr: 33.25rem;
    --offset-block: 6.5rem;

    position: relative;
}
.section-animation__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    overflow: hidden;
    pointer-events: none;
}
.section-animation__bg svg,
.section-animation__bg img {
    display: block;
    width: 100%;
    height: 100%;
}
.section-animation__bg img {
    object-fit: cover;
}

.section-animation__wrapper {
    z-index: 1;
    position: relative;
    max-width: var(--width-content);
    margin-left: var(--offset-block);
}
.section-animation__header {
    margin-bottom: var(--offset-header);
}
.section-animation__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.section-animation__accordion {
    transition: var(--transition);
    display: grid;
    grid-template-rows: 1fr;
    cursor: pointer;
}
.section-animation__accordion-wrapper {
    transition: var(--transition);
    display: grid;
    grid-template-rows: 1fr;
}
.section-animation__accordion-content {
    overflow: hidden;
    transition: var(--transition);
    max-width: var(--width-content-descr);
}

/**/
.section-animation__accordion:not(._active) {
    opacity: 0.32;
}
.section-animation__accordion:not(._active) .section-animation__accordion-wrapper {
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
}
.section-animation__accordion._active .section-animation__accordion-content {
    padding-top: var(--offset-secondary);
}

/**/
.section-animation__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1900px) {
    .section-animation {
        --offset-header: 6rem;
        --width-content: 35rem;
        --offset-block: 4rem;

        position: relative;
    }
    .section-animation__list {
        gap: 1rem;
    }
}
@media screen and (max-width: 1023.5px) {
    .section-animation {
        display: none;
    }
}