/*-------------Style : couleurs------------*/

:root {
    --bg-color-1: white;
    --bg-color-2: #B30D0D;
    --color-fond: #181818;
    --color-fond-opacity: rgba(17, 17, 17, 0.95);
}

/*-------------Général------------*/

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-color: var(--bg-color-2) var(--color-fond);
    background-color: var(--color-fond);
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    max-width: 100vw;
}

section {
    padding: 0 5vw 0 5vw;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-fond);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--bg-color-2);
}

/*-------------Style : fonts------------*/


h1 {                /*--|titre bienvenue|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--bg-color-1);
    font-size: 35px;
    text-align: center;
    margin: 0vh 4vw 0 4vw;
    padding-top: 18vh;
    /*---(décallage menu mobile)----*/
}

h2 {                /*--|titre sections|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--bg-color-1);
    font-size: 28px;
    position: relative;
}

h3 {                /*--|titre section logiciel|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--bg-color-1);
    font-size: 20px;
}

h4 {                /*--|titres profil, nom évenement parcours, dates parcours, noms logiciels|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--bg-color-1);
    font-size: 15px;
    margin: 3px 0 3px 0;
}

h5 {                /*--|description/detail evenement parcours|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: black;
    font-size: 11px;
    text-transform: uppercase;
}

p {                /*--|paragraphe présentation|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--bg-color-1);
    text-align: justify;
    font-size: 14px;
    margin: 0 3vw 0 3vw;
}

footer p {                /*--|mentions légales|--*/
    font-size: 8px;
    margin: 0;
}

header a {                /*--|menu (PC et mobile)|--*/
    font-family: 'Montserrat', sans-serif;
    color: var(--bg-color-1);
    text-align: justify;
    text-decoration: none;
}

.textFooter {
    text-align: center;
    font-size: 10px;
}

.motImportant {                /*--|mot en gras rouge|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--bg-color-2);
}

.lien{                /*--|CV mobile|--*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--bg-color-2);
    text-decoration: underline;
    padding-left: 20px;
    transform: scale(0.5);
}

.lien:hover{
    font-weight: 600;
    color: var(--bg-color-1);
    text-decoration: none;
    transform: scale(0.8);
}

.logoML {                /*--|logo haut gauche|--*/
    height: 38px;
    position: absolute;
    top: 3vh;
    left: 5vw;
    margin: 0;
    padding: 0;
    position: fixed;
    cursor: pointer;
    display: flex;
}

/*-------------Menu (mobile)------------*/

ul {
    list-style: none;
}

li {
    list-style: none;
}

.listeMenuPC {
    display: none;
}

.slidebarMenuMobile {
    display: block;
}

.barreMenuMobile {
    background-color: aliceblue;
    height: 3px;
    width: 30px;
    border-radius: 10px;
    margin: 7px 0 7px 0;
}

.logoMenuMobile {
    padding: 0;
    margin: 0;
    position: absolute;
    left: 87vw;
    top: 3vh;
    cursor: pointer;
}

.moduleMenuMobile.visible {
    transform: translateX(0);
    transition: transform 200ms linear;
}

.moduleMenuMobile {                /*--|affichage menu mobile|--*/
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    display: flex;
    background-color: var(--bg-color-2);
    transform: translateX(-110%);
    transition: transform 200ms linear;
    z-index: 10;
}

.assombrissementSiteMenu {                /*--|pour cacher le site lorsque menu mobile visible|--*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.assombrissementSiteMenu.visible {
    display: block;
    z-index: 9;
}

.listeMenuMobile {
    height: 20vh;
    margin: 7vh 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.listeMenuMobile a {
    font-size: 22px;
}

header {                /*--|en tete mobile visible|--*/
    position: fixed;
    width: 100vw;
    height: 10vh;
    background-color: var(--color-fond-opacity);
    z-index: 8;
}


/*-------------Boutons------------*/

.btn {
    border: 2px solid var(--bg-color-2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--bg-color-1);
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
}

.btn:hover {
    letter-spacing: 1px;
}

.btn:active {
    letter-spacing: 2px;
}

.btn-1 {
    background-color: var(--bg-color-2);
    box-shadow: inset 0 0 0 0 rgba(27,27,27,0.4);
    transition: ease-out 0.3s;
    outline: none;
}

.btn-1:hover {
    box-shadow: inset -110px 0 0 0 rgba(27,27,27,0.4);
    background-color: rgba(27,27,27,0);
}

.btn-2 {
    background-color: rgba(27,27,27,0.4);
    box-shadow: inset 0 0 0 0 var(--bg-color-2);
    transition: ease-out 0.3s;
    outline: none;
}

.btn-2:hover {
    box-shadow: inset -110px 0 0 0 var(--bg-color-2);
}

.groupeBouton1 {
    display: flex;
    flex-direction: column;
    width: 80vw;
    height: 140px;
    align-items: center;
    justify-content: space-around;
}

/*-------------Réseaux sociaux------------*/

.reseausSBlancs {
    height: 28px;
    transition: transform 1s;
}

.reseausSBlancs:hover {
    transform: rotate(360deg);
}

.reseauxGroup {
    width: 75vw;
    height: 30px;
    margin: 2vh 0 5vh 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

/*-------------Elements décorations------------*/

h2::after {
    content: "";
    background-color: var(--bg-color-2);
    width: 90px;
    position: absolute;
    height: 2px;
    top: 36px;
    left: 24px;
}

.trait {
    background-color: var(--bg-color-2);
    height: 2px;
    padding: 0;
}

.zoneClicFleche {
    width: 42px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.contenuFleche {
    width: 40px;
    height: 30px;
    background-color: var(--bg-color-2);
}

.scrollFleche {
    clip-path: polygon(50% 80%, 100% 30%, 100% 50%, 50% 100%, 0 50%, 0 30%);
    position: absolute;
    left: 0;
    animation-name: animationFleche;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
    cursor: pointer;
}

@keyframes animationFleche {

    0% {
        top: 0vh;
    }

    100% {
        top: 2vh;
    }
}

.contenuFlecheGauche {
    width: 18px;
    height: 15px;
    background-color: var(--bg-color-1);
    z-index: 1;
}

.contenuFlecheGauche.null {
    background-color: rgba(255, 255, 255, 0.5);
}

.flecheGauche {
    clip-path: polygon(50% 80%, 100% 30%, 100% 50%, 50% 100%, 0 50%, 0 30%);
    position: absolute;
    transform: rotate(90deg);
}

.contenuFlecheDroite {
    width: 18px;
    height: 15px;
    background-color: var(--bg-color-1);
    z-index: 1;
}

.contenuFlecheDroite.null {
    background-color: rgba(255, 255, 255, 0.5);
}

.flecheDroite {
    clip-path: polygon(50% 80%, 100% 30%, 100% 50%, 50% 100%, 0 50%, 0 30%);
    position: absolute;
    transform: rotate(-90deg);
}

.zoneFlecheGauche,
.zoneFlecheDroite {
    z-index: 2;
    cursor: pointer;
}

.zoneFlecheGauche:hover + .flecheGauche {
    transform: scale(1.2) rotate(90deg);
}

.zoneFlecheDroite:hover + .flecheDroite {
    transform: scale(1.2) rotate(-90deg);
}

/*-------------------[[Mentions Légales]]------------------*/

.mentionsLegales{
    text-decoration: none;
    color: var(--bg-color-1);
}

.mentionsLegales:hover{
    color: var(--bg-color-2);
}

/*-------------------[[Responsive]]------------------*/

@media all and (min-width: 768px) {
    
    header {
        height: 9vh;
    }

    .logoML {
        height: 45px;
        top: 2vh;
        left: 2vw;
    }

    .barreMenuMobile {
        height: 4px;
        width: 45px;
        border-radius: 10px;
        margin: 10px 0 10px 0;
    }

    .logoMenuMobile {
        padding: 0;
        margin: 0;
        position: absolute;
        left: 90vw;
        top: 1.8vh;
    }

    h1 {
        font-size: 50px;
    }

    .reseausSBlancs {
        height: 38px;
    }

    .reseauxGroup {
        width: 50vw;
        height: 30px;
    }

    .groupeBouton1 {
        width: 35vw;
        height: 18vh;
    }

    h4 {
        font-size: 16px;
    }

    .listeMenuMobile a {
        font-size: 28px;
    }

    .moduleMenuMobile {
        width: 40%;
    }

    .zoneClicFleche {
        margin-top: 35px;
    }

    h2 {
        font-size: 32px;
    }

    h2::after {
        width: 100px;
        top: 40px;
        left: 32px;
    }
    
    .textFooter {
        font-size: 10px;
        padding: 10px 0 10px 0;
    }
}

@media all and (min-width: 1024px) {

    /*-------------Menu------------*/

    .slidebarMenuMobile {
        display: none;
    }

    header {
        position: fixed;
        width: 100%;
        background: linear-gradient(to bottom, var(--color-fond) 0%, transparent 100%);
        height: 8vh;
    }

    .logoML {
        height: 35px;
        top: 2vh;
        left: 2vw;
    }

    ul {
        list-style: none;
    }

    li {
        list-style: none;
    }

    .listeMenuPC {
        display: block;
        padding: 0;
        display: flex;
        flex-direction: row;
        position: absolute;
        left: 61vw;
        top: 1vh;
    }

    .menuBoutonPC {
        padding: 0 25px 0 25px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        color: var(--bg-color-1);
        font-size: 18px;
    }

    .menuTexte::after {
        content: "";
        height: 2px;
        position: absolute;
        background-color: var(--bg-color-2);
        width: 60%;
        top: 22px;
        transition: transform 200ms linear;
        transform: scaleX(0);
    }

    .menuTexte:hover::after {
        transform: scaleX(1);
        transition: transform 200ms linear;
    }

    .menuTexte.actif::after {
        transform: scaleX(1);
        transition: transform 200ms linear;
    }

    .menuTexte.accueil::after {
        left: 15px;
    }

    .menuTexte.realisations::after {
        left: 22px;
    }

    .menuTexte.contact::after {
        left: 16px;
    }

    .menuTexte {
        position: relative;
    }

    h1 {
        font-size: 52px;
        text-align: start;
        margin-left: 3vw;
    }

    .reseausSBlancs {
        height: 32px;
    }

    .reseauxGroup {
        width: 35vw;
        height: 30px;
    }

    h2 {
        font-size: 40px;
        margin-left: 2vw;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    .trait.traitPetit {
        width: 170px;
    }

    h5 {
        font-size: 12px;
    }

    .btn {
        width: 150px;
        height: 60px;
        font-size: 14px;
    }

    .btn:hover {
        letter-spacing: 1px;
    }

    .btn:active {
        letter-spacing: 2px;
    }

    .btn-1:hover {
        box-shadow: inset -150px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2:hover {
        box-shadow: inset -150px 0 0 0 var(--bg-color-2);
    }
    
    h2::after {
        width: 120px;
        top: 48px;
        left: 38px;
    }
    
    .textFooter {
        font-size: 12px;
        padding: 10px 0 10px 0;
    }
}

@media all and (min-width: 1280px) {

    .logoML {
        left: 2vw;
    }

    .listeMenuPC {
        left: 68vw;
        top: 1vh;
    }

    h1 {
        font-size: 62px;
        margin-left: 4vw;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 21px;
    }

    p {
        font-size: 26px;
    }

    .btn {
        width: 180px;
        height: 70px;
        font-size: 17px;
    }

    .btn-1:hover {
        box-shadow: inset -180px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2:hover {
        box-shadow: inset -180px 0 0 0 var(--bg-color-2);
    }
    
    h2::after {
        width: 120px;
        top: 50px;
        left: 38px;
    }
    
    .textFooter {
        font-size: 14px;
        padding: 10px 0 15px 0;
    }
}

@media all and (min-width: 1536px) {

    .logoML {
        left: 1.8vw;
        height: 42px;
    }

    .listeMenuPC {
        left: 67vw;
        top: 1vh;
    }

    h1 {
        font-size: 78px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 24px;
    }

    h5 {
        font-size: 16px;
    }

    p {
        font-size: 28px;
    }

    .menuBoutonPC {
        padding: 0 32px 0 32px;
        font-size: 22px;
    }

    .btn {
        width: 200px;
        height: 80px;
        font-size: 20px;
    }

    .btn-1:hover {
        box-shadow: inset -200px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2:hover {
        box-shadow: inset -200px 0 0 0 var(--bg-color-2);
    }

    .menuTexte::after {
        top: 28px;
    }

    .menuTexte.accueil::after {
        left: 17px;
    }

    .menuTexte.realisations::after {
        left: 25px;
    }

    .menuTexte.contact::after {
        left: 19px;
    }

    .textFooter {
        font-size: 16px;
        padding: 10px 0 20px 0;
    }
}

@media all and (min-width: 1920px) {
    
    .logoML {
        left: 1.5vw;
        height: 45px;
    }

    .listeMenuPC {
        left: 71vw;
        top: 1vh;
    }
    
    .menuBoutonPC {
        padding: 0 35px 0 35px;
        font-size: 24px;
    }

    h1 {
        font-size: 84px;
    }

    h2 {
        font-size: 46px;
    }
    
    h2::after {
        width: 140px;
        top: 62px;
        left: 44px;
    }

    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 26px;
    }

    h5 {
        font-size: 18px;
    }

    p {
        font-size: 30px;
    }

    .btn {
        width: 220px;
        height: 90px;
        font-size: 22px;
    }

    .btn-1:hover {
        box-shadow: inset -220px 0 0 0 var(--color-fond-opacity);
    }

    .btn-2:hover {
        box-shadow: inset -220px 0 0 0 var(--bg-color-2);
    }

    .menuTexte::after {
        top: 32px;
    }

    .menuTexte.accueil::after {
        left: 18px;
    }

    .menuTexte.realisations::after {
        left: 27px;
    }

    .menuTexte.contact::after {
        left: 20px;
    }

    .textFooter {
        font-size: 18px;
        padding: 10px 0 20px 0;
    }
}

/*-------------Animation entrée site------------*/

#bienvenue {
    position: fixed;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: var(--color-fond);
    z-index: 15;
    transform: translateY(-110%);
    transition: transform 500ms linear;
    flex-direction: column;
}

header{
    z-index: 1;
}

#bienvenue.visible {
    z-index: 5;
    transform: translateY(0);
    transition: transform 0ms linear;
}

.animationChargement {
    margin: 10vh 0 2vh 0;
}

.nomChargement {
    margin-top: 20vh;
}

.pfChargement {
    margin: 0;
    padding: 0;
}

.pfChargement::after {
    width: 0;
    height: 0;
}
