:root {
    --primary: #FE3B66ff;
    --secondary: rgb(255, 92, 127);
    --light: #F7FAFF;
    --dark: #1D1D27;
}

.myCardContainer {
    display: flex;
    flex-direction: column-reverse;
}

.myCardContainer .myCard {
    display: flex;
    margin: 20px 0;
}

.myCardContainer .myCard .image {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 335px;
    border-radius: 25px 0 0 25px;
}

.myCardContainer .myCard .contenu {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    background-color: rgb(230, 22, 67);
    padding: 40px;
    border-radius: 0 25px 25px 0;
    width: 100%;
    height: 335px;
}

.myCardContainer .myCard .contenu .date {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.myCardContainer .myCard .contenu .titre {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}

.myCardContainer .myCard .contenu .description {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.myCardContainer .myCard .contenu .action {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.myCardContainer .myCard .contenu .action > * {
    border: 1px solid #f1f1f1;
    padding: 5px 50px;
    font-size: 15px;
    color: #f1f1f1;
    background-color: rgb(230, 22, 67);
    border-radius: 5px;
    transition: all .2s ease;
}

.myCardContainer .myCard .contenu .action > *:hover {
    color: rgb(230, 22, 67);
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 10px 0 #00000036;
    transform: translateY(-3px);
}

.myCardContainer .myCard .contenu .action > *:active {
    color: rgb(230, 22, 67);
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 10px 0 #00000036;
    transform: scale(0.9, 0.9);
}

@media (max-width: 1200px) {
    .myCardContainer .myCard .contenu .titre {
        font-size: 2rem;
    }

    .myCardContainer .myCard .contenu .description {
        overflow-y: auto;
    }
}

@media (max-width: 991.98px) {
    .myCardContainer .myCard {
        flex-direction: column;
    }

    .myCardContainer .myCard .image {
        border-radius: 25px 25px 0 0;
    }

    .myCardContainer .myCard .contenu {
        border-radius: 0 0 25px 25px;
        height: auto;
    }

    .myCardContainer .myCard .contenu .titre {
        font-size: 1.5rem;
    }

    .myCardContainer .myCard .contenu .date {
        font-size: 0.8rem;
    }
}

@media (max-width: 500px) {
    .myCardContainer .myCard .contenu .action {
        flex-direction: column;
    }

    .myCardContainer .myCard .contenu .action > * {
        padding: 5px 0;
        width: 100%;
        text-align: center;
    }

    .myCardContainer .myCard .contenu .action a[jessy="first"] {
        margin-bottom: 10px;
    }

    .myCardContainer .myCard .contenu .titre {
        font-size: 1.7rem;
    }
}