.installation {
    display: flex;
    height: fit-content;
    width: 100%;
    justify-content: center;
    padding: 0;
    /* align-items: stretch; */
}

.installation-wrapper {
    padding-block: 5rem;
}

.installation .box-top,
.installation .box-top-start,
.installation .box-top-end {
    /* border: 3px solid var(--primary-color); */
    /* background-color: var(--primary-color); */
    width: calc(100% / 4);
    border-radius: 1rem;
    border-left: 0rem;
    position: relative;
    overflow: hidden;
}

.installation .box-top-start {
    display: flex;
    align-items: center;
    justify-content: end;
}

.installation .box-top-end {
    display: flex;
    align-items: center;
    justify-content: start;
}

.installation .box-top-start img,
.installation .box-top-end img {
    height: 50px;
    width: auto;
}

.installation .box-top:nth-child(even) {
    border-top: 3px solid var(--primary-color);
    /* background-color: red; */
    /* border-left: 3px solid var(--primary-color); */
}

.installation .box-top:nth-child(odd) {
    border-bottom: 3px solid var(--primary-color);
    /* border-right: 3px solid var(--primary-color); */

}

.installation .box-middle {
    overflow: hidden;
    box-sizing: border-box;
    margin-block: .5rem;
    height: calc(100% - 1rem);
    width: calc(100%);
    position: relative;
    /* border: 1px solid black; */

}

.installation .box-middle-half {
    height: 50%;
    position: absolute;
    top: 0rem;
    width: 100%;
    /* border-radius: 1rem; */
    border-left: 3px solid var(--primary-color);
}

.installation .box-middle-half-last {
    height: 50%;
    position: absolute;
    bottom: 0rem;
    width: 100%;
    /* border-radius: 1rem; */
    border-right: 3px solid var(--primary-color);
    /* background-color: red; */
}

.installation .box-middle-odd {
    border-right: 3px solid var(--primary-color);
}




.installation .box-middle-even {
    border-right: 3px solid var(--primary-color);
}

.installation .box-middle-last {
    border-right: none !important;
}

.installation .box-bottom,
.installation .box-bottom-odd {
    width: calc(100% - .8rem);
    height: 100%;
    /* border: 1px solid ; */
    border-radius: 1rem;
    margin-inline: .4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.installation .box-bottom {
    background-color: var(--secondary-color);
}


.installation .box-bottom figure,
.installation .box-bottom-odd figure {
    width: 100%;
    height: auto;
    max-height: 200px;
    display: flex;
    justify-content: center;
}

.installation .box-bottom figure img,
.installation .box-bottom-odd figure img {
    width: 60%;
    height: auto;
    max-height: 200px;
}


@media only screen and (max-width : 900px) {
    .installation {
        display: flex;
        height: fit-content;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        padding: 3rem;
    }

    .installation .box-top,
    .installation .box-top-start,
    .installation .box-top-end {

        width: calc(100%);
        border-radius: 1rem;
        border-left: 0rem;
        position: relative;
        overflow: hidden;
    }

    .installation .box-top-start {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .installation .box-top-end {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .installation .box-top-start img,
    .installation .box-top-end img {
        height: 50px;
        width: auto;
    }

    .installation .box-bottom figure img,
    .installation .box-bottom-odd figure img {
        width: 20%;
        height: auto;
        max-height: 200px;
    }

    .installation .box-top:nth-child(even) {
        border-top: none;
        /* background-color: red; */
        /* border-left: 3px solid var(--primary-color); */
    }

    .installation .box-top:nth-child(odd) {
        border-bottom: none;
        /* border-right: 3px solid var(--primary-color); */

    }

    .installation .box-middle-half {
        height: 50%;
        position: absolute;
        top: 0rem;
        width: 100%;
        /* border-radius: 1rem; */
        border-left: none;
    }

    .installation .box-middle-half-last {
        height: 50%;
        position: absolute;
        bottom: 0rem;
        width: 100%;
        /* border-radius: 1rem; */
        border-right: none;
        /* background-color: red; */
    }

    .installation .box-middle-even {
        border-right: none;
    }

    .installation .box-middle-odd {
        border-right: none;
    }

    .installation .box-middle-last {
        border-right: none !important;
    }


}


@media only screen and (max-width : 600px) {
    .installation {
        padding: 2rem;
    }
}