main {
    font-family: var(--fa);
    h1 {
        font-size: 30px;
        color: var(--mc);
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 20px;
    }
    .container-instructeur {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: stretch;
        margin: 0 auto;
        flex-wrap: wrap;
        .instructeur {
            width: 45%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre légère et douce */
            padding: 5px 7.5px;
            min-height: fit-content;
            display: flex;
            flex-direction: column;
            margin-bottom: 30px;
            .name {
                text-transform: uppercase;
                color: var(--mc);
                text-align: center;
                font-weight:600;
                font-size: 24px;
                border-bottom: 2px solid var(--mc);
            }
            .container-part {
                margin-top: 5px;
                display: flex;
                flex-direction: row;
                justify-content: center;
                gap: 5px;
                flex: 1;
                .picture {
                    width: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    img {
                        object-fit: cover;
                        width: auto;
                        height: 300px;
                      	min-height: 300px;
                      	max-height: 300px;
                        max-width: 100%;
                        min-width: 20%;
                    }
                }
                .box-qualifications {
                    width: 50%;
                    display: flex;
                    flex-direction: column;
                    border-left: 2px solid var(--mc);
                    padding-left: 5px;
                    gap: 5px;
                    .title {
                        color: var(--mc);
                        text-align: center;
                        text-transform: uppercase;
                        font-weight: 500;
                        font-size: 18px;
                    }
                    .qualification {
                        display: flex;
                        align-items: center;
                        color: #000;
                        text-transform: capitalize;
                        img {
                            width:18px;
                            height: 18px;
                            margin-right: 7.5px;
                        }
                    }
                    a {
                        outline: 1px solid red;
                        width: 80%;
                        padding: 5px 0;
                        text-align: center;
                        color: var(--lc);
                        outline: 1px solid transparent;
                        background: var(--mc);
                        border-radius: 10px;
                        margin: 0 auto;
                        text-decoration: none;
                        transition: 0.2s;
                        margin-top: auto;
                        margin-bottom: 10px;
                        &:hover {
                            outline: 1px solid var(--mc);
                            background: var(--lc);
                            color: var(--mc);
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {
    main {
        h1 {
            font-size: 25px;
        }
        .container-instructeur {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 40px;
            .instructeur {
                width: 90%;
                margin: 0 auto;
                .name {
                    font-size: 20px;
                }
                .container-part {
                    flex-direction: column;
                    .picture {
                        width: 100%;
                        background: rgba(0, 0, 0, 3%);
                        img {
                            max-height: 200px;
                            height: auto;
                            max-width: 100%;
                            min-width: 20%;
                        }
                    }
                    .box-qualifications {
                        width: 100%;
                        padding-left: 0;
                        border: none;
                        .title {
                            font-size: 17px;
                        }
                        .qualification img {
                            width:17px;
                            height: 17px;
                        }
                    }
                }
            }
        }
    }
}