*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #fff;
    margin-top: 80px;
    font-family: 'Cabin', sans-serif;
    overflow-x: hidden;
    min-font-size: 1.15;
}

.equipeContainer{
    margin-top: 80px;
}

.presentationEquipe{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ff3131;
    padding: 50px;
    gap:20px;
    color: white;
}

.presentationEquipe p{
    font-size: 1.3em;
}

.presentationEquipe h1{
    font-size: 3.125em;
}

.imageEquipeBanniere{
    margin-top: 40px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 60vh;
}

.imageEquipeBanniere img{
    width: 100%;
    object-fit: cover;
    display: block;
}

.button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.button:hover {
    background-color: #555;
}

.equipeContainer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 40px;
    align-items: end; /* Aligne verticalement les colonnes */
}

.gauche {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.gauche img,
.droite img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gauche img {
    width: calc(50% - 10px);
}

.droite {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.redirectionEquipe{
    display: flex;
    justify-content: center;
}

.redirectionBouton{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff3131;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    width: 20%;
}

.redirectionBouton:hover{
    background-color: #e8695e;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .equipeContainer {
        column-count: 2;
    }
    .image-wrapper {
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .equipeContainer {
        column-count: 1;
    }

    .image-wrapper {
        height: auto;
    }

    .redirectionBouton{
        width:40%
    }
}

@media screen and (max-width: 900px) {
    .equipeContainer {
        grid-template-columns: 1fr;
    }

    .gauche {
        flex-direction: column;
    }

    .gauche img {
        width: 100%;
    }

    .droite {
        height: auto;
    }
}