.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.titre-experience-project {
    text-align: center;
    width: 60%;
    padding: 5px 0px 5px 0px;
    background: linear-gradient(90deg,
            rgba(220, 220, 220, 1) 0%,
            rgb(102, 126, 234) 30%,
            rgb(118, 75, 162) 70%,
            rgba(220, 220, 220, 1) 100%);
}

.container-experience-project {
    width: 80%;
    margin: 20px;
    padding: 20px;
    box-shadow: 0px 0px 20px 0px rgb(0, 0, 0, 0.24);
    border-radius: 4px;
    background: rgb(240, 240, 240);
}

.container-experience-project h2 {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgb(53, 53, 53);
}

.card-exp-pro-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 35px;
    gap: 50px;
}

.exp-pro-card {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    flex: 0 0 calc(33.33% - 57px);
    height: 300px;
    border-radius: 8px;
    box-shadow: 1px 1px 8px rgb(180, 180, 180);
    padding: 5px;
    border: 2px solid white;
    transition: box-shadow 0.3s ease, border 0.3s ease, transform 0.3s ease;
}

.exp-pro-card-a {
    text-decoration: none;
    color: black;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.exp-pro-card:hover {
    border: 2px solid rgb(111, 0, 255);
    box-shadow: 1px 1px 12px rgb(160, 160, 160);
    transform: translateY(-5px);
}

.button-container-exp-pro {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin-bottom: 35px;
    margin-top: 20px;
}

@media only screen and (max-width: 576px) {
    .card-exp-pro-container {
        flex-direction: column;
        flex-wrap: unset;
        gap: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .exp-pro-card {
        flex: 0 0 calc(50% - 57px);
    }

    .card-exp-pro-container {
        gap: 15px;
    }
}