/* 
font-family: 'DM Serif Display', serif;
font-family: 'DM Serif Text', serif;
font-family: 'Geologica', sans-serif;
font-family: 'Lexend Peta', sans-serif;
font-family: 'Montserrat Alternates', sans-serif;
font-family: 'Rozha One', serif;
font-family: 'Unbounded', cursive; (600 ou 700)
*/

body {
    font-family: 'Geologica', sans-serif;
    font-weight: 400;
    color:var(--black);
    margin:0;
    padding:0;
    width:100vw;
    
}
:root {
    --main-yellow: #FFFF4E;
    --violet:#6208C0;
    --light-grey: rgb(152, 152, 152);
    --text-grey:rgb(203, 203, 203);
    --purple:#B1A0EF;
    --shadow-black: rgba(0, 0, 0, 0.12);
    --black: rgb(34, 34, 34);
    --white: white;
}


@media (prefers-color-scheme: dark) {
    :root {
        --black: white;
        --white: rgb(34, 34, 34);
        --light-grey: rgb(119, 119, 119);
        --text-grey:rgb(200, 200, 200);
        --shadow-black: rgba(214, 214, 214, 0.12);
        background-color: rgb(43, 43, 43);
    }
  }


.hide {
    visibility: hidden!important;
}
#scroller{
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-stop: normal;
    /* scroll-snap-type: y mandatory; */
    /* scroll-snap-type: y proximity; */
    scroll-behavior: smooth;
}
#break {
    display: none;
}
.hero {
    background-color: var(--light-grey);
    /* background: rgb(168,168,168); */
    /* background: linear-gradient(90deg, rgba(168,168,168,1) 0%, rgba(126,68,187,1) 19%, rgba(98,8,192,0.41082370448179273) 51%, rgba(135,75,198,1) 84%, rgba(175,175,175,1) 100%); */
    top: 0px;
    left: 0px;
    right: 0px;
    height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color:var(--text-grey);
    scroll-snap-align: start;
    position: relative;
}
.hero::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('img/accueil2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0;
}
.purple {
    /* background: rgb(98,8,192); */
    background: linear-gradient(90deg, rgba(125, 61, 194, 0.959) 40%, rgba(98,8,192,0.41082370448179273) 51%, rgba(134, 75, 198, 0.949) 80%);
}

.hero h4 {
    letter-spacing: .4rem;
    color: white !important;
}
.hero h5 {
    letter-spacing: .1rem;
    font-weight: 400;
    text-align: center;
    color: white !important;
}
.hero h1 {
    font-family: 'DM Serif Text', serif;
    color: var(--main-yellow);
    font-size: 9rem;
    letter-spacing: -1rem;
    margin: 1rem 0 0 0;
    line-height: 8rem;
}

/* ///////////////    TITRE SOUS TITRE ///////////////////////// */
#sous-titre {
    width:110px;
    margin-top: 1rem;
    z-index: 100;
}
#titre {
    width:70vw;
    max-width:380px;
    z-index: 100;
}





.hero h1 span {
    position: relative;
    display: inline-block;
    /* text-shadow: 3px 0px var(--light-grey), -3px 0 var(--light-grey), 0 3px var(--light-grey), 0 -3px var(--light-grey); */
    /* text-shadow: 3px 0px var(--purple), -3px 0 var(--purple), 0 3px var(--purple), 0 -3px var(--purple); */
}
.hero h1 span:nth-of-type(1) {
    z-index:10;
    text-shadow: 3px 0px var(--purple), 0px 0 var(--purple), 0 0px var(--purple), 0 0px var(--purple);
}
.hero h1 span:nth-of-type(2) { 
    /* le " O " */
    z-index: 2;
    cursor: pointer;
    /* transform: rotate(0deg); */
    text-shadow: 3px 0px var(--purple), -3px 0 var(--purple), 0 3px var(--purple), 0 -3px var(--purple);
    letter-spacing: -1.6rem;
    animation: rotation 1s cubic-bezier(.64,-0.8,.26,1.92) forwards;
}
.hero h1 span:nth-of-type(2):hover {
    animation: rerotation .4s cubic-bezier(.64,-0.8,.26,1.92) forwards;
}
@keyframes rotation {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(395deg);;}
}
@keyframes rerotation {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(35deg);;}
}
.hero h3 {
    margin-top: 0;
    color: var(--main-yellow);
    font-weight: 400;
}
#down-button {
    /* margin-top:8rem; */
    color:rgba(255, 255, 255, 0.489); 
    font-size: 38px;
    transition: color .1s ease-in-out;
    position: relative;
}
a[href^="#nosvaleurs"] {
    margin-top:8rem;
}
#up-button {
    color: var(--light-grey);
    font-size: 22px;
    transition: color .1s ease-in-out;
    position:fixed;
    display: block;
    top:400px;
    left:1rem;
    z-index: 100;
}
.visible {
    color:var(--white) !important;
}

@media(hover: hover) and (pointer: fine) {
    #down-button:hover {
        color: var(--main-yellow);
    }
}




/* ///////////////   NAV /////////////////// */
nav {
    display: grid;
    grid-template-columns: 80px 1fr;
    background-color: var(--white);
    opacity: .94;
    width: 100vw;
    scroll-snap-align: start;
    position:sticky;
    top:0;
    box-shadow: 0px 4px 6px var(--shadow-black);
    z-index: 100;
}

ul#menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: .8rem;
    column-gap: 3rem;
    row-gap: 1.4rem;
    justify-content: space-between;
    font-weight: 300;
    padding-right: 3rem;
}
a {
    text-decoration: none!important;
    color: var(--light-grey);
}
a:hover { 
    animation: hop .2s ease-in-out forwards;
}
@keyframes hop {
    from { color:rgb(0, 0, 0);
        border-top: 1px solid var(--main-yellow);}
    to {color: rgb(104, 104, 104);
        border-top: 8px solid var(--main-yellow);}
}


.specialo {
    font-family: 'DM Serif Text', serif;
    /* font-size: 4rem; */
    position: relative;
    display: inline-block;
    transform: rotate(22deg) translateY(-4px);
    letter-spacing: -.3rem;
    text-shadow: 2px 0px var(--white), -2px 0 var(--white), 0 2px var(--white), 0 -2px var(--white);
    z-index: 2 !important;
    font-size: inherit;
}
@keyframes orotation {
    0% {transform: rotate(0deg) translateY(-4px);}
    100% {transform: rotate(382deg) translateY(-4px);}
}
.avant {
    text-shadow: 2px 0px var(--white), -2px 0 var(--white), 0 2px var(--white), 0 -2px var(--white);
    letter-spacing: -.3rem;
    position: relative;
    z-index: 10 !important;
}
.blockgris .specialo, .blockgris .avant {
    text-shadow: 2px 0px var(--violet), -2px 0 var(--violet), 0 2px var(--violet), 0 -2px var(--violet) !important;
}
.blockgrisclair .specialo, .blockgrisclair .avant {
    text-shadow: 2px 0px var(--main-yellow), -2px 0 var(--main-yellow), 0 2px var(--main-yellow), 0 -2px var(--main-yellow) !important;
}
.blocknoir .specialo, .blocknoir .avant {
    text-shadow: 2px 0px var(--black), -2px 0 var(--black), 0 2px var(--black), 0 -2px var(--black) !important;
}

.tourne {
    /* color:rgb(55, 55, 55); */
    animation: orotation 1s cubic-bezier(.64,-0.8,.26,1.92) forwards;
}



/* //////////////////////////////////   BLOCK ////////////////////// */
.block {
    font-weight: 200;
    text-align: center;
    min-height: 300px;
    padding: 2rem 2rem 1rem 2rem;
    /* scroll-snap-align: start; */
    /* margin-bottom: 8rem; */
}
.block h3 {
    font-family: 'Unbounded', cursive;
    color:var(--violet);
    font-weight: 600;
    font-size: 3.5rem;
    margin:2rem 0;
    z-index: 0 !important;
    /* box-shadow: 0px 8px 12px black; */
}
.block h4 {
    font-family: 'Unbounded', cursive;
    font-weight: 600;
    font-size: 2.2rem;
    margin:2rem 0;
    z-index: 0 !important;
    color:var(--violet);
}
.block p {
    font-weight: 200;
    max-width: 780px;
    margin: 1rem auto;
    color:var(--black);
    text-align: center;
}

.tv {
    width: 100vw;
    text-align: center;
}
#video, #video22 {
    width:800px;
    /* height: 315px; */
    aspect-ratio: 16/9;
    margin: 0 auto!important;
}

.blockgris {
    /* background-color: var(--light-grey);
    color: var(--white) !important; */
    background-color: var(--violet);
    color:var(--main-yellow) !important;
    position: relative;
}
.blockgris>p, .blockgris>h4, .blockgris>h3 {
    color:var(--main-yellow);
}



.blockgris button {
    background-color:var(--main-yellow);
    color:var(--violet);
}
.blockgrisclair {
    /* background-color: var(--text-grey);
    color: grey !important; */
    background-color: var(--main-yellow);
    color:var(--violet) !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    grid-gap:1rem;
}
.blockgrisclair button {
    background-color: var(--violet);
    color:var(--main-yellow);
}
.blockgrisclair > .right p,
.blockgrisclair > .left p {
    color:var(--violet);
}
.blocknoir {
    background-color: var(--black);
    color: var(--white);
}
.blocknoir > h3 {
    color:white;
}

.social {
    color:var(--white); 
    font-size: 4rem;
    margin:2rem
}

/* //////////////   L'EQUIPE ///////////// */
#team {
    margin: 0 auto;
    display: grid;
    gap:1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    width:85vw;
    max-width: 600px;
}
.personne {
    width:100%;
    aspect-ratio: .9;
    background-color: var(--text-grey);
    border-radius: 0 0 8px 8px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 42px;
    align-items: center;
    font-size: 14px;
}
.profil > img {
    width:100%;
}
.profil {
    height: 100%;
    overflow: hidden;
    /* background-color: red; */
}
#benevoles-img {
    width:90%;
    max-width:900px;
}



/* //////////////////////  PARTENAIRE ///////////////////// */


#partenaires {
    margin: 0 auto;
    display: grid;
    gap:3.5rem;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    width:85vw;
    max-width: 600px;
    justify-items: center;
}

.partenaire {
    width:110px;
    height: 110px;
    display:grid;
    align-items:center;
    justify-content: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto 22px;
    grid-gap:.1rem;
    background-color: white;
    box-shadow: 1px 8px 8px rgba(58, 58, 58, 0.103);
    border-radius: 12px 0;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.partenaire > img {
    max-height: 88px;
    max-width: 110px;
    /* width:68px !important; */
    margin: 0 auto;
}


/* //////////////// ARCHIVES /////////////// */
button {
    cursor: pointer;
    text-decoration: none !important;
    text-transform: uppercase;
    /* color: grey; */
    color:var(--main-yellow);
    background-color: var(--violet);
    border: none;
    letter-spacing: .1rem;
    font-weight: 600;
    font-size: .8rem !important;  
    border-radius: 1.2rem;
    padding: .6rem 2rem;
    box-shadow: 1px 4px 12px rgba(106, 106, 106, 0.15);
    margin: 0 auto;
}
button:hover {
    box-shadow: 1px 4px 12px rgba(106, 106, 106, 0.282);
}






/* ///////////////////// ESSAI de WAVE    /////////////////////// */
.wrap > img {
    height:220px;
    position: relative;
    top:-60px;
    left:-69px;
    transition: all .3s cubic-bezier(.64,-0.8,.26,1.92);
}
.wave {
    height: 220px;
    width: 90vw;
    max-width: 800px;
    position: relative;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap:1vw;
}
.wrap {
    /* height:22px; */
    height: 10%;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width:100%;
    top:50%;
    border-radius: 42px;
    transition: all .3s cubic-bezier(.64,-0.8,.26,1.92);
}
.haut0 {
    /* height:42px !important; */
    height: 20%;
    top:50%;
}
.monte0{ 
    top:-45px !important;
}
.haut1 {
    /* height:90px; */
    height: 45%;
    top:35%;
}
.monte1{ 
    top:-30px !important;
}
.haut2 {
    /* height:170px; */
    height:65%;
    top:15%;
}
.monte2 { 
    top:0 !important;
}
.haut3 {
    /* height:220px; */
    height: 100% !important;
    top:0;
}
.monte3 { 
    top:0 !important;
}



/* ///////////////////////////////     BOUTIQUE    ///////////////////////////// */
.frise {
    width:100vw;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 22vw;
    overflow: hidden;
}
.frise > img {
    width: 20vw;
}




/* ///////////////////////////////  MEDIA  ////////////////////////// */
@media only screen and (max-width: 1130px) {

    nav ul#menu {
        font-size: .85rem;
        column-gap: 1.2rem;
        row-gap: .7rem;
        padding-right: 1.2rem;
    }

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

    nav ul#menu {
        font-size: .7rem;
        column-gap: .8rem;
        padding-right: .2rem;
    }

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

    .block {
        padding-top: 5rem;
        /* padding: 8rem 1rem 1rem 2rem; */
    }
    .block p {
        margin:.5em 0 0 1rem ;
    }
    .block h3 {
        font-size: 1.8rem;
    }
    .block h4 {
        font-size: 1.4rem;
    }
    #video, #video22 {
        width:100vw;
        aspect-ratio: 16/9;
    }
    nav ul#menu {
        padding-right: 1rem;
    }
    .hero h1 {
        letter-spacing: -1.4rem;
    }

    #sous-titre {
        width:80px;
    }


    .hero h1 span:nth-of-type(2):active {
        animation: rerotation .4s cubic-bezier(.64,-0.8,.26,1.92);
    }
    #programmation > h3 {
        font-size: 1.2rem;
    }
    #partenaires {
        grid-gap:1rem;
    }
    .blockgrisclair {
        background-color: var(--main-yellow);
        color: var(--violet) !important;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap:.2rem;
    }
    .specialo {
        transform: rotate(22deg) translateY(-2px);
        letter-spacing: -.2rem;
    }
    .avant {
        letter-spacing: -.2rem;
    }
    #programmation > h3 .specialo,
    #programmation > h3 .avant {
        letter-spacing: 0rem;
    }
    @keyframes orotation {
        0% {transform: rotate(0deg) translateY(-2px);}
        100% {transform: rotate(395deg) translateY(-2px);}
    }
    .wave {
        height: 120px;
        width: 80vw;
        grid-gap:2px;
    }
    .wrap > img {
        height: 120px;
        top:-30px;
        left:-36px;
    }
    #break {
        display: inline;
    }
    #webdev {
        font-size: .52rem !important;
    }
}


.tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    width: 100px;
    color: white;
    background-color: #192733;
    padding: 5px;
    top: 50%;
    left: 50%;
  }

.hover-text:hover .tooltip-text {
    visibility: visible;
  }
  .hover-text {
    position: relative;
    display: inline-block;
    margin: 40px;
    text-align: center;
  }
  
 .programmation-inline {
    border-width: 0px !important;
    height: 90vh;
    width: 100% !important;
    max-width: 1400px;
 } 