body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-y: auto; /* Permet le défilement vertical */
    height: 100vh; /* Assure que le corps prend toute la hauteur de la fenêtre */
}

.background {
    background-image: url('bande-de-couleur2.png');
    background-size: 100%;
    background-attachment: fixed;
    height: auto; /* Permet à l'arrière-plan de s'ajuster à la taille du contenu */
    position: relative;
    overflow: hidden;
}

.logo {
    position: absolute;
    top: 200px; 
    left: 50%; /* Centrer horizontalement */
    transform: translate(-50%, -50%); /* Ajuster pour centrer l'image */
    opacity: 1; /* Rendre le logo légèrement transparent */
    z-index: 0; /* Placer le logo derrière le contenu */
    width:250px;
    height:auto;
}

.overlay {
    background: rgba(255, 255, 255, 0.8);
    width: 60%;
    margin: auto;
    padding: 20px;
    border-radius: 30px;
    position: relative;
    text-align: center;
    z-index: 1; /* Placer le contenu au-dessus du logo */
    height:auto;
    margin-top:0px;
}

.title {
    font-family: 'DK Bocadillo', cursive;
    color: white;
    font-size: 5em;
    margin-bottom: 0px;
    text-shadow:
        1px 1px 2px black,
        0 0 1em black,
        0 0 0.2em black;
}

.subtitle {
    font-family: 'DK Bocadillo', cursive;
    font-size:2.5em;
    margin-bottom: 0px;
}

.subsubtitle {
    font-family: 'Neutraface 2 Display', cursive;
    font-size: 2em;
    margin-top: -15px;
}



.content {
    display: flex;
    flex-direction: column; /* Change to column for vertical stacking */
    align-items: center; /* Center align the holes */
}


.info-box-regul {
    width:90%;
    background: red;
    color: Black;
    border: 2px solid black; /* Contour noir */
    position: relative;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius:30px;
    overflow: hidden;
    margin: 10px 0;
    transition: max-height .8s ease;
    max-height: auto;
}

.info-box-ponctuel {
    width:90%;
    background: green;
    color: Black;
    border: 2px solid black; /* Contour noir */
    position: relative;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius:30px;
    overflow: hidden;
    margin: 10px 0px;
}

.info-box-ag {
    width:90%;
    background: purple;
    color: Black;
    border: 2px solid black; /* Contour noir */
    position: relative;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius:30px;
    overflow: hidden;
    margin: 10px 0;
}

.info-box-pres {
    width:90%;
    background: white;
    color: Black;
    border: 2px solid black; /* Contour noir */
    position: relative;
    height: auto;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    border-radius:30px;
    overflow: hidden;
    margin: 10px 0;   
}

.info-box-cotis {
    width:90%;
    background: yellow;
    color: Black;
    border: 2px solid black; /* Contour noir */
    position: relative;
    height: auto;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    border-radius:30px;
    overflow: hidden;
    margin: 10px 0;   
}

.info-box-vac {
    width:90%;
    background: red;
    color: Black;
    border: 2px solid black; /* Contour noir */
    position: relative;
    height: auto;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    border-radius:30px;
    overflow: hidden;
    margin: 10px 0;   
}

.info-cotis{
    font-family: 'Neutraface 2 Display', sans-serif;
    font-size: 1.4em;
    color: black;
    text-align:center;
    font-weight: thin;
    text-indent:30px;
}

.info-pres{
    font-family: 'Neutraface 2 Display', sans-serif;
    font-size: 1.4em;
    color: black;
    text-align:justify;
    font-weight: thin;
    text-indent:30px;
}

.info-ag {
    font-family: 'Neutraface 2 Display', sans-serif;
    font-size: 1.4em;
    color: white;
    font-weight: bold;
    vertical-align:middle;
}

.info-title {
    font-family: 'DK Bocadillo', cursive;
    color: white;
    text-shadow: 1px 1px 2px black; /* Ombre noir */
    font-size: 2.5em;
    top: 10px;
    left: 10px;
    text-align:left;
}

.info-subtitle {
    font-family: 'Neutraface 2 Display', sans-serif; /* Utilisation de Neutraface 2 */
    font-size: 1.4em; /* Ajustez la taille de la police selon vos préférences */
    color: white; /* Couleur du sous-titre, ajustez selon vos besoins */
    margin-top: 0px;
    text-align:left;
    top: 60px;
    left: 10px;
    font-weight: bold;
}

.info-content {
    font-family: 'Neutraface 2 Display', sans-serif; /* Utilisation de Neutraface 2 */
    bottom: 10px;
    right: 10px;
    font-size: 2em;
    white-space:normal;    
    width: 100%; /* Ajustez la largeur pour permettre l'enroulement */
    text-align: right; /* Aligne le texte à droite */
    line-height: 1; /* Ajustez cette valeur pour contrôler l'espacement entre les lignes */
    font-weight: bold;
}

.info-bonus {
    font-family: 'Neutraface 2 Display', sans-serif; /* Utilisation de Neutraface 2 */
    bottom: 10px;
    right: 10px;
    font-size: 1.3rem;
    white-space:normal;    
    width: 100%; /* Ajustez la largeur pour permettre l'enroulement */
    text-align: right;
    line-height: 1; /* Ajustez cette valeur pour contrôler l'espacement entre les lignes */
    display: none;
}

.show {
    display: block !important;
}

.zoomable {
    transform: scale(1); /* Valeur par défaut */
    transition: transform 0.3s; /* Animation lors du zoom */
}

.toggle-btn {
    font-family: 'Neutraface 2 Display', sans-serif; /* Utilisation de Neutraface 2 */
    position:relative;
    margin-top: 1rem;
    background: #B22222;
    color: #fff;
    border: 2px solid #800000;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    float:right;
}
.toggle-btn:hover {
    background: #8B0000;
}

/* 2️⃣  Nouveau style uniquement pour les boîtes ponctuelles */
.info-box-ponctuel .toggle-btn {
    background:#006400;          /* vert foncé au lieu du rouge */
    color:#f0f0f0;               /* texte légèrement plus clair */
    border:2px solid #003300;    /* bordure verte plus visible */
    font-size:0.85rem;           /* taille légèrement plus petite */
    border-radius:6px;           /* coins un peu moins arrondis */
    padding:0.4rem 0.8rem;       /* ajustement du padding */
}

/* 3️⃣  Option : effet hover distinct */
.info-box-ponctuel .toggle-btn:hover {
    background:#004d00;          /* vert plus sombre au survol */
}

    .photo{
    width:100%;
}

#flyerinstallparty { width:auto; max-width:400px; }
#festdeiz { width:100%; max-width:400px; }

@media (max-width: 768px) {

    .overlay{
    margin-top: -30px;
    }
    
    .title {
        font-size: 2.4em; /* Réduire la taille de la police sur les petits écrans */
    }
    .subtitle {
        font-size: 1.2em; /* Ajuster la taille de la police */
        width: 100%; /* S'assurer que le texte utilise toute la largeur */
    }
    .subsubtitle {
        font-size: 1.2em; /* Ajuster la taille de la police */
    }
    .info-title {
        font-size: 1.5em; /* Ajuster la taille de la police */
    }
    .info-subtitle {
        font-size: 0.8em; /* Ajuster la taille de la police */
        left: 5px;
        margin-top: 0px;
    }
    .info-content{
        font-size: 0.9em; /* Ajuster la taille de la police */
        line-height: 1;
    }

    .info-box-regul{
        width:100%;
    }

    .info-box-ponctuel{
        width:100%;
    }

    .info-box-ag{
        width:100%;
        height:auto;
    }

    .info-box-pres{
        width:100%;
        height:auto;
    }

    .info-box-cotis{
        width:100%;
        height:auto;
    }

    .info-box-vac{
        width:100%;
        height:auto;
    }

    .info-ag{
    font-size:1.4em;
    top:100px;
}

    .info-bonus{
    font-size:0.7rem;
}



    .toggle-btn {
    height:1.2rem;
    width:4rem;
    font-size:0.5rem;
    margin-top:0.3rem;
    padding: 0.2rem 0.2rem;
}

    .info-box-ponctuel .toggle-btn {
        font-size: 0.5rem;      /* taille adaptée aux petits écrans */
        height: 1.2rem;           /* ajuste la hauteur si besoin */
        width: 4rem;          /* ajuste la largeur si besoin */
        padding: 0.2rem 0.2rem;
    }

    #flyerinstallparty{ width:100%;}

    .overlay{
        width:90%;
    }

    .download-icon{
    position:static;
    horizontal-align:center;
    bottom:0px;
    }

    * {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 0;
	}
	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer/afficher les éléments  */

	.u-mobile {          display: block;          display: revert !important; /* affichage des éléments */        }        .u-no-mobile {          display: none !important; /* masquage des éléments */        }
	
	/* Un message personnalisé */

	body:before {
		content: "Version mobile du site";
		display: block;
		text-align: center;
		font-style: italic;
		color: #777;
	}
}

@media (max-width:768px) and (orientation: landscape) {
  html {
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
  }
    .overlay{
    width:55%;
    }
}

@media (min-width: 768px) { 
    body {
        transform: scale(1.3); 
    }
    .download-icon{
    position:absolute;
    right:100px;
    bottom:75px;
    vertical-align: center; 
    }

    .logo{
    top:220px;
    }

    .title{
    margin-top:100px;
    }
    
    .subtitle{
    text-shadow: 1px 1px 2px black; /* Ombre noir */
    }
}

@font-face {
    font-family: 'DK Bocadillo';
    src: url('fonts/DKBocadillo-Regular.woff2') format('woff2'), /* Format WOFF2 */
         url('fonts/DKBocadillo-Regular.woff') format('woff'),   /* Format WOFF */
         url('fonts/DKBocadillo-Regular.ttf') format('truetype'); /* Format TTF */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'neutraface 2 Display';
    src: url('fonts/Neutraface 2 Display Bold.ttf') format('truetype'),
         url('fonts/Neutraface 2 Display Bold.woff2') format('woff2'),
         url('fonts/Neutraface 2 Display Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'neutraface 2 Display Light';
    src: url('fonts/Neutraface-2-Display-Light.ttf') format('truetype'),
         url('fonts/Neutraface-2-Display-Light.woff2') format('woff2'),
         url('fonts/Neutraface-2-Display-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.footer {
    background-color: transparent; /* Couleur de fond de la section */
    padding: 20px; /* Espacement intérieur */
}

.footer-item {
    display: flex; /* Utilisation de flexbox pour aligner les éléments */
    align-items: left; /* Alignement vertical */
    text-decoration: none; /* Supprime le soulignement des liens */
    color: #333; /* Couleur du texte */
    margin: 10px 0; /* Espacement entre les lignes */
    background-color: transparent; /* Fond transparent */
    border: none; /* Supprime toute bordure */
    padding: 0; /* Supprime le padding */
}

.footer-logo {
    width: 30px; /* Largeur du logo */
    height: 30px; /* Hauteur du logo */
    margin-right: 10px; /* Espacement à droite du logo */
}

.footer-item:hover {
    color: #007BFF; /* Couleur du texte au survol */
}

.footer-text {
    display: flex; /* Utilisation de flexbox pour aligner les éléments */
    align-items: center; /* Alignement vertical */
    color: #333; /* Couleur du texte */
    margin: 10px 0; /* Espacement entre les lignes */
    font-family: inherit; /* Utilise la même police que les liens */
    font-size: inherit; /* Utilise la même taille de police que les liens */
    text-decoration: none; /* Supprime le soulignement si nécessaire */
}

.download-link {
    margin-right: 10px; 
}

.download-icon {
    width: 100px;
    height: 142px; 

}

.button {
    font-family: 'Neutraface 2 Display', sans-serif;
    display: inline-block;
    padding: 15px 30px;
    font-size: 25px;
    border: 1px solid black;
    color: BLACK;
    background-color: #FFE400;
    text-decoration: none;
    border-radius: 15px;
    transition: background-color 0.3s, transform 0.1s;
    margin-top:10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}

.button:hover {
    background-color: #FFE400; 
    transform: translateY(1px);
}

.button:active {
    transform: translateY(2px); 
}

