﻿@font-face {font-family:"piron";src:url("../fonts/piron.eot") format("eot"),url("../fonts/piron.woff") format("woff"),url("../fonts/piron.ttf") format("truetype"),url("../fonts/piron.svg#piron") format("svg");font-weight:normal;font-style:normal;}

/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Main */
  
.dodo {
    background: url("../../images/sculpture en fer forge.jpg") no-repeat center fixed;
  -webkit-background-size: cover; /* pour Chrome et Safari */
  -moz-background-size: cover; /* pour Firefox */
  -o-background-size: cover; /* pour Opera */
  background-size: cover; /* version standardisée */
	color: #FFF;
	font-size: 20px;
	font-family: 'piron', sans-serif;
}

.partup {
  position: relative;
  overflow: hidden;
  padding:0 2em 0 2em;
  margin-bottom: 0;
}

.midown {
  position: relative;
  overflow: hidden;
  padding: 5em 3em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  text-align: justify;  
  font-size: 25px;
}

.midl {
text-align: center;
  }

    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 15px;
    }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
        #navig { display: none; }
        #navig.active { display: block; }
    
    .midown {
    padding: 4em 2em;
    text-align: center;  
    font-size: 15px;
    } 
}    
    
  .partup article {
    text-align: center;
  }

/* Navigation simplifiée */
#navig ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px auto;
    padding: 0 15px;
    list-style: none;
}

#navig ul li {
    flex-shrink: 1;
}

#navig ul li a {
    padding: 12px 8px;
    white-space: nowrap;
    display: block;
    transition: color 0.3s;
}

a:link {color: #FFF; text-decoration: none; }
a:visited {color: #FFF; text-decoration: none; }
a:hover { color: #F80; text-decoration: none ;} /*orange*/

#parent {
  display: flex; /* contexte sur le parent */
  flex-direction: column; /* direction d'affichage verticale */
  justify-content: center;
  align-items: center; /* alignement vertical */
  height: 100%;
}
/*
.enfant {
  margin: auto; /* centrage horizontal */
/*  color: #FFF;
  font-size: 35px;
}*/


h1 {
  font-size: 45px;
  font-weight: normal;
  color: #FFF;
}

h2 {
  font-size: 35px;
  font-weight: normal;
  color: #FFF;
}
/*
.pp {
position:absolute;
bottom:0px;
right:10px;
text-align: center;
font-size: 24px;
} */

/* Version mobile */
@media (max-width: 768px) {
    .menu-toggle {
        position: fixed;
        right: 5px;
        top: 5px;
        z-index: 1001; /* Augmenter le z-index */
        background: #5E5F4C;
        padding: 4px 8px;
    }
    
    #navig.active { /*menu sous bouton à reduire*/
        display: block;
        position: fixed;
        top: 60px; /* Espace sous le bouton */
        width: 100%; /*test pour reduire la largeur menu*/
        left: 0;
        right: 0;
        z-index: 1000; /* z-index inférieur au bouton */
        background: #5f5c55;
        padding: 6px 0;
    }

    #navig ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }
    
     .menu-toggle { display: block; }
        #navig { display: none; }
        #navig.active { display: block; }
   
    
     h1 {
  font-size: 35px;
  font-weight: normal;
  color: #FFF;
}
     h2 {
  font-size: 25px;
  font-weight: normal;
  color: #FFF;
}
  .pp {
  font-size: 15px;
  } 
}


