.text-card, .media-card {
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    /* Applique la transition à toutes les propriétés */
}

.card {
    width: 100vw;
    display: flex;
    margin-top: 100px;
    justify-content: center;
    align-items: flex-start;
    user-select: none;
}

.card-type2>.text-card {
    margin-left: -30px;
    z-index: 10;
}


.card-type1>.text-card {
    margin-right: -30px;
    z-index: 10;
}



.media-card {
    max-width: 40vw;
    border-radius: 25px;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
}

.media-card:hover,
.text-card:hover {    
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.7));
}

.media-card:hover{
    transform: scale(1.015);
}


.text-card {
    max-width: 40vw;
    padding: 20px;
    border-radius: 25px;
    margin-top: 20px;
    color: #ebf0f5;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}

.title-card {
    font-size: 2em;
    margin-left: 5px;
    text-shadow:  0px 0px 10px rgba(0, 0, 0, 0.5);
}

.description-card {
    font-size: 1em;
}

.boutons-card {
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.7));  
    padding-left: 5px;
}

.button-card-run,
.button-card-code {
    margin-right: 15px;
    stroke: #ebf0f5;
}

.button-card-run:hover>svg {
    animation: none;
    stroke: rgb(13, 209, 13);
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.7));  
}

.button-card-code:hover>svg {
    stroke: rgb(12, 12, 12);
}

.button-card-run svg {
    animation: pulsate-green 2s infinite;
}

@keyframes pulsate-green {
    0%, 100% {
        stroke: #ebf0f5;
        filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.7));  
    }
    50% {
        stroke: rgb(13, 209, 13);
        filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.7));  
    }
}

a {
    color: inherit; 
    text-decoration: none; 
}

.langages-card{
    display: flex;
    font-size: 1.2em;
    margin-top: 10px;
    padding-left: 7px;
}
.langages-card > p{
    margin-right: 20px;
    margin-left: 0px;
    color: #ebf0f5d2;
}

.date-card{    
    color: #ebf0f5c5;
    font-size: 1.2em;
}