/* Général */
#page-home-banner .banner-adduam {
    position: relative;
    width: 100%;
}

#page-home-banner .background-image {
    height: 370px;
    object-fit: cover;
    width: 100%;
}

/* Carte */
#page-home-banner .card-container {
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: center;
    bottom: -55px;
    width: 100%;
}

#page-home-banner .card {
    display: flex;
    justify-content: center;
    background: white;
    width: 330px;
    border: 1px solid #bdbdbd;
    padding: 20px;
}

#page-home-banner .card-content {
    display: flex;
    gap: 30px;
    width: 100%;
}

#page-home-banner .card-image {
    display: none;
}

#page-home-banner .card-image img {
    max-height: 300px;
}

#page-home-banner .warp-cards {
    display: flex;
}

#page-home-banner .text-button {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#page-home-banner .card-content .card-text {
    min-height: 250px;
    max-width: 500px;
}

#page-home-banner .card-content h3 {
    margin-top: 0px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    font-family: "Allerta Stencil";
    color: black;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;     
}

#page-home-banner .card-content .card-text p {
    color: #7d8a9a;
    line-height: 1.5;
    margin: 10px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;    
}

#page-home-banner .card-button {
    background-color: #EC6500;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

#page-home-banner .card-button:hover {
    background-color: #e65c00;
}

#page-home-banner .button-container {
    padding-top: 23px;
    display: flex;
    gap: 11%;
}


#page-home-banner .button-container>div {
    display: flex;
}

#page-home-banner #arrowdoit {
    cursor: pointer;
    width: 70px;
    height: 14px;
    object-fit: cover;
    object-position: right;
}

#page-home-banner #arrow-gauche {
    cursor: pointer;
    width: 30px;
    height: 14px;
    object-fit: cover;
    object-position: left;
}

#page-home-banner .moblie-imagee {
    display: none;
}



@media (min-width: 816px) {
    #page-home-banner .background-image {
        height: 70vh;
        min-height: 600px;
        max-height: 700px;
    }    
    #page-home-banner .card-container {
        position: absolute;
        bottom: -3rem;
        right: 10%;
        top: unset;
        justify-content: flex-end;
    }

    #page-home-banner .card {
        border: 0;
        padding-top: 30px;
        width: unset;
        height: 60vh;
        min-height: 500px;
        max-height: 600px;
        width: 50%;
        min-width: 500px;        
    }    

    #page-home-banner .card-image {
        display: flex;
        justify-content: center;
        min-width: 150px;
        width: 35%;
    }    

    #page-home-banner .card-image img,
    #page-home-banner .card-text {
        opacity: 0;
        object-fit: cover;
        transition: opacity 0.1s ease-out;
    }

    #page-home-banner .card-image img.active,
    #page-home-banner .card-text.active {
        opacity: 1;
        /* transform: translateX(0); */
    }    

    #page-home-banner .text-button {
        align-items: start;
        width: 65%;
    }

    #page-home-banner .card-content h3 {
        text-align: left;
        color: #1c1c1c;
        font-size: 2rem;
        min-height: 3em;
       
    }

    #page-home-banner .card-content .card-text p {
        text-align: left;
        margin: 0px 0px 10px 0px;
    }

    #page-home-banner .card-buttons {
        margin: 2rem 0;
    }

    #page-home-banner .card-button {
        padding: 12px 32px;
    }

    #page-home-banner .button-container {
        gap: 40px;
    }

    #page-home-banner #arrowdoit {
        width: 100px;
    }

    #page-home-banner #arrow-gauche {
        width: 50px;
    }
}

/* @media(max-height:760px) {
    #page-home-banner .card-container {
        bottom: -120px;
    }
} */