
/* Reset */
html, body, div, span, applet, object, iframe,
h1, h1, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
b, u, i, center, hr,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
}


body {
    margin-left: 50px;
    margin-right: 50px;
    font-family: "source-sans-pro", sans-serif;
    font-weight: 200;
    font-style: normal;
    color:#27374D;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-height: 100vh;
    cursor: url('../CURSOR/cursorNeutre.svg'), auto;
    background-color: white ;/*#F6F4EB;*/
}

a {
    cursor: url('../CURSOR/cursorIndexUp.svg'), auto ;
    text-decoration: none;
    color : #9DB2BF ;
}
a:visited {
    color:#9DB2BF;
}
a:hover {
    color: #565264;
}
a.contactMail {
    color: #F6F4EB;
}
a.contactMail:hover {
    color:#B85C38;
}
a.page-link { 
    display: inline-block;
    justify-content: space-between;
    margin: 10px;
    text-align: center;
    white-space: nowrap; /* Empêcher le texte de revenir à la ligne */
    color: #F6F4EB;
}

a.renvoiLegende:hover{
    color:#B85C38;
}
p.legende {
    margin-top: 2%;
    font-size: 1.3em;
}
em, i {
    font-family: "source-sans-pro", sans-serif;
    font-weight: 200;
    font-style: italic;
}

/* Extra content button */
button.more-button {
    cursor: url('../CURSOR/cursorIndexUp.svg'), auto ;
    background-color: white;
    color: #9DB2BF;
    border: none;
    padding: 5px 10px;
}
button.more-button:hover{
    color:#B85C38;
}

div.extra-content {
    margin-top: 10px;
    font-style: italic ;
    font-size: 1.2em;
}

/*HEADER */
header {
    background-color: #9DB2BF;
    color: #F6F4EB; /* #565264*/
    padding: 10px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top:0;
    left:0;
    right: 0;
    width: 100%;
    height: 40px;
    z-index: 9999;
    cursor: url('../CURSOR/cursorPeace.svg'), auto;
    border-bottom: 1px solid #27374D;
}
article.headerBlock {
    display: inline-block;
    justify-content: space-between;
    margin : 10px ;
}
p.namePage {
    font-size: 200%;
    color: #27374D;
    font-weight: 400;
}
.page-container {
    margin-bottom: 10 px;
    display: inline-block;
    justify-content: left;
    max-width: 100%;
}
/* Animations des lettres des pages et Liens vers les pages du site */
@keyframes grow-and-shrink1 {0%,100%,10%,90%{transform:scale(1)}50%{transform:scale(1.15)}}
@keyframes grow-and-shrink2 {0%,100%,10%,90%{transform:scale(1)}50%{transform:scale(1.3)}}
@keyframes grow-and-shrink3 {
    0%, 100%,10%,90%{transform: scale(1)}
    50% {transform: scale(1.1)}
  }
.page-link:hover {
    color: #565264;
}
.page-container:nth-child(1) {
    animation: grow-and-shrink1 8888ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 2s;
  }
  .page-container:nth-child(2) {
    animation: grow-and-shrink2 7777ms;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 3s;
  }
  .page-container:nth-child(3) {
    animation: grow-and-shrink3 3333ms;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: 5s;
  }
/*FOOTER*/
footer {
    position: fixed; 
    bottom: 0; left: 0; right: 0;
    padding: 5 px; 
    justify-content: space-between;
    text-align: center;
    height:40px;
    border-top: 1px solid #27374D;
    cursor: url('../CURSOR/cursorPeace.svg'), auto;
    transition: height 0.3s;
    background-color: #9DB2BF;
    color: #F6F4EB;
    z-index: 9999;
}
footer:hover {
    height : 25% ;
    transition: height 1s linear; /* Ajouter une transition fluide */
}
main.footer-text {
    display: flex;
    flex-direction: column;
}
article.footer-down {
    display: flex;
    flex-direction: row;
    margin-right : 1%;
    margin-left: 1%;
    justify-content: space-between;
    font-size: 15px;
}
article.footer-up {
    justify-content: left;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    font-size: 20px;
    text-align: left;
    align-items: flex-end;
}
p.text-footerUp {
    margin-right:30%;
}
source img .footer-gif {
    width: 7%;
    height: 7%;
}
.footer-gif2 {
    width : 100%;
    height: auto;
    align-items: flex-start;
}
img.insta {
    width:15px;
    opacity: 0.5;
}
img.insta:hover{
    opacity: 1;
}

/*IMAGES*/
.slider img {
    height: auto;
}
main.images-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    padding-bottom: 10px;
    font-size: 15px; /* taille de toutes les légendes*/
}
article.image-sousContainer {
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    padding-top : 10% ;
    margin-bottom: 10%;
}
div.image-legende {
    display: flex;
    flex-direction: column;
    /*-> créer différentes div pour avoir différente dimensions de l'image, ou appliquer directement sur la balise HTML*/
    max-width:none;
    height: 100%;
    width : 40% ; /*pour régler les dimensions spécifiques d'une image, ajouter une balise style dans la div image-legende dans le html*/
}
img {
    max-width: 100%;/* garder à 100% afin de ne pas entrer en conflit avec div.image-legende */
    height: auto;
}
source {
    max-width: 100%;/* garder à 100% afin de ne pas entrer en conflit avec div.image-legende */
    height: auto;
}
.slider {
cursor: url('../CURSOR/cursorIndexRight.svg'), auto; /* au-dessus d'un slider, le curseur change. uniquement du svg*/
}

/*PETIT ECRAN : smartphone  */
@media screen and (max-width:768px){
    body {
        margin: 1%;
        display: flex;
        flex-direction: column;
    }


    /* Extra content button */
button.more-button {
    margin-top: 10%;
}
/*HEADER*/
    header {
        display: flex;
        justify-content: space-between;
        position: fixed;
    }
    article.headerBlock {
    display: flex;
    font-size: 60%;    
    }
    a.page-link {
    font-size: 140%;
    text-decoration: none;
    }
/*FOOTER*/
    footer{
        height:6vh; /*fraction de la fenetre*/
        overflow: hidden;/* Empêche le contenu de déborder lors du changement de hauteur */
        transition: height 0.3s; /* Ajoute une transition pour une animation fluide */
    }
    footer:hover {
        height : 40% ;
    }
    article.footer-down{
    font-size: 100%;
    }
    article.footer-up {
        display: flex;
        flex-direction: row;
        text-align: left;
        align-items: flex-end;
        margin-top: 10%;
/*      padding-bottom: 10%;*/
        font-size: 100%;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    p.text-footerUp {
    margin-right:10%;
    margin-bottom: 10px;
    }
    img.insta {
        width: 15px;
    }
/*IMAGES*/
    main.image-container {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    article.image-sousContainer {
    height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 15%;
    }
    div.image-legende {
        display: flex;
        flex-direction: column;
        padding-bottom: 5em;
        width: 100%; /*pour que les images aient la dimension du petit écran*/
    }
}