* {
    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: 100px;
    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 */

.home {
    width: 100%;
    height: 500px;
    padding: 15px;
    display: flex;
    color: #fff;
    position: relative;
    top: 70px;
}

.home .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.home .accueil {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #074e9e;
}

.accueil .accueil-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.accueil-message h1 {
    font-size: 42px;
    text-transform: uppercase;
}

.accueil>img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    min-width: 100%;
    height: 100%;
    opacity: 0.4;
}

.dd {
    display: flex;
    gap: 10px;
}

.swiper-slide .static-txt {
    display: inline-flex;
    align-items: center;
}

.swiper-slide .dynamic-txts {
    height: 90px;
    line-height: 90px;
    overflow: hidden;
}

.dynamic-txts li {
    list-style: none;
    position: relative;
    top: 0;
    animation: slide 6s steps(4) infinite;
}

@keyframes slide {
    100% {
        top: -360px;
    }
}

.dynamic-txts li span {
    position: relative;
}

.dynamic-txts li span::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #021225;
    border-left: 2px solid #8c1515;
    animation: typing 1.5s steps(10) infinite;
}

@keyframes typing {
    100% {
        left: 100%;
        margin: 0 -35px 0 10px;
    }
}

.upc {
    background-color: #074e9e;
    position: relative;
}

.upc .upc-content {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.upc>img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
}

.upc a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #002147;
    text-decoration: 0;
    border-radius: 15px;
    padding: 10px;
    transition: all .9s ease-in-out;
}

.upc a:hover {
    background-color: #002147;
    color: #fff;
}

/* MEMBRE SECTION */

.members-container {
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    position: relative;
    top: 70px;
}

.members-container h2 {
    text-align: center;
    padding: 20px;
    font-size: 42px;
    text-transform: uppercase;
}

.members-container>span {
    width: 150px;
    height: 5px;
    background-color: #002147;
    margin: 0 auto;
}

.members-content {
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.members-content .members-message {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1.5;
}


.members-content .members {
    width: 42%;
    padding: 15px;
    margin-right: 90px;
    /* background-color: red; */
}

.members .swiper2 {
    width: 100%;
    height: 600px;
}

.members .pagination_ {
    width: 47%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    margin-left: -53px;
    transform: translateY(-250px);

}

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

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

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

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

.swiper-slide-container {
    /* background-color: #efefef; */
    color: #fff;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.swiper-slide-container .member-image {
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-image>img {
    width: 220px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.red {
    background-color: #8c1515;
}

.yellow {
    background-color: #dbdb07;
}

.blue {
    background-color: #002147;
}

.member-name {
    width: 100%;
}

.member-name h2 {
    font-size: 30px;
    text-align: center;
}

.member-profil {
    padding: 15px;
    width: 100%;
    height: 30%;
}

.member-profil p {
    font-size: 20px;
}

.swiper2 .swiper-slide-container>a {
    width: 25%;
    height: 40px;
    margin-left: 15px;
    background-color: #fff;
    text-decoration: 0;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
}

.swiper2 .swiper-slide-container>.red-link {
    color: #8c1515;
    transition: all .9s ease-in-out;
}

.swiper2 .swiper-slide-container>.red-link:hover {
    background-color: #c90909;
    color: #fff;
}

.swiper2 .swiper-slide-container>.blue-link {
    color: #002147;
    transition: all .9s ease-in-out;
}

.swiper2 .swiper-slide-container>.blue-link:hover {
    background-color: #074e9e;
    color: #fff;
}

.swiper2 .swiper-slide-container>.yellow-link {
    color: #dbdb07;
    transition: all .9s ease-in-out;
}

.swiper2 .swiper-slide-container>.yellow-link:hover {
    background-color: #ffff53;
    color: #fff;
}

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

/* RESPONSIF */

@media screen and (max-width: 1100px) {
    .members-container .members-message {
        font-size: 18px;
    }

}

@media screen and (max-width: 1000px) {
    .members-content {
        flex-direction: column;
        position: relative;
    }

    .members-content .members-message {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 20px;
    }

    .members-content .members {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .members .swiper2 {
        width: 65%;
    }

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

    footer {
        top: 250px;
    }
}

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

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

    .accueil-message h1 {
        font-size: 35px;
    }

    .upc .upc-content {
        font-size: 25px;
    }

    .members .pagination_ {
        width: 77%;
    }

    footer {
        top: 270px;
    }
}

@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;
    }

    .members .pagination_ {
        width: 79%;
    }
}

@media screen and (max-width: 720px) {
    .member-name h2 {
        font-size: 25px;
    }

    .member-profil p {
        font-size: 18px;
        line-height: 1.5;
    }

    footer {
        top: 300px;
    }
}

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

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

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

    .home {
        height: 450px;
    }

    .accueil-message h1 {
        font-size: 30px;
    }

    .upc .upc-content {
        font-size: 20px;
    }

    .members-container h2 {
        font-size: 35px;
    }

    .swiper-slide-container .member-image {
        height: 35%;
    }

    .member-image>img {
        width: 200px;
        height: 180px;
    }
}

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

    footer {
        top: 370px;
    }
}

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

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

    .accueil-message h1 {
        font-size: 25px;
    }

    .upc .upc-content {
        font-size: 20px;
    }

    .members .swiper2 {
        height: 580px;
    }

    .members .pagination_ {
        margin-left: 0px;
    }

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

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

    footer {
        font-size: 15px;
    }
}

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

@media screen and (max-width: 520px) {
    footer {
        top: 420px;
    }
}

@media screen and (max-width: 480px) {
    header .logo h2 {
        font-size: 14px;
    }
    
    .home {
        height: 425px;
    }
    
    .accueil-message h1 {
        font-size: 22px;
    }

    .upc .upc-content {
        font-size: 17px;
    }
    
    .members-container h2 {
        font-size: 28px;
    }

    .members-content .members-message {
        font-size: 17px;
    }

    .member-profil p {
        font-size: 15px;
    }
    
    footer {
        top: 400px;
    }  
}

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

    .home {
        height: 400px;
    }

    .accueil-message h1 {
        font-size: 17px;
    }

    .upc .upc-content {
        font-size: 15px;
    }

    .member-name h2 {
        font-size: 17px;
    }

    .swiper2 .swiper-slide-container>a {
        font-size: 14px;
        margin-top: 50px         99;
    }
}

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

    .member-image>img {
        width: 180px;
        height: 160px;
    }

    .member-name h2 {
        font-size: 15px;
    }

    footer {
        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;
    }

    .members-container h2 {
        font-size: 22px;
    }

    .members .swiper2 {
        height: 500px;
    }

    .members .pagination_ {
        transform: translateY(270px);
    }

    .member-profil p {
        font-size: 12px;
    }

    .swiper2 .swiper-slide-container>a {
        width: 35%;
        height: 30px;
    }
}

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

    .member-image>img {
        width: 160px;
        height: 140px;
    }

    .member-name h2 {
        font-size: 12px;
    }
}

@media screen and (max-width: 340px) {
    .home {
        height: 375px;
    }

    .accueil-message h1 {
        font-size: 14px;
    }

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

    .members .swiper2 {
        height: 480px;
    }

    .swiper2 .swiper-slide-container>a {
        width: 35%;
        height: 20px;
    }
}