.container-offre {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    perspective: 1000px;
    max-width: 100%;
    gap: 100px;
}

.container-offre .box {
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.6s;
    width: 100%;
    max-width: 550px;
    height: 750px;
    margin-left: 0;
    border-radius: 25px;
}

.container-offre .box .body {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.9s ease;
}

.container-offre .box:hover .body {
    transform: rotateY(180deg);
}

.container-offre .box .content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    background: linear-gradient(90deg, #5b2c6f, #411A8D, #511C8C);
    transform: rotateY(180deg);
    color: white;
    backface-visibility: hidden;
}

.container-offre .box .imgContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #fff;
}

.container-offre .box .imgContainer .title {
    font-size: 1.2rem;
    color: #333;
}

.container-offre .box .imgContainer .icon {
    font-size: 2rem;
    color: #5b2c6f;
}

.container-offre .box .content h3,
.container-offre .box .content p {
    text-align: center;
    margin: 10px 0;
}

.title-box {
    font-weight: bold;
    font-size: 30px !important;
    text-align: center;
}

.btn-discover:hover,
.btn-discover {
  background-color: white;
  color: black !important;
}

.alink-offre {
    color: white;
    text-decoration: underline;
}

@media screen and (max-width: 480px){
    .container-offre {
        gap: 50px;
    }

    .container-offre .box {
        width: 90%;
        height: 600px;
    }
}

@media screen and (min-width: 1500px) and (max-width: 1920px){
    .container-offre .box {
        width: 25%;
        height: 650px;
    }
}