@charset "utf-8";

html {
    scroll-behavior: smooth;
    font-family: "aaux-next";
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    background: #d9f3fc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #1890ba;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #006b91;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    box-shadow: 0px 0px 24px -4px #b4afafc9;
}

a {
    text-decoration: none;
    color: #000000;
    transition: all 0.5s;
}

a:hover {
    opacity: 100%;
    font-weight: bold;
    color: #1890ba;
}

li {
    list-style-type: none;
}

.titre_sections {
    text-align: center;
    font-size: 5rem;
    text-transform: uppercase;
    font-family: "arial black", "arial bold";
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #1890ba 25%, #00000000 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3 {
    font-family: garamond;
    text-align: center;
    text-decoration: underline;
}

/* Début header */

#top {
    max-width: 1200px;
    width: 100%;
    position: relative;
    top: 0;
    z-index: 1;
    background-color: #ffffff;
    transition: top 0.5 ease-out;
}

#index {
    display: block;
    position: sticky;
    top: 0px;
    z-index: 2;
}

header {
    font-family: garamond;
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 50px;
    padding: 20px 0 5px 0;
}

#section_rg {
    width: 13%;
    font-family: Maiandra GD;
    font-size: 1.2;
}

#img_rg {
    margin: 0;
    padding: 0 5px;
    height: 100%;
    float: left;
}

#img_rg img {
    margin: 0 0 0 50px;
    width: auto;
    height: 100%;
}

#texte_rg {
    opacity: 0;
    transition: all 0.5s;
    font-weight: normal;
    color: #000000;
}

#texte_rg:hover {
    opacity: 100%;
    transition: all 0.5s;
}

#section_contact {
    position: absolute;
    z-index: 1;
    right: 0%;
    margin-right: 120px;
    height: 26px;
    clear: both;
    padding: 8px 20px 0px;
    border: solid 1px;
    border-radius: 20px;
    background-color: #ffffffba;
}

#menu {
    display: none;
    opacity: 0;
    font-size: 1.3em;
    position: absolute;
    top: 25px;
    right: 50px;
    width: 400px;
    height: 300px;
    background-color: #ffffffba;
    box-shadow: -9px 10px 10px #0000007a;
    text-align: center;
    line-height: 60px;
    padding-top: 10px;
    padding-right: 40px;
    border-radius: 20px;
    transition: all 1s;
}

#menu.croix {
    display: block;
    transition: all 1s;
    z-index: 1;
    opacity: 100%;
}

#section_menu li {
    border-bottom: solid 1px;
}

#section_menu li a #contacter {
    border-bottom: 0px;
}

#fondburger {
    z-index: 1;
    position: absolute;
    right: 50px;
    padding: 2px;
    border: solid 1px;
    border-radius: 20px;
    background-color: #ffffffba;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    width: 30px;
    height: 30px;
    transition: all 1s;
}

#fondburger.croix {
    transition: all 1s;
    border: #1890ba;
}

#burger1 {
    background-color: #000000;
    width: 70%;
    height: 7%;
    transition: all 1s;
}

#burger2 {
    background-color: #000000;
    width: 70%;
    height: 7%;
    transition: all 0.5s;
}

#burger3 {
    background-color: #000000;
    width: 70%;
    height: 7%;
    transition: all 1s;
}

.croix #burger1 {
    background-color: #1890ba;
    position: absolute;
    top: 50%;
    transform: translateY(0px) rotate(45deg);
}

.croix #burger2 {
    opacity: 0;
}

.croix #burger3 {
    background-color: #1890ba;
    position: absolute;
    top: 50%;
    transform: translateY(0px) rotate(-45deg);
}



/* Fin header */

/* Début section accueil */

#section_accueil {
    margin: 100px 0;
}

#accueil {
    display: flex;
    justify-content: space-around;
}

#accueil img {
    width: 100%;
    transition: all 1s;
    box-shadow: #b4afafc9 -14px 14px 7px 2px;
}

#accueil img:hover {
    transition: all 1s;
    transform: scale(1.4);
    height: auto;
    margin-bottom: -50%;
    box-shadow: #b4afafc9 -12px 12px 60px 0;
}

/* Fin section accueil */

/* Début section presentation */

.carrousel-container {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    position: relative;
    perspective: 1000px;
    margin-top: 80px;
}

.carrousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carte {
    position: absolute;
    width: 280px;
    height: 380px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: #0000006e 0px 17px 40px 3px;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.carte figure {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.carte img {
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carte.center {
    z-index: 10;
    transform: scale(1.1) translateZ(0);
}

.carte.center img {
    filter: none;
}

.carte.left-2 {
    z-index: 1;
    transform: translateX(-400px) scale(0.8) translateZ(-300px);
}

.carte.left-2 img {
    filter: grayscale(100%) blur(1px);
}

.carte.left-1 {
    z-index: 5;
    transform: translateX(-200px) scale(0.9) translateZ(-100px);
    opacity: 0.9;
}

.carte.left-1 img {
    filter: grayscale(100%) blur(1px);
}

.carte.right-1 {
    z-index: 5;
    transform: translateX(200px) scale(0.9) translateZ(-100px);
    opacity: 0.9;
}

.carte.right-1 img {
    filter: grayscale(100%) blur(1px);
}

.carte.right-2 {
    z-index: 1;
    transform: translateX(-0) scale(0.8) translateZ(-300px);
    opacity: 0.7;
}

.carte.right-2 img {
    filter: grayscale(100%) blur(1px);
}

.carte.hidden {
    opacity: 0;
    pointer-events: none;
}

.carte-info {
    position: absolute;
    margin-bottom: -10px;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #ffffffba;
    font-size: 90%;
}

.carte-titre::before,
.carte-titre::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 100px;
    height: 2px;
    background: #1890ba;
}

.carte-titre::before {
    left: -120px;
}

.carte-titre::after {
    right: -120px;
}

.carte-description {
    padding: 10px 10px;
    margin-top: -15px;
    position: relative;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1890baa4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #1890ba;
    transform: scale(1.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    background: #1890ba;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.5s ease;
    font-size: 1.2rem;
    border: none;
}

.nav-arrow:hover {
    background: #ffffff;
    border: 1px solid #1890ba;
    color: #1890ba;
    transition: all 0.5s ease;
}

.nav-arrow.left {
    left: 50px;
}

.nav-arrow.right {
    right: 50px;
}

/* Fin section presentation */

/* Début section historique */

#section_historique {
    padding: 50px 20px;
}

#container-btn {
    margin: 50px;
}

.btn {
    border: none;
    border-radius: 20px;
    outline: none;
    padding: 0 30px;
    height: 30px;
    background-color: #1890baa4;
    color: #ffffff;
    margin-right: 30px;
}

.btn:hover {
    background-color: #ffffff;
    border: solid 1px #1890ba;
    color: #1890ba;
}

.btn:active {
    background-color: #1890ba;
    border: none;
    color: #ffffff;
}

.contenu {
    background-color: #ffffff;
    box-shadow: 0px 0px 24px -4px #b4afafc9;
    padding: 10px;
    margin-left: 25px;
    margin-right: 25px;
}

#sectionecole,
#sectionjobs {
    display: flex;
    justify-content: center;
    text-align: center;
}

#sectionjobs {
    display: none;
}


/* Fin Section historique */

/* Début section galerie */

#galerie_full {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;
}

.type-galerie {
    width: 30%;
}

.type-galerie figure {
    aspect-ratio: 1/1;
}

.type-galerie figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 24px -4px #b4afafc9;
    padding: 10px;

}

.container-slides {
    position: relative;
    margin: auto;
    text-align: center;
}

.mesSlides,
.mesSlides2,
.mesSlides3 {
    display: none;
}

.prev1,
.next1,
.prev2,
.next2,
.prev3,
.next3 {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #ffffff;
    font-weight: bold;
    font-size: 30px;
    transition: 0.5s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    opacity: 60%;
}

.prev1,
.prev2,
.prev3 {
    left: 40px;

}

.next1,
.next2,
.next3 {
    right: 20px;
    border-radius: 3px 0 0 3px;
}

.prev1:hover .next1:hover .prev2:hover .next2:hover,
.prev3:hover .next3:hover {
    background-color: #ffffff;
}

.number {
    color: #ffffff;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
}

/* Fin section galerie */

/* Début section contacter */

#section_contacter {
    text-align: center;
}

.form-groupe input {
    font-size: 1em;
    width: 35%;
    height: 25px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: inset 1px 1px 5px 0 #0000006e;
    border: none;
    padding: 0.5% 2%;
}

.form-groupe textarea {
    font-family: "aaux-next", sans-serif;
    font-size: 1em;
    width: 35%;
    min-height: 200px;
    background-color: #ffffff;
    box-shadow: inset 1px 1px 5px 0 #0000006e;
    border: none;
    margin: 2% 2% 0 2%;
    padding: 1% 2%;
    border-radius: 10px;
}

.counter {
    margin-top: 0;
}

.counter span {
    color: #1890ba;
}

.counter span.warning {
    color: #c90000;
}

#btn-envoyer {
    font-family: "aaux-next", sans-serif;
    font-size: 1em;
    text-transform: uppercase;
    width: 40%;
    background-color: #1890ba;
    color: #ffffff;
    box-shadow: inset 0px 0px 20px 0px #006b91;
    border: none;
    border-radius: 10px;
    margin: 2%;
    padding: 1%;
    transition: all 0.3s;
    margin-bottom: 80px;
}

#btn-envoyer:hover {
    font-weight: bolder;
    border: solid #1890ba;
    background-color: #ffffff;
    color: #1890ba;
    transition: all 0.3s;
    box-shadow: 0px 3px 10px 0px #0000006e;
}

iframe {
    max-width: 90%;
}

/* fin section contacter */

/* Début footer */

footer {
    position: sticky;
    z-index: 1;
    height: 90px;
    background-color: #ffffff;
    bottom: 0;
    display: flex;
    justify-content: space-between;
}
.scroll-bar {
    position: fixed;
    bottom: 90px;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.progress-container {
    width: 100%;
    height: 5px;
    background: #d9f3fc;
}

.progress-bar {
    height: 5px;
    background: #1890ba;
    width: 0%;
}

.section_footer {
    display: flex;
    align-items: center;
    margin-left: 50px;
    margin-right: 50px;
}

.section_footer nav a {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.section_footer nav a img {
    width: 47px;
    height: auto;
}

.section_footer nav a p {
    margin-left: 10px;
    margin-right: 20px;
}


.section_footer nav ul {
    display: flex;
    line-height: 30px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

#rs figure {
    margin: 15px 0 0 20px;
    padding: 0;
}

.section_footer img {
    border-radius: 50px;
}

.section_footer img:hover,
.section_footer img:active {
    filter: invert(100%);
    background-color: #ff805c;
    transition: all 0.5s;
    border-radius: 50px;
}




@media (max-width : 1200px) {
    body {
        box-shadow: none;
    }
}


@media (max-width : 768px) {
    header {
        height: 50px;
        padding: 15px 0 5px 0;
    }

    .titre_sections {
        font-size: 2.5rem;
    }

    #section_rg {
        width: 50%;
    }

    #img_rg img {
        margin: 0 0 0 10px;
    }

    #section_contact {
        margin-right: 70px;
    }

    #section_menu {
        right: 10px;
    }

    #menu {
        right: 10px;
    }

    #fondburger {
        right: 10px;
    }

    #section_accueil {
        display: none;
    }

    .carrousel-container {
        margin-top: 20px;
    }

    #section_historique {
        max-width: 90%;
    }

    .carte {
        width: 220px;
        height: 300px;
    }

    .carte.left-2 {
        transform: translateX(-250px) scale(0.8) translateZ(-300px);
    }

    .carte.left-1 {
        transform: translateX(-75px) scale(0.9) translateZ(-50px);
    }

    .carte.right-1 {
        transform: translateX(75px) scale(0.9) translateZ(-50px);
    }

    .carte.right-2 {
        transform: translateX(0px) scale(0.8) translateZ(-300px);
    }

    

    .carte-titre {
        padding-left: 5px;
        padding-right: 5px;
    }

    .carte-description {
        padding-left: 5px;
        padding-right: 5px;
    }

    .carte-titre::before,
    .carte-titre::after {
        width: 50px;
    }

    .carte-titre::before {
        left: -70px;
    }

    .carte-titre::after {
        right: -70px;
    }

    .nav-arrow {
        display: none;
    }

    #container-btn {
        display: flex;
        justify-content: center;
        margin: 50px 0;
    }

    #sectionecole,
    #sectionjobs {
        flex-direction: column;
        height: 50%;
    }

    .contenu {
        margin-bottom: 25px;

    }

    #sectionecole .contenu img {
        max-width: 100%;
        min-height: auto;

    }

    #sectionecole .contenu h4 {
        order: 2;
    }

    #sectionjobs .contenu {
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 25px;
        flex-wrap: nowrap;
        flex-direction: column;
        align-content: stretch;
        align-items: center;
    }

    #sectionjobs .contenu img {
        max-width: 100%;
        min-height: auto;
    }


    #galerie_full {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 30px;
        margin-right: 30px;
    }

    .type-galerie {
        width: 100%;
    }


    .form-groupe input {
        width: 65%;
    }

    .form-groupe textarea {
        width: 65%;
    }


    #btn-envoyer {
        width: 70%;
    }

    footer {
        height: 80px;
        background-color: #ffffff;
    }

    .scroll-bar {
        bottom: 80px;
    }

    .section_footer {
        align-items: stretch;
        margin-left: 20px;
        margin-right: 20px;
        justify-content: center;
}

    .section_footer nav a p {
    display: none;
    }

    .section_footer nav a img {
        margin-right: 20px;
    }

}