@font-face {
    font-family: 'policetitre';
    src: url('../polices/allura-regular-webfont.woff2') format('woff2'),
         url('../polices/allura-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;}

@font-face {
    font-family: 'policetexte';
    src: url('../polices/qarmic_sans_abridged.woff') format('woff');
/*    src: url('../polices/qarmic_sans_abridged-webfont.woff2') format('woff2'),
         url('../polices/qarmic_sans_abridged-webfont.woff') format('woff');*/
    font-weight: normal;
    font-style: normal;}
    
@font-face {
    font-family: 'policetitre1';
    src: url('../polices/charlotte-webfont.woff2') format('woff2'),
         url('../polices/charlotte-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;}


@font-face {
    font-family: 'policetexte3';
    src: url('../polices/opendyslexicalta-regular-webfont.woff2') format('woff2'),
         url('../polices/opendyslexicalta-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;}


.bleu{  background: rgba(80,147,249,0.5);
        width: 360px;
        padding: 10px;
        text-align: center;
    }

.rose{  background: rgba(202,87,243,0.5);
        width: 360px;
        padding: 10px;
        text-align: center;
}

.orange{background: rgba(255,100,2,0.5);
        width: 360px;
        padding: 10px;
        text-align: center;}

.rouge{background: rgba(180,54,72,0.5);
        width: 360px;
        padding: 10px;
        text-align: center;}
        

        

.centrer{text-align: center; display: flex; flex-direction: column; justify-content: center}
.centrerhaut{text-align: center; display: flex; flex-direction: column; justify-content: flex-start}
.centrerbas{text-align: center; display: flex; flex-direction: column; justify-content: flex-end}

.margetitre{margin: 40px 20px 40px 0px;}

.niveau{margin-left: 60px}


body{
        width: 100%;
        max-width: 1200px;
        font-size: 16px;
        margin: 0 auto;
        }
        
footer{
    width: 100%;
    background-color: #ffc723;
    margin-top: 20px;
    padding-top: 5px;
    padding-bottom: 5px
}

figure{
    float:left
}

.monimage{
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagetitregauche{
    float:left;
    width:150px;
    margin-right:60px;
    text-align:center
}


h1{ font-family: 'policetitre', fantasy;
    font-size:  3rem;
}
    
h2{ font-family: 'policetitre', fantasy;
    font-size:  2rem}
    
h3{ font-family: 'policetitre', fantasy;
    font-size:  1.8rem}
    
h4{ font-family: 'policetitre', fantasy;
    font-size:  1.6rem;
    text-decoration: underline}
    
p{
    text-align: justify; 
    font-family: 'policetexte', cursive;
    line-height: 1.5;
    background: transparent;

}
    
li{ text-align: justify; 
    font-family: 'policetexte', cursive;
    line-height: 2.5;
    background: transparent;
}    
    
nav{
    width: 100%;
    margin: 0 auto;
    background-color: rgba(255, 216, 2, 1);
    position: sticky;
    top: 0px;
}

nav ul{
    list-style-type: none;
}

nav ul li{
    float: left;
    width: 14%;
    text-align: center;
    position: relative;
}

nav ul::after{
    content: "";
    display: table;
    clear: both;
}

nav a{
    display: block;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
}

nav a:hover{
    color: RGB(139,24,180);
    border-bottom: 2px solid RGB(139,24,180);
}

.sous{
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
}
nav > ul li:hover .sous{
    display: block;
}
.sous li{
    float: none;
    width: 100%;
    text-align: left;
}
.sous a{
    padding: 10px;
    border-bottom: none;
}
.sous a:hover{
    border-bottom: none;
    background-color: RGBa(139,24,180,0.1);
}
.deroulant > a::after{
    content:" ▼";
    font-family: 'policetexte', cursive;
    font-size: 18px;
}

.p1{
    text-align: justify; 
    font-family: 'policetexte', cursive;
    font-size:  15pt;
    line-height: 1.5;
    margin-right: 15px;
    margin-left: 15px;
    background: transparent;
    }

.p2{
    text-align: justify; 
    font-family: 'policetexte', cursive;
    font-size:  15pt;
    line-height: 1.5;
    margin-right: 15px;
    margin-left: 200px;
    background: transparent;
    }
    
.conteneur{
    display: inline;
    width: 100%;
    max-width: 1200px;
    }
    
.premierelettre{float: left; margin-right: 15px;
                font-size: 3rem;
                font-family: "policetitre"}
                
.cadre1{float: left; text-align: center;
        margin-top: 20px; margin-right: 20px;
		width: 310px; height: 100px; background: rgba(80,147,249,0.5)}
        
.cadre2{float: left; text-align: center;
        margin-top: 20px; margin-left: 200px; margin-right: 20px; margin-bottom: 20px;
		width: 180px; height: 220px; background: rgba(202,87,243,0.5)}
        
.cadreOrange{
    float: left; width: 450px; height: 120px; background: rgba(255,100,2,0.5);
    margin-bottom: 20px; margin-right: 20px}

.cadreBleu{
    float: left; width: 280px; height: 400px; background: rgba(80,147,249,0.7);
    margin-bottom: 20px; margin-left: 100px; margin-right: 20px}

.cadreRose{
   width: 300px; height: 100px; background: rgba(202,87,243,0.5);
   margin-right: 20px; margin-top: 40px;
        }

.titre2{font-family: 'policetitre'; font-size: 40px;}

table
{
border-collapse:collapse;
margin-left:auto;
margin-right:auto;
}
td, th /* Mettre une bordure sur les td ET les th */
{
border: 1px solid black;
padding: 10px;
vertical-align: middle;
}
