/**
* 
* Pour : le nouvel header 2025 : head / titres / menu
* Author : Quentin Renaux
* Version : 2025
* Crée le : 28/11/24
* Last edit : 28/11/24
*
*/


:root {
    --headsize: 50px;
  }
@media (max-width: 800px) {       
    :root {
        --headsize: 30px;
    }
}    

/* ---------- general ---------- */
.newheader_v25 {
    /*background: #ccc;*/

    padding: 10px;
    position: fixed;
    width: 100%;
    display: flex;

    pointer-events: none;
    z-index: 1002;

    mix-blend-mode: difference;
    filter: invert(1);
}

/* ---------- head ---------- */
.head_v25 {
    /*background: #ddd;*/
    /*padding: 10px;*/
    margin: 2px;
    flex-shrink: 0;
    position: relative;
    width: var(--headsize);
    height: var(--headsize);
}

.the-head_v25 {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--headsize);
    height: var(--headsize);
    transform-origin: center;
    transform: rotate(0deg);
}

.the-head_v25-inner {
    /*background: #f5f5f590;*/
    
    /*border: 2px solid black;*/
    border-radius: 50%;

    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*transition: transform 0.5s ease;*/
    /*transition: transform 0.6s cubic-bezier(0.4, 0, 1, 1);*/
    transition: 0.4s ease-in-out;

    pointer-events: all;
}

.the-head_v25-inner:hover,
.the-head_v25-inner:active {
    transform: rotate(540deg); /* 1.5 tours supplémentaires */
}

/* ---------- titre ---------- */
.titre_v25 {
    /*background: #ddd;*/
    /*padding: 10px;*/
    margin: 2px 2px 2px 5px;
    flex-grow: 1;
    height: var(--headsize);
    display: flex;
    align-items: center;
}

/* titre : accueil */
.titre_v25 h2 {
    /*background: #ececec;*/
    font-size: 55px;
    margin-top: -9px;
    font-family: arial, helvetica;
    display: inline-block;
    pointer-events: all;
}

@media (max-width: 800px) {       
    .titre_v25 h2 {
        font-size: 24px;
        margin-top: -3px; /* remonter la font pour la centrer */
    }
}  

/* titre : single */
.menu-v25_titre {    
    display: block;
    pointer-events: all;
    position: relative;
    font-family: arial, helvetica;
    font-family: "Krona One", Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -1px;

    overflow: hidden;
    white-space: nowrap;
    width: calc(100vw - 260px);
}   

.menu-v25_titre h1, .menu-v25_titre span {
    font-size: 25px;
    margin-right: 60px;
    font-weight: 400;
    display: inline-block;
}   

.menu-v25_titre_crochet {
    height: 100%;
    padding: 0px 1px;
    margin-bottom: 0px;
    margin-bottom: 3px;
    font-size: 25px;
    display: flex;
    font-family: arial, helvetica;
    font-family: "Krona One", Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}    

.marquee__content-v25 {
    display: inline-block;
    animation: marquee-v25 50s linear infinite;
 }

@keyframes marquee-v25 {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 800px) {
    .marquee__content-v25 {
        animation: marquee-v25-mobile 45s linear infinite;
}

@keyframes marquee-v25-mobile {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}

@media (max-width: 800px) {       
    .menu-v25_titre {    
        width: calc(100vw - 157px);
    }   

    .menu-v25_titre h1, .menu-v25_titre span, .menu-v25_titre_crochet {
        font-size: 20px;
    }   
}  

/* ---------- menu ---------- */
.menu_v25 {
    /*background: #ddd;*/
    /*padding: 10px;*/
    margin: 2px;
    flex-shrink: 0;
    height: var(--headsize);
    display: flex;
    align-items: center;
    pointer-events: all;
}



