* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: « Roboto », sans-serif;
}

/* DEBUT HEADER */

header {
    width: 100%;
    height: 70px;
    background-color: #8c1515;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: fixed;
    z-index: 2;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 50%;
    height: 100%;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

nav {
    width: 30%;
    height: 100%;
}

nav>.menu-icon {
    display: none;
}

nav ul.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 8px;
    max-width: 120px;
    height: 100%;
    background-color: #8c1515;
    position: absolute;
    height: 50px;
    top: 70px;
    right: 0;
}

nav ul.open a {
    font-weight: bolder;
    color: #fff;
}

nav ul.open a::after {
    background-color: #fff;
}

nav ul.open:first-child::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    width: 100%;
    height: 100%;
}

ul li>a {
    text-decoration: 0;
    color: #fff;
    font-size: 18px;
    transition: all .5s ease-in-out;
}

ul li>a:hover {
    text-decoration: underline;
}

/* FIN HEADER */

/* DEBUT MAIN */

main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-height: 10000px;
    position: relative;
    top: 70px;
}


/* DEBUT COUVERTURE */

main .couverture-container {
    width: 100%;
    height: 650px;
    border-bottom: 2px solid #E4E6EB;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 25%, white 75%); */
}

.couverture-container .couverture {
    width: 75%;
    height: 300px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 15px;
    background-color: #074e9e;
    position: relative;
}

.couverture>img {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    opacity: 0.4;
}

.couverture-container .profil {
    width: 75%;
    height: 20%;
    display: flex;
    align-items: center;
    padding-left: 70px;
}

.profil .profil-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

.profil-image>img {
    width: 160px;
    height: 160px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    margin-top: -20px;
}

.couverture-name h2 {
    margin-left: 15px;
}

.more {
    width: 75%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    gap: 10px;
    margin-top: 20px;
}

.more .more-container {
    width: 100%;
    height: 100%;
}

.more-container a {
    text-decoration: none;
    color: #000;
    transition: all 0.4s ease-in-out;
}

.more-container a:hover {
    transform: scale(1.05);
}

.more-container .swiper {
    height: 160px;
}

.more .swiper-slide {
    width: 25%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 5px;
    margin: 25px 0;
    border: 2px solid #E4E6EB;
    border-radius: 15px;
}

.swiper-slide .more-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.more-name h3 {
    font-size: 15px;
}

.more .pagination_ {
    width: 80%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    margin-left: -49px;
    margin-top: -80px;
}

.pagination_ div[class^="swiper-button"]::after {
    display: none;
}

.pagination_ div[class^="swiper-button"] {
    width: 35px;
    height: 35px;
    border: 1px solid rgb(75, 75, 75);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.pagination_ div[class^="swiper-button"]:hover {
    background-color: rgb(75, 75, 75);
    color: var(--colorPrincipal);
    border: 1px solid #fff;
    cursor: pointer;
}

.pagination_ div[class^="swiper-button"] svg {
    width: 60%;
}

/* FIN COUVERTURE*/

/* DEBUT CONTENU MEMBRE */

.infos-container {
    background-color: #E4E6EB;
    max-height: 9000px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.infos-container .infos-content {
    width: 73%;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    margin-top: 15px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 45px;
    padding: 15px 0;
}

.biographie-content,
.formation-content,
.competences-content,
.contacts-content {
    width: 95%;
    max-height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    border: 1px solid #E4E6EB;
    border-radius: 15px;
}

.biographie-content .header-biographie,
.formation-content .header-formation,
.competences-content .header-competences,
.contacts-content .header-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 100px;
}

.header-biographie>.svg,
.header-formation>.svg,
.header-competences>.svg,
.header-contacts>.svg {
    width: 50px;
    height: 50px;
    background-color: #074e9e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-biographie svg,
.header-formation svg,
.header-competences svg,
.header-contacts svg {
    font-size: 25px;
    color: #fff;
}

.main-biographie {
    font-size: 18px;
    line-height: 1.5;
}

.formation-content {
    max-height: 1500px;
    line-height: 1.5;
}

.main-formation {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(40%, 1fr));
    grid-template-rows: repeat(minmax(3), minmax(150px));
    gap: 10px 10px;
    margin-top: 20px;
}

.main-formation .formation-card {
    border-radius: 15px;
    border: 1px solid #E4E6EB;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    gap: 7px;
    background-color: #E4E6EB;
}

.formation-card p:first-of-type {
    font-weight: 700;
}

.formation-card p:not(:first-child) {
    text-align: center;
}

.main-competences {
    display: grid;
    width: 100%;
    justify-content: center;
    grid-template-columns: repeat(3, minmax(30%, 1fr));
    grid-template-rows: repeat(minmax(3), minmax(150px));
    gap: 10px 10px;
    margin-top: 20px;
}

.main-competences .competences-card {
    background-color: #E4E6EB;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

.main-contacts {
    display: grid;
    width: 100%;
    justify-content: center;
    grid-template-columns: repeat(2, minmax(40%, 1fr));
    grid-template-rows: 70px;
    gap: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.contacts-card {
    width: 45%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #E4E6EB;
    border-radius: 15px;
    background-color: #E4E6EB;
    font-weight: bolder;
}

.contacts-card svg {
    font-size: 30px;
}

/* FIN CONTENU MEMBRE */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #000;
    color: #fff;
    font-size: 20px;
    position: relative;
    top: 50px;
}

/* RESPONSIF */

@media screen and (max-width: 1200px) {
    .more .pagination_ {
        width: 81%;
    }
}

@media screen and (max-width: 1050px) {

    .biographie-content,
    .formation-content,
    .competences-content,
    .contacts-content {
        font-size: 14px;
    }

    .main-biographie {
        font-size: 16.5px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 965px) {
    header .logo h2 {
        font-size: 20px;
    }

    .more-name h3 {
        font-size: 13px;
    }
}

@media screen and (max-width: 900px) {
    .couverture-container .couverture {
        width: 100%;
        border-radius: 0;
    }

    .couverture-container .profil {
        justify-content: center;
        padding-left: 0;
        flex-direction: column;
    }

    .profil-image>img {
        margin-top: -80px;
    }

    .couverture-name {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: -70px;
    }

    .couverture-name h2 {
        margin-left: 0;
        text-align: center;
    }

    .couverture-name h2:nth-child(2) {
        margin-left: 5px;
    }

    .more {
        width: 85%;
    }

    .more .pagination_ {
        width: 93%;
    }
}

@media screen and (max-width: 850px) {
    header .logo {
        width: 70%;
    }
}

@media screen and (max-width: 800px) {
    .infos-container .infos-content {
        width: 90%;
    }
}

@media (max-width: 767px) {
    nav>.menu-icon {
        display: flex;
        font-size: 24px;
        cursor: pointer;
        margin-right: 20px;
        margin-left: 10px;
        color: #fff;
        height: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    nav ul {
        display: none;
    }

    nav ul a:hover {
        text-decoration: none;
    }

    .logo h2 {
        font-size: 18px;
    }

}

@media screen and (max-width: 750px) {
    .more .pagination_ {
        width: 94%;
    }
}

@media screen and (max-width: 720px) {
    .more .pagination_ {
        width: 95%;
    }

    .header-biographie>.svg,
    .header-formation>.svg,
    .header-competences>.svg,
    .header-contacts>.svg {
        width: 45px;
        height: 45px;
    }

    .header-biographie svg,
    .header-formation svg,
    .header-competences svg,
    .header-contacts svg {
        font-size: 20px;
    }

    .contacts-card svg {
        font-size: 25px;
    }
}

@media screen and (max-width: 700px) {
    .members .swiper2 {
        width: 85%;
    }

    .members .pagination_ {
        width: 100%;
        margin-left: 2px;
        transform: translateY(300px);
    }
}

@media screen and (max-width: 620px) {
    header .logo h2 {
        font-size: 17px;
    }
}

@media screen and (max-width: 600px) {
    .main-biographie {
        font-size: 15px;
    }

    .main-formation {
        justify-content: center;
        gap: 20px;
        grid-template-columns: repeat(1, minmax(60%, 0fr));
        grid-template-rows: repeat(minmax(5), minmax(150px));
    }

    .contacts-content {
        font-size: 12px;
    }
}

@media screen and (max-width: 590px) {
    .logo img {
        width: 40px;
        height: 40px;
    }

    nav>.menu-icon {
        font-size: 20px;
    }

    footer {
        font-size: 15px;
    }
}

@media screen and (max-width: 560px) {
    header .logo h2 {
        font-size: 15px;
    }

    .more-name h3 {
        font-size: 11px;
    }

    .main-competences {
        grid-template-columns: repeat(2, minmax(30%, 1fr));
    }

    .pagination_ div[class^="swiper-button"] {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 520px) {
    .header-biographie h2,
    .header-formation h2,
    .header-competences h2,
    .header-contacts h2 {
        font-size: 18px;
    }
    
    .main-formation {
        grid-template-columns: repeat(1, minmax(75%, 0fr));
    }

    .more .pagination_ {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    header .logo h2 {
        font-size: 14px;
    }

    .contacts-card {
        width: 48%;
    }

    .biographie-content,
    .formation-content,
    .competences-content,
    .contacts-content {
        font-size: 12px;
    }
}

@media screen and (max-width: 450px) {
    .logo img {
        width: 30px;
        height: 30px;
    }

    main .couverture-container {
        height: 600px;
    }

    .couverture-container .couverture {
        height: 250px;
    }

    .couverture-name h2 {
        font-size: 20px;
    }

    .contacts-card {
        overflow-x: scroll;
    }

    .more .pagination_ {
        margin-left: -47px;
    }
}

@media screen and (max-width: 420px) {
    footer {
        font-size: 12px;
    }

    header .logo h2 {
        font-size: 12px;
    }
}

@media screen and (max-width: 415px) {
    header .logo h2 {
        font-size: 12.5px;
    }
}

@media screen and (max-width: 390px) {
    header .logo h2 {
        font-size: 10px;
    }
}

@media screen and (max-width: 360px) {
    .couverture-name h2 {
        font-size: 15px;
    }

    header .logo {
        width: 85%;
    }

    .main-formation {
        grid-template-columns: repeat(1, minmax(85%, 0fr));
    }
}

@media screen and (max-width: 340px) {
    .biographie-content,
    .formation-content,
    .competences-content,
    .contacts-content {
        font-size: 10px;
    }
}