/* font-family: 'Amatic SC', cursive;
font-family: 'Caprasimo', cursive;
font-family: 'Lilita One', cursive;
font-family: 'Montserrat Alternates', sans-serif;
*/
*,
*::after,
*::before {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}
:root {
    --white:white;
    --black:black;
    --gray:#7f7f7f;
    --dark-gray:rgb(55,55,55);
    --bg1:#0084ff;
    --bg2:HSLA(217, 90%, 80%, 1.00);
    --bg3:HSLA(218, 83%, 69%, 1.00);
    --bg0:hsl(216, 80%, 92%);
    --pink:hsla(315, 78%, 66%, 1.00);
    --wave-width:100vw;
    --wave-blank:5rem;
    --wave-height:4rem;
}
html {
	scroll-behavior: smooth !important;
}
body  {
    margin:0;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 400 !important;
    width: 100vw;
    position: relative;
    margin: 0 auto;
    background: linear-gradient(to top,var(--bg1) 0%, var(--bg2) 20%, var(--bg0) 50% );
    background-size: cover;
    background-repeat: no-repeat;
}
a {
    text-decoration: none;
    color:black;
}
h2 {
    /* les titres de chaque section */
    /* position: sticky;
    top:84px; */
    
    background: linear-gradient(to right, var(--bg3) 0%, var(--bg1) 10%);
    color:white;
    padding: .1rem .8rem;
    border-radius: 8px 0 8px 8px;
    z-index: 5;
    box-shadow: 6px 6px 22px rgba(146, 146, 146, 0.548);
}
h4 {
    font-weight: 500;
    font-size: 1rem;
}
p,  li {
    font-size: .9rem !important;
}
.block li {
    margin: 0 auto;
    text-align: left !important;
    line-height: 1.4rem;
}
li > a {
    text-decoration: none;
    font-weight: 500;
}
.block ul {
    width: fit-content;
    margin: 1.2rem auto;
    list-style:square;
    text-align: left !important;
}
.hide {
    display: none !important;
}
span {
    font-size:.9rem;
}




/* ///////////////////////////////////////////////////   ACCUEIL //////////////////////////////////////////// */
header {
    width:100vw;
    height: 60px;
    margin: 0;
    padding: 0;
    display: grid;
    position: relative;
    justify-content:center;
    justify-items: center;
    position: fixed;
    z-index: 20;
    top:0px;
    background-color: transparent;
}
.bandeau {
    position: absolute;
    width:100%;
    height: 100%;
    background-color: rgb(228, 240, 255);
    z-index: -4;
    opacity: 0;
}
.hero {
    /* le block du titre et du menu */
    position: relative;
    top:0px;
    /* padding: 1rem 0; */
    z-index: 10;
    height: 100vh;
    /* max-height: 860px; */
    width:100vw;
    /* max-width: 1680px; */
    left:50%;
    transform: translate(-50%);
    background-color: white;
    /* background-image: url('img/vuedeface.jpg'); */
    /* background-image: url('img/photos_accueil/scene_coquillage.jpg'); */
    /* background-image: url('img/photos_accueil/scene_flottante_zygel.jpg'); */
    background-image: url('img/photos_accueil/scene_flottante_boa2.jpg');
    background-size: cover;
    background-repeat:no-repeat;
    background-position: bottom center;
}
.titre {
    font-weight: 400 !important;
    color:var(--black);
    margin: .2rem 0 .2rem 0;
    font-size: 1.6rem;
    position: relative;
    text-align: center;
    top:8%;
    color:#000000;
    z-index: 31;
}
.sous-titre {
    font-size: .8rem !important;
    position: relative;
}
/* .sous-titre::before{
    content: '';
    position: absolute;
    width: 110%;
    height: .8rem;
    left:-5%;
    top:.2rem;
    background-color: #fdfdfd9a;
    z-index: -1;
} */
.cadre {
    height:34%;
    overflow: hidden;
    position: relative;
    top:-20px;
    /* background-color: hsla(209, 100%, 50%, 50%); */
    z-index: 20;
    border-radius: 2px 0 2px 2px;
}
.lit {
    display: inline;
    width: fit-content;
    overflow: hidden;
}
.lit .waves {
    position: relative;
    width:100%;
    z-index: 20;
}
.cta {
    position: relative;
    display: block;
    top : 50%;
    margin: 0 auto;
    width:fit-content;
    text-align: center;
    color:var(--pink);
    font-size: 2rem;
    font-family: 'Caprasimo', cursive;
    user-select: none;
}
.cta > h6, .cta > i {
    position: relative;
    z-index: 22;
    user-select: none;
}
.pulse {
    user-select: none;
}
.movedown {
    animation: move 1s ease-in-out infinite;
}
.moveup {
    position: relative;
    animation: move 1s ease-in-out infinite reverse;
}
    
@keyframes move {
    0% { top:0px;  }
    100% { top:6px; }
}


/* ////////////////////////////////////////////////// MAIN ///////////////////////////////////////////////////////////// */
.main {
    /* le corps du machin */
    /* position: relative; */
    /* margin-top:5vh; */
    padding-top: 0rem;
    z-index:-1;
    text-align: left;
    scroll-behavior: smooth; 
    width:100vw;  
}

/* /////////////////////////////////////////////// NAV //////////////////////////////////////////////////////// */

/* .boile {
    display: block;
    width: fit-content;
    position: sticky;
    top:210px;
    background-color: rgba(56, 56, 56, 0.824);
    padding: .8rem .6rem .8rem 1rem;
    border-radius: 0 8px 8px 0;
   
    text-align: left;  
} */
.boile {
    position: absolute;
    height: calc(100% - 100vh);
    width: fit-content;
    top:102vh;
    /* background-color: pink; */
    z-index: 10;
}
nav {
    display: block;
    width: fit-content;
    position: sticky;
    top:210px;
    /* background-color: rgba(56, 56, 56, 0.824); */
    /* background-color: var(--bg1); */
    background: linear-gradient(to bottom, var(--bg3) 0%, var(--bg1) 30%);
    padding: .8rem .6rem .8rem 1rem;
    border-radius: 0 8px 8px 0;
    text-align: left;  
    box-shadow: 6px 6px 22px rgba(146, 146, 146, 0.525);
}
.test {
    background: none !important;
    color: #444444 !important;
}
#menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: start;
    z-index: 10 !important;
    font-size: .8rem;
    gap:2rem;
    color:white;
    list-style: none;
}
#menu > li > a {
    color:white !important;
    text-transform: uppercase;
    font-size: smaller;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: lighter;
}
button {
    text-decoration: none;
    background-color: transparent;
    border: none;
    margin:0;
    padding: 0;
}
.button_hide {
    display:none;
}
.menu_hide {
    display:block;
}





/* ////////////////////////////////////////////////////////  CONTENU ///////////////////////////////////////////////////////////// */
.block {
    position: relative;
    margin:4rem auto;
    padding: 2rem 2rem;
    width: 94vw;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
    /* background: var(--white); */
    border-radius: 8px;
    /* z-index: inherit; */
}
#presentation {
    height: 4rem;
    width: 100vw;
}
#intro {
    background-color: white;
    box-shadow: 0px 2px 14px var(--bg2);
}
.photo-libre {
    width:100%;
    max-width: 400px;
}
section {
    position: relative;
    padding: 2rem .2rem;
    width:100%;
}
.placement {
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 1;
}
.up {
    width:100%;
    text-align: center;
}
.up a {
    color:var(--pink) !important;
    font-size: 1.4rem;
}

.up a:focus {
    border: 2px solid var(--pink);
    border-radius: 2px;
}

li a:focus {
    background-color: rgb(51, 51, 51);
    border-radius: 2px;
    /* font-size: .9rem !important; */
    display: block;
    transform: scale(1.2) !important;
}
.footer>a:focus {
    background-color: pink;
    border-radius: 4px; 
    display: inline-block;
    transform: scale(1.2) !important;
}
.ici {
    /* une espece de focus mais quand on scrolle */
    background-color:#4444444e;
    display: block;
    transform: scale(1.1) !important;
}


/* ///////////////////////////////////////// DIAPORAMA /////////////////////////////////////////////////////////////////////////////// */
.diapo, .glide, .glide__track, .glide__slides, .glide__slide, .wrap-photo {
    width: 100%;
}
.diapo {
    position: relative !important;
    display: flex;
    align-items: center !important;
    justify-content:center!important;
    flex-direction: column;
}
.wrap-photo {
    aspect-ratio: 16/12;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #ffffff; */
}
.wrap-photo > img {
    height: 100%;
    border: 6px solid #ffffff;
    border-left: 32px solid #ffffff;
    border-right: 32px solid #ffffff;
    /* box-shadow: 0px 1px 34px rgb(99, 99, 99); */
    /* border-radius: 5%; */
}
.glide {
    max-width: 880px;
    z-index: 8 !important;
    
}
.glide__slides {
    align-items: center !important;
    justify-content:center!important ;
    
}

.glide__arrow--left, .glide__arrow--right {
    color:rgb(105, 105, 105) !important;
    background-color: white !important;
    padding: .3rem .4rem;
    box-shadow: 3px 3px 12px rgb(99, 99, 99);
}




/* /////////////////////////////////////////////////////////////  FOOTER //////////////////////////////////////////////////// */
.footer {
    background-color: #ffffff; 
    padding: 0 2rem 4rem 2rem;
    text-align: center;
}
.footer span {
    font-size:.6rem;
}



/*  /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* /////////////////////////////////////////////////////////////    WAVES ET PULSES //////////////////////////////////////////////////// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.waves {
    /* position: fixed;
    width:var(--wave-width); */
    position: relative;
    /* transform: rotate(180deg); */
    width: 100%;
    height: calc( var(--wave-height) + var(--wave-blank));
    top:0;
    /* background-color: pink; */
    overflow: hidden;
    z-index: -10;
}
.waves::before {
    content: '';
    position: absolute;
    width: 100%;
    height: var(--wave-blank);
    background-color: white; 
    bottom:0;
    left:0;
}
.wave {
    position: absolute;
    width:200vw;
    height:var(--wave-height);
    /* transform: rotate(180deg); */
    background: url('img/wave.png');
    background-position: 0 0;
    background-size: var(--wave-width) 100%;
    bottom: calc(var(--wave-y-offset) * -1 + var(--wave-blank));
    opacity: var(--wave-opacity);
    /* animation: wave  var(--wave-duration) var(--wave-delay) cubic-bezier(0.6, 0.5, 0.4, 0.5) infinite;     */
    animation: wave  var(--wave-duration) var(--wave-delay) cubic-bezier(0.6, 0.5, 0.4, 0.5) infinite; 
}
.wave:nth-child(1) {
    --wave-y-offset:0;
    --wave-opacity:0.7;
    --wave-duration:7s;
    --wave-delay:-2s;
}
.wave:nth-child(2) {
    --wave-y-offset:10px;
    --wave-opacity:0.5 ;
    --wave-duration:10s;
    --wave-delay:-4s;
}
.wave:nth-child(3) {
    --wave-y-offset:20px;
    --wave-opacity:0.3;
    --wave-duration:14s;
    --wave-delay:-6s;
}
.wave:nth-child(4) {
    --wave-y-offset:30px;
    --wave-opacity:1 ;
    --wave-duration:21s;
    --wave-delay:-8s;
}
.vagues {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30vh;
}
.pulse {
    position: relative;
    display: block;
    margin:0 auto;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center; 
    background-color: var(--wave-blank);
    border-radius: 50%;
    z-index: 0;
}
.pulse-click {
    position: relative;
    display: block;
    margin:0;
    padding: 0;
    width: .5rem;
    height: .5rem;
    display: flex;
    justify-content: center;
    align-items: center; 
    background-color: var(--wave-blank);
    border-radius: 50%;
    z-index: 100;
}
.circles {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.168);
    border-radius: 50%;
    z-index: -1;
}
.circle {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    animation: pulse 6s linear infinite;
    z-index: -1;
}
.circle-click {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    animation: pulse 2s linear forwards;
}
.circle-click:nth-child(1) {
    animation-delay: 0s;
}
.circle-click:nth-child(2) {
    animation-delay: .6s;
}
.circle-click:nth-child(3) {
    animation-delay: 1.2s;
}
.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.circle:nth-child(1) {
    animation-delay: -2s;
}
.circle:nth-child(2) {
    animation-delay: -4s;
}
.circle:nth-child(3) {
    animation-delay: -6s;
}
.circle:nth-child(4) {
    animation-delay: -8s;
}
.circle:nth-child(5) {
    animation-delay: -10s;
}
.circle:nth-child(6) {
    animation-delay: -11s;
}
.circle:nth-child(7) {
    animation-delay: -12s;
}


@keyframes pulse{   
    0% {
        transform: scale(1);
        opacity:.5;
    }
    90% {
        transform: scale(5);
        opacity:0;
    }
    100% {
        transform: scale(7);
        opacity:0;
    }
}

@keyframes wave{
    from {
        transform: translateX( calc(var(--wave-width)*-1 ));
    }
    to {
        transform: translateX(0);
    }
}




ul.partenaires  {
    display:flex;
    margin-block: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap:2rem;
}
ul.partenaires>li {
    list-style: none;
    width: 30%;
    min-width: 180px;
    text-align: center;
}
ul.partenaires>li>img {
    max-width: 80%;
    max-height: 180px;
}






/* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  */
/* /////////////////////////////////////////////////////////////  PHONES //////////////////////////////////////////////////// */
/* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  */



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

    :root{
        --wave-blank:4rem;
        --wave-height:1rem;
    }
    .pulse {
        width: 2rem;
        height: 2rem;     
    }
    .block {
        margin: 0 0 4rem 0;
        padding: 2rem 1rem;
        width: 100vw;
    }
    p {
        line-height: 1.2rem;
    }
    .button_hide {
        display:block;
        
    }
    .button_hide > .fa-solid {
        margin: 0.1rem !important;
    }
    .menu_hide {
        display:none !important;
    }
    .boile {
        /* top:150px; */
        padding: 0;
    }
    nav {
        padding:.2rem .4rem;
    }
    #intro {
        width:90vw;
        margin: 0 auto;
    }
    .footer {
        margin-top: -2px;
        background-color: #ffffff; 
        padding: 0rem .2rem 2rem .2rem;
        font-size: .7rem;
      
    }
    .footer h5 {
        font-size: 1rem;
    }
    /* .cadre {
        height:4%;
        border-radius: 4px 0 4px 4px;
    } */


  }

