/* style-2025.css */

/* ----- basic ------ */
* {  
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;

    background-color: #87CEEB;
    font-family: Arial, sans-serif;

}



/* Général */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Header */
.header-2025 {
    background: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

.header-2025 h1 a {
    color: #fff;
    text-decoration: none;
}

.header-2025 .main-navigation a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
}

.header-2025 .main-navigation a:hover {
    color: #fff;
}

/* Footer */
.footer-2025 {
    background: #f5f5f5;
    color: #333;
    text-align: center;
    padding: 20px 0;
}

.footer-2025 .footer-navigation a {
    color: #333;
    margin: 0 10px;
    text-decoration: none;
}

.footer-2025 .footer-navigation a:hover {
    text-decoration: underline;
}

/* Accueil enfant */
.new-page-enfant-2025 {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background: #f9f9f9;
}

.new-page-enfant-2025 h2 {
    margin: 0;
    font-size: 1.5em;
}

.new-page-enfant-2025 p {
    margin: 5px 0 0;
    color: #555;
}



/* ---------------- accueil 2025 ------------------- */
a {
    color: #000;
    text-decoration: none;
    transition: all 0.4s ease;
}
a:hover {
    color: #333;
    transition: all 0.4s ease;
  }

.page-accueil-2025 {
    padding: 1%;
    opacity: 0.1;

    display: none;
}

/* ------ font -------- */
.vt323-regular {
    font-family: "VT323", monospace;
    font-family: "VT323", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
  }

/* ------ logo ------- */
.pixel-logo {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    /* background: #FFFFFF; */
    /* border: 3px solid #000; */
    color: #f08b34;
    padding: 10px;
    font-size: 4.2rem;
    animation: pixelatedMove 3s ease-in-out infinite alternate;
    font-family: "VT323", Arial, sans-serif;
    font-weight: 400;
}



@keyframes pixelatedMove {
    0% { transform: translate(-50%, 0); }
    25% { transform: translate(-48%, -5px); }
    50% { transform: translate(-50%, 0); }
    75% { transform: translate(-52%, 5px); }
    100% { transform: translate(-50%, 0); }
}

/* Style des fenêtres */
.window {
    position: absolute;
    width: 200px;
    height: 150px;
    background: #FFF;
    border: 2px solid #000;
    box-shadow: 3px 3px #000;
    cursor: grab;
    transition: background-color 0.2s, top 0.3s, left 0.3s;
    overflow: hidden;
    z-index: 1;
}

.window.minimized {
    width: 200px;
    height: 30px;
    bottom: 0;
    left: 10px;
    animation: none;
}

.window-header, .large-window-header {
    background-color: #e0e0e0;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
}

.window-header {
    cursor: grab;
}

.large-window-header {
    cursor: auto;
}

.window-title, .large-window-title {

    font-family: "VT323", Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
}


.window-button, .large-window-button {
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 5px;
    color: #555;
    position: absolute;
    right: -3px;
    top: -2px;
    display: flex;
    font-family: arial;
    font-weight: 900;
    font-size: 29px;
    transform: rotate(45deg);
    width: 30px;
    height: 30px;
    /* border: 1px solid red; */
    justify-content: center;
    align-items: center;
    text-decoration: none; 
}

/*
.large-window-button {
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 5px;
    color: #555;
    text-decoration: none; 
}*/

/*
.window.minimized .close-btn::after {
    content: "⬆️";
    font-size: 0.8rem;
}*/

/* Transition pour l'icône de fermeture */
.window-button {
    /*display: inline-block;*/
    transition: transform 0.3s ease, content 0.3s ease; /* Animation de rotation fluide */
}

/* Modifier l'apparence de l'icône lorsqu'une fenêtre est minimisée */
.window.minimized .close-btn {
    transform: rotate(90deg); /* Fait pivoter le "x" pour qu'il ressemble à un "+" */
}

.window.minimized .close-btn::after {
    content: ""; /* Supprime la flèche haute */
}

.window:hover {
    background-color: #FFFFCC;
}

/* Disposition mobile-friendly */
@media (max-width: 768px) {
    body {
        overflow-y: auto; /* Activer le défilement vertical */
    }

    .window {
        position: relative; /* Supprime le positionnement absolu */
        margin: 10px auto;
        width: 90%;
        cursor: default;
    }

    .window-header {
        cursor: default; /* Désactiver le drag sur mobile */
    }

    .window.minimized {
        position: relative;
        width: 90%;
        bottom: auto;
        left: auto;
        margin: 10px auto;
    }
}

/* Transitions par défaut pour les fenêtres */
.window {
    position: absolute;
    width: 200px;
    height: 150px;
    background: #FFF;
    border: 2px solid #000;
    box-shadow: 3px 3px #000;
    cursor: grab;
    transition: background-color 0.2s, top 0.3s, left 0.3s; /* Transition activée */
    overflow: hidden;
    z-index: 1;
}

.window.dragging {
    transition: none; /* Désactivation des transitions pendant le drag */
    opacity: 0.9; /* Retour visuel légèrement transparent */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5); /* Accentuation de l'ombre */
}



/* Animation de l'icône de fermeture */
.window-button {
    /*display: inline-block;*/
    transition: transform 0.3s ease; /* Transition fluide */
}


/* Fenêtre minimisée */
.window.minimized {
    width: 200px;
    height: 30px;
    bottom: 10px;
    position: fixed; /* Fixée en bas de l'écran */
    transition: all 0.3s ease-in-out;
}

/* Zone dédiée aux fenêtres minimisées */
.minimized-container {
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 10px; /* Espacement entre les fenêtres minimisées */
    z-index: 100; /* Toujours au-dessus */
}






.windows-desc {
    padding: 8px;
    font-family: "VT323", Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #494a4d;
    cursor: auto;

    height: 100%;
    width: 100%;
}

.windows-desc a {
    display: block;
    color: #6a7dba;
    color: #494a4d;
    text-decoration: none;
    border: 0px solid red;
    height: 100%;
    width: 100%;
}
.windows-desc a:hover {
    color: #333;
  }





/* ------- grande fenetre -------- */
/* Fenêtre pour les pages internes */
/* Grande fenêtre : même style que les petites mais non déplaçable */
.large-window {
    position: relative;
    width: 95%;
    max-width: 900px;
    height: auto;
    background: #FFF;
    border: 2px solid #000;
    box-shadow: 5px 5px #000;
    overflow: hidden;
    margin: 50px auto 100px;
}

.version-full-screen {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    background: #FFF;
    border: 2px solid #000;
    box-shadow: 5px 5px #000;
    overflow: hidden;
    margin: 5px auto 60px;
}

/* Header de la grande fenêtre */
/*.large-window-header {
    background-color: #e0e0e0;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
}

.large-window-title {
    font-family: "VT323", Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
}*/

/*
.large-window-button {
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 5px;
    color: #555;
    text-decoration: none; 
}*/




/* -------- (if) Thumbnail de la grande fenêtre --------- */
/* If on veut agrandir, avec un padding de 8px */
/*.large-window-thumbnail {
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-top: -8px;
}*/
.large-window-thumbnail {
    position: relative;
}




/* -------- Contenu de la grande fenêtre --------- */
.large-window-content {
    padding: 8px;
    font-family: "VT323", Arial, sans-serif; /* Police des petites fenêtres */
    font-weight: 400;
    font-size: 20px;
    color: #494a4d;
    line-height: 1.5;
}

.version-full-screen .large-window-content {
    padding: 0px;
}


/* mis en ligne le 1 DEC 2024 */
/* menu dans large windows (billeterie, iframe...) */
.iframe-sous-menu-windows {
    position: absolute;
    top: 27px;
    left: 0;
    /*background-color: #ddddddc8;*/
    color: #111;
    font-size: 18px;
    z-index: 1000;
    display: flex;
    overflow-x: auto; /* Active le défilement horizontal */
    white-space: nowrap; /* Empêche les retours à la ligne */
    -webkit-overflow-scrolling: touch; /* Défilement fluide sur mobile */
    width: 100%; /* Assurez une largeur maximale */
}

.iframe-sous-menu-windows ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap; /* Empêche les retours à la ligne */
}

.iframe-sous-menu-windows ul li {
    margin: 0;
}

.iframe-sous-menu-windows ul li a {
    display: block;
    padding: 0 5px;
    background-color: #ddddddc6;
    border-bottom: 1px solid #000000a8;
    border-right: 1px solid #000000a8;
    text-decoration: none;
    color: #111;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.iframe-sous-menu-windows ul li a:hover, 
.iframe-sous-menu-windows ul li a:active { 
    background-color: #afafafa1;
    color: #111;
}


/* enlever la barre de defillement */
.iframe-sous-menu-windows {
    scrollbar-width: none; /* Pour Firefox */
    -ms-overflow-style: none; /* Pour Internet Explorer */
}

.iframe-sous-menu-windows::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Edge */
}

/* if none cacher sous-menu */
.hidden-menu {
    display: none;
}




/* Liens dans le contenu */
.large-window-content a {
    color: #6a7dba;
    text-decoration: none;
}

.large-window-content a:hover {
    color: #333;
}

/* ------ content ------- */

.large-window-content p {
 padding: 10px 0;
}

.large-window-content h1 {
    font-size: 44px;
   }

   .large-window-content h2 {
    font-size: 32px;
    line-height: 36px;
   }

   .large-window-content h3 {
    font-size: 24px;
    line-height: 28px;
   }


/* ------- groupe de chose 2025 style windows retro vintage  -------- */
/* fevrier 2025 : inspiration windows 98 */

.wp-block-group {
    box-sizing: border-box;
    background: #c0c0c07d;
    border: 2px solid #80808040;
    padding: 25px 10px 20px;
    font-family: 'MS Sans Serif', 'Tahoma', sans-serif;
    font-family: "VT323", Arial, sans-serif;

    font-size: 14px;
    color: black;
    box-shadow: inset -2px -2px 0 #dfdfdf, inset 2px 2px 0 #8080809c;
    position: relative;

    margin: 10px;
}

.wp-block-group p {
    font-family: 'MS Sans Serif', 'Tahoma', sans-serif;
}


/* Barre de titre suggérée (fine ligne en haut) */
.wp-block-group::before {
    content: "";
    display: block;
    background: #a0a0a0;
    height: 14px;
    width: 100%;
    border-bottom: 2px solid #808080cc;
    position: absolute;
    top: 0;
    left: 0;
}

/* Effet hover léger pour une interaction subtile */
.wp-block-group:hover {
    background: #d0d0d085;
    box-shadow: inset -2px -2px 0 #dfdfdf, 
                inset 2px 2px 0 #707070;
}

/* content : quote */
.wp-block-quote {
    overflow-wrap: break-word;
    border: 1px solid grey;
    background: #f1f1f1;
    padding: 5px;
}


/* ------- boutons 2025 style windows retro vintage  -------- */
/* fevrier 2025 : inspiration windows 98 */

.wp-block-button__link.wp-element-button {
    display: inline-block;
    padding: 6px 12px;
    font-family: 'MS Sans Serif', 'Tahoma', sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    text-decoration: none;
    color: #000;
    background: #c0c0c0;
    border: 2px solid #808080;
    border-radius: 2px;
    box-shadow: 
        2px 2px 0 #fff, 
        3px 3px 0 #404040, 
        inset -2px -2px #808080, 
        inset 2px 2px #dfdfdf;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.1s ease-in-out;
}

.wp-block-button__link.wp-element-button:hover {
    background: #d8d8d8;
    box-shadow: 
        4px 4px 0 #000, /* Ombre ultra noire qui se décale */
        2px 2px 0 #fff, 
        3px 3px 0 #404040, 
        inset -2px -2px #808080, 
        inset 2px 2px #dfdfdf;
    transform: translate(-1px, -1px); /* L'effet d'ombre qui donne un aspect "vibration" */
}

.wp-block-button__link.wp-element-button:active {
    background: #a0a0a0;
    box-shadow: inset 2px 2px 0 #404040, 
                inset -2px -2px 0 #dfdfdf;
    transform: translate(2px, 2px);
}




















/* Bouton d'édition pour les administrateurs */
.edit-button-administrator-yellow-absolute-corner a{
    background: #ddd;
    position: fixed;
    bottom: 55px;
    left: 4px;
    color: #000;
    padding: 5px;
    font-size: 14px;
    border: 2px solid #000;
    width: 30px;
    height: 30px;
    display: flex;
    border-radius: 3px;
    /*cursor: pointer;*/
    /* opacity: 0.5; */
    align-items: center;
    font-weight: 900;
    justify-content: center;

    z-index: 1902;
}

.edit-button-administrator-yellow-absolute-corner a:hover::after {
    content: "modifier";
    background: #ddd;
    position: absolute;
    bottom: 32px;
    left: -1px;
    color: #000;
    padding: 5px;
    font-size: 14px;
    border: 2px solid #000;
    display: flex;
    border-radius: 3px;
    align-items: center;
    font-weight: 900;
    justify-content: center;
}

/** ----- copyright credit injecter dans menu avec js ----- 
* voir footer pour le JS
*/
.copyright-credit-cp {
    position: absolute;
    bottom: 60px;
    left: 11px;
    /* opacity: 0.1; */
    font-size: 14px;
    color: #888;
    line-height: 1;
    /* text-align: right; */
    opacity: 0.6;
}

.copyright-credit-cp h2 {
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 2px;
}


.copyright-credit-cp a {
    color: #888;
    text-decoration: underline;
}

.copyright-credit-cp a:hover {
    color: #222;
    text-decoration: underline;
}



/* ----- texte defilant ----- */  
  .marquee-container_cp {
    width: calc(100% - 140px);
    border: 0px solid black;
    overflow: hidden;
    /* background-color: #222; */
    color: #fff;
    white-space: nowrap;
    position: relative;
    position: fixed;
    bottom: 0;
    z-index: 1011;
    height: 48px;
    color: #444;
    display: flex;
    align-items: center;

    font-size: 20px;
    font-family: "VT323", Arial, sans-serif; /* Police des petites fenêtres */
    font-weight: 400;
  }
  
  .marquee_cp {
    display: inline-flex;
    animation: scroll 60s linear infinite;
  }
  
  .marquee_cp span {
    display: inline-block;
    padding-right: 140px; /* Ajuster l'espacement entre les répétitions */
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .cache-marquee {
    position: fixed;
    bottom: 0px;
    right: 140px;
    background: linear-gradient(to right, transparent, #ddd);
    z-index: 10000000;
    height: 40px;
    width: 50px;
  }
  
