h1 {
    text-align: center;
    margin-left: 4%;
}

.container.container-column.container-prestations {
    margin: var(--space-xl) 0px var(--space-xl) 4% ;

    min-width: 70%;
    max-width: 95%;
}

.container.container-column.container-prestations h2,
.container.container-column.container-prestations p {
    margin-left: var(--space-xl);
}

.grid-3 {
    align-items: center;
    place-items: center;
}

.card.card-prestations {
    padding: var(--space-md);
    min-height: 250px;
    width: auto;
    max-width: 400px;
    background-color: var(--second-color);

    display: flex;
    flex-direction: column;

    border: 1px solid var(--fourth-color);
    border-left: 5px solid var(--fourth-color);
    border-radius: var(--bd-rad-lg);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.card-prestations h3 {
    width: 80%;
    margin: 0;
    align-self: flex-start;
}

.card.card-prestations p {
    font-size: 0.8rem;
    width: 80%;
}

.description-prestation {
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.btn.btn-cta {
    width: auto;
    padding: var(--space-lg) var(--space-xl);
    align-self: center;
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* #region Responsive mobile */
@media screen and (max-width: 850px) {
    .card.card-prestations {
        width: 90%;
        min-height: 180px;
    }

    .container.container-column.container-prestations { 
        margin: var(--space-xl) auto; 
    }
}
/* #endregion */

/* #region Responsive Tablet */
    @media screen and (min-width: 440px) and (max-width: 850px) {
        .grid-3 {
            display: flex;
            flex-direction: column;
        }

        .container.container-column.container-prestations {
            max-width: 450px;
            margin-left: 0;
        }

        .type2 {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    }
/* #endregion */

/* #region Responsive Tablet Horizontal */
    @media screen and (min-width: 851px) and (max-width: 1200px) {
        .grid-3 {
            place-items: center;
            row-gap: var(--space-xl);
            grid-template-columns: repeat(2, 0.5fr);
            width: 90%;
        }
    }
/* #endregion */

@media (hover: hover) and (pointer: fine) {
    .card.card-prestations:hover {
        transform: var(--tsfm-lt) translate(20px, 5px);
        box-shadow: var(--sdw-lt);
    }
}