.athlete {
    text-align: center;
}

.athlete h1 {
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, var(--couleur-tertiaire), var(--couleur-secondaire));
    border-image-slice: 1;
    top: 20px;
    position: relative;
    font-weight: 800;
}

.athlete .team-athletes {
    display: grid;
    grid-template-columns: none;
    gap: 20px;
    margin: 40px 0 0 0;
}

.athlete .img-athlete img {
    width: 280px;
}

.athlete .info-athlete {
    padding: 20px;
}

.athlete .info-athlete h2 {
    font-weight: 800;
}

.athlete .info-athlete h5 {
    font-weight: 800;
}

.niv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.niv p.left {
    background-color: #D3D828;
    padding: 10px;
    border-radius: 20px;
    width: auto;
    justify-self: end;
    font-weight: 800;
    box-shadow: rgb(0 0 0 / 39%) 0px 3px 8px;
    text-wrap: nowrap;
}

.niv p.right {
    background-color: #D3D828;
    padding: 10px;
    border-radius: 20px;
    width: auto;
    justify-self: start;
    font-weight: 800;
    box-shadow: rgb(0 0 0 / 39%) 0px 3px 8px;
    text-wrap: nowrap;
}

.logo-partenaire {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

}

.logo-partenaire img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid #ccc;
}


/* Media Queries */
@media (min-width: 576px) {
    .athlete {
        text-align: center;
    }

    .athlete h1 {
        text-transform: uppercase;
        display: inline-block;
        padding-bottom: 5px;
        border-bottom: 5px solid;
        border-image: linear-gradient(to right, var(--couleur-tertiaire), var(--couleur-secondaire));
        border-image-slice: 1;
        top: 20px;
        position: relative;
        font-weight: 800;
    }

    .athlete .team-athletes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 40px 10px 0 10px;
    }

    .athlete .img-athlete img {
        width: 220px;
    }

    .athlete .info-athlete {
        padding: 0 10px 10px 10px;
    }

    .athlete .info-athlete h2 {
        font-weight: 800;
    }

    .athlete .info-athlete h5 {
        font-weight: 800;
    }

    .niv {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .niv p.left {
        background-color: #D3D828;
        padding: 10px;
        border-radius: 20px;
        width: auto;
        justify-self: end;
        font-weight: 800;
    }

    .niv p.right {
        background-color: #D3D828;
        padding: 10px;
        border-radius: 20px;
        width: auto;
        justify-self: start;
        font-weight: 800;
    }

    .logo-partenaire {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .logo-partenaire img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: contain;
        border: 2px solid #ccc;
    }

}

@media (min-width: 768px) {}

@media (min-width: 992px) {
    .athlete {
        text-align: center;
    }

    .athlete h1 {
        text-transform: uppercase;
        display: inline-block;
        padding-bottom: 5px;
        border-bottom: 5px solid;
        border-image: linear-gradient(to right, var(--couleur-tertiaire), var(--couleur-secondaire));
        border-image-slice: 1;
        top: 20px;
        position: relative;
        font-weight: 800;
    }

    .athlete .team-athletes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 80px 200px 0 200px;
    }

    .athlete .img-athlete img {
        width: 320px;
    }

    .athlete .info-athlete {
        padding: 0 10px 10px 10px;
    }

    .athlete .info-athlete h2 {
        font-weight: 800;
    }

    .athlete .info-athlete h5 {
        font-weight: 800;
    }

    .niv {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .niv p.left {
        background-color: #D3D828;
        padding: 10px;
        border-radius: 20px;
        width: auto;
        justify-self: end;
        font-weight: 800;
    }

    .niv p.right {
        background-color: #D3D828;
        padding: 10px;
        border-radius: 20px;
        width: auto;
        justify-self: start;
        font-weight: 800;
    }

    .logo-partenaire {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .logo-partenaire img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: contain;
        border: 2px solid #ccc;
    }
}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}