* {
    box-sizing: border-box;
    /*le rembourrage et la bordure sont inclus dans la largeur et la hauteur: les deux divs ont désormais la même taille !*/
}

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;
    /*L'héritage provient toujours de l' élément parent*/
    vertical-align: baseline;
    /* Aligne la ligne de base de l'élément avec la ligne de base de son parent. */
}

body {
    background-image: url(../img/concrete-texture.png);
    /*Effet de scroll lorsqu'on clique sur une ancre mais ne marche que sur FireFox ou pas du tout
    scroll-behavior: smooth;*/
}

h1 {
    font-size: 45px;
    font-family: 'Anton', sans-serif;
    color: #2980b9;
    text-align: center;
    letter-spacing: 1px;
}

h2 {
    font-size: 35px;
    color: #2c3e50;
    padding: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #aaa;
}

h3 {
    font-size: 22px;
    color: #2c3e50;
    padding: 15px;
    text-shadow: 1px 1px 2px #aaa;
}

h4 {
    text-align: center;
    margin-top: 30px;
}

/**************HEADER INDEX****************/
header {
    background: #2c3e50;
    height: 175px;
}

#logo {
    float: left;
    width: 25%;
    background: #2c3e50;
    padding: 15px;
    text-align: center;
}

#slogan {
    float: left;
    width: 50%;
    background: #2c3e50;
    padding-top: 50px;
}

#social {
    float: right;
    width: 25%;
}

#social i {
    background: #2c3e50;
    font-size: 30px;
    text-align: right;
    padding: 15px 30px 0 0;
    display: block;
}

header a {
    color: #2980b9;
    text-decoration: none;
}

/*******************FIN HEADER*********************/

/**************DEBUT NAV********************/
nav {
    background: #2980b9;
    height: 70px;
    border-bottom: 8px solid #6ACAFC;
    text-align: center;
    padding: 15px;
}

nav a {
    margin: 10px;
    padding: 2px 10px;
    border-radius: 10px 0px;
    border: 2px solid white;
    background: #6ACAFC;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-family: oswald;
    transition: 0.5s;
}

nav a:hover {
    background: #A6D6C3;
    color: white;
}

.active {
    background: #2c3e50;
    color: white;
}

/**************FIN NAV********************/

main {
    background: rgba(178, 178, 178, 0.30);
    width: 1000px;
    margin: 0 auto;
}

aside {
    height: 250px;
    background: #A6D6C3;
}

section {
    margin-top: 50px;
    /*    background: #DAF7A6;*/
    padding: 20px;
}

footer {
    background: #2980b9;
    height: 30px;
    text-align: right;
    padding: 5px 10px;
}

/**************DEBUT PAGE TEXTE********************/
blockquote {
    font-style: italic;
    font-size: 120%;
}

strong {
    font-weight: bold;

}

.oswald p {
    font-family: 'Oswald', sans-serif;
}

/****************FIN PAGE TEXTE********************/


/****************DEBUT PAGE SELECTEURS*************/
.select p {
    color: red;
}

.select p:first-of-type {
    color: pink;
}

.select p:last-of-type {
    color: pink;
}

.select p:nth-of-type(5),
.select p:nth-of-type(6) {
    color: black;
}

.select div:not(.zoneB) {
    font-weight: bold;
}

.select .zoneA {
    color: #f56f56;
}

.select .zoneB {
    color: #996633;
}

.select .zoneB .couleurBleu {
    color: blue;
    font-size: 16px;
}

.select #zoneC {
    color: #98f32f;
}

.select #zoneD span {
    color: #32ff32;
    font-size: 30px;
    font-style: italic;
}

/****************FIN PAGE SELECTEURS***************/


/****************DEBUT PAGE IMAGE********************/
.imageFond {
    background: #000 url(../img/fond.jpg) no-repeat;
    background-size: cover;
}

.imageFond p {
    width: 75%;
    margin: 100px auto 200px auto;
    background: rgba(255, 255, 255, 0.60);
    padding: 20px;
    font-size: 120%;
    border-radius: 10px;
}

figure {
    margin: auto;
    width: 250px;
    display: block;
    background-color: rgba(0, 0, 0, 0.678);
}

figcaption {
    color: white;
    text-align: center;
    padding: 2px;
    font-style: oblique;
}

/* On peut seléctionner une image par son attribut source
img[src="img/toureiffel.jpg"]{
} */
.rotationImg {
    text-align: center;
}

.image {
    margin: 20px;
    border: 5px solid #eee;
    /*rgba sera utiliser dans ce cas pour cree une ombre à mon image*/
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    transition: 1s;
}

.image:hover {
    transform: rotate(-7deg);
    border: 15px solid #eee;
}

.rotation360:hover {
    transform: rotate(-360deg);
}

/*                             ----------------- Début de page POSITION --------------                                                                  */

.centre{

    margin: 0 auto;
    width: 500px;
    height: 200px;
    background: #44d1cf;

}

.absolute{

    position: absolute; 
    top: 24%;
    left: 10%;
    background: rgb(255, 222, 38);
    width: 100px;
    height: 100px;

}

/* La position Absolute correspond à une distance parcourue en fonction de la position d'origine */

/* La position relative permet de déplacer une boite par rapport à son emplacement. Sa position d'origine n'est pas remplacée. */

/* Les propriétés left et top donnent la valeur du déplacement. */

.relative{

    background: #14ff95;
    width: 400px;
    height: 400px;
    position: relative;
    bottom: 10px;
    left: 100px;

}

.relative div{

    background: #00ddff;
    top: 0;
    right: 0;
    position: relative;
    width: 50px;
    height: 50px;

}

/* le bouton pour remonter en haut de la page */

button{

    position: fixed;
    bottom: 40px;
    right: 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 250%;
    color: navy;

}

.trente{

    width: 30%;
    padding: 20px;
    font-size: 22px;
    background:saddlebrown;
    color: bisque;
    font-weight: bold;

}

.cinquante{

    width: 50%;
    padding: 20px;
    font-size: 22px;
    background: olivedrab;
    color: beige;
    font-weight: bold;
    margin-top: 7px;


}

.cent{

    width: 100%;
    padding: 20px;
    font-size: 22px;
    background: darkcyan;
    color: rgb(245, 226, 201);
    font-weight: bold;
    margin-top: 7px;

}

.p{

    padding: 0;

}

/*                                                                    --------- Float ----------                                                   */

.float{

    height: 170px;
    width: 170px;
    margin: 10px;
    padding-top: 2px;
    float: left;
    text-align: center;
    font-size: 25px;
    background: lightseagreen;
    border: 2px solid rgb(12, 10, 29);

}

.dernier{

    height: 170px;
    width: 170px;
    margin: 10px;
    padding-top: 2px;
    text-align: center;
    font-size: 25px;
    background: lightseagreen;
    border: 2px solid rgb(12, 10, 29);

}

.clear{

    clear: both;

}

/* *****************EXERCICE FLOAT***************** */

.zone{

    height: 70px;
    background: #3a4750;

}

.zone1, .zone2, .zone3, .zone4{

    height: 250px;
    width: 25%;
    float: left;

}

.zone1{

    background: #2D5C7F;

}

.zone2{

    background: #FFF1A8;

}

.zone3{

    background: #FF8F56;

}

.zone4{

    background: #984A59;

}

/*                                          ------------- Flexbox ---------------                                                                   */

.flex div{

    width: 150px;
    height: 150px;
    background: teal;
    text-align: center;
    font-size: 50px;
    color: beige;
    border: 10px outset rgb(66, 21, 245);

}

.flex{

    display: flex;
    /* justify-content: space-around; */
    justify-content: space-between; 
    /* flex-direction: column; */
    /* flex-direction: row-reverse; */
}

#zoning1{

    background: #ffd6d6;
    width: 800px;
    text-align: center;
    text-shadow: 1px 1px 2px darkgray;
    margin: auto;

}

#zoning1 header{

    height: 70px;
    background: cadetblue;
    
}

#zoning1 aside{

    height: 525px;
    float: left;
    width: 20%;
    background: #98f32f;

}

#zoning1 section{

    float: left;
    background: darkcyan;
    height: 525px;
    width: 80%;
    margin: 0;
    padding: 0;

}

/*                                                        -------Zoning 2--------                                                                    */

#zoning2{

    background: firebrick;
    width: 500px;
    text-align: center;
    text-shadow: 1px 1px 1px darkgrey;
    margin: auto;

}

#zoning2 header{

    height: 70px;
    background: #15b7e8;

}

#zoning2 aside{

    height: 525px;
    float: left;
    width: 20%;
    background: #063274;
    color: white;

}

#zoning2 .middle{

    float: left;
    background: #526dc4;
    height: 525px;
    width: 60%;
    margin: 0;
    padding: 0;
    color: white;

}

/*                                                    Zoning 3                                                                                    */

#zoning3{

    background: #2980b9;
    width: 800px;
    text-align: center;
    text-shadow: 1px 1px 2px darkgray;
    color: white;
    margin: auto;

}

#zoning3 section{

    height: 525px;
    float: left;
    width: 50%;
    background: #bccf2e;
    margin: 0;
    padding: 0;

}

#zoning3 footer{

    height: 70px;
    float: left;
    width: 100%;
    background: #7745bc;
    color: black;
    text-align: center;

}

#zoning3 section:nth-of-type(2){

    background: #0c5991;

}

/*                                                 -------Zoning 4-------                                                                          */

#zoning4{

    text-shadow: 1px 1px 2px darkgray;
    background: #fff;
    text-align: center;
    border: 2px solid black;
    margin: 0 auto;
    width: 700px;

}

#zoning4 header{

    height: 90px;
    background: darkred;

}

#zoning4 nav{

    height: 50px;
    background: #54970c;

}

#zoning4 section{

    height: 500px;
    background: rgb(128, 59, 59);
    margin: 20px;
    padding: 0;

}

#zoning4 footer{

    height: 75px;
    background: rgb(25, 77, 25);
    text-align: center;

}

#zoning4 section , footer{

    color: rgb(255, 255, 255);

}

/*                                             ------Zoning 5-------                                                                               */

#zoning5{

    background: paleturquoise;
    text-align: center;
    text-shadow: 1px 1px 2px darkgray;
    border: 2px solid black;
    margin: 0 auto;
    padding: 0;
    font-weight: bolder;
    /* plus gras que le parent */
    color: white;

}

#zoning5 header{

    background: #063274;
    height: 90px;

}

#zoning5 nav{

    height: 50px;
    background: plum;
    border-bottom: 8px solid #FF8F56;

}

#zoning5 .section{

    background: #0c5991;
    margin: 20px;
    padding: 0;

}

#zoning5 .section .z1 , .z2 , .z3 , .z4{

    height: 250px;
    width: 50%;
    float: left;

}

#zoning5 .z1 , .z4{

    background: rgb(0, 109, 0);

}

#zoning5 .z2 , .z3{

    background: rgb(1, 149, 58);

}

#zoning5 footer{

    text-align: center;
    height: 75px;
    background: rgb(83, 169, 2);

}

#zoning5 section , footer{

    color: black;

}

/***********************Zoning 6************************/

#zoning6{

    width: 800px;
    margin: 0 auto;
    color: white ;
    text-align: center;
}

#zoning6 header{

    background: #40a497;
    height: 180px;
}

.haut1{

    float: left;
    width: 25%;
    height: 100%;
    background: #203562;

}

.haut2{
     
    float: left;
    width: 50%;
    height: 100%;
    background: #3E588F;

}

.haut3{

    float: left;
    width: 25%;
    height: 100%;
    background: #203562;

}

#zoning6 nav{

    background: #0B5269;
    height: 30px;
    border: none;

}

#zoning6 aside{

    background:#446878;
    width: 20%;
    height: 650px;
    float: left;

}

#zoning6 section{

    width: 80%;
    float: left;
    margin: 0;
    padding: 0;

}

.slideshow{

    background: #314A52;
    height: 250px;

}

#zoning6 .a{

    background: #C0C5CD;
    width: 50%;
    height: 250px;
    float: left;

}

#zoning6 .b{

    background: #203562;
    width: 50%;
    height: 250px;
    float: left;

}

#zoning6 .c, .e{

    background: #C0C5CD;
    width: 25%;
    height: 150px;
    float: left;

}

#zoning6 .d, .f{

    background: #203562;
    width: 25%;
    height: 150px;
    float: left;      

}

#zoning6 footer{

    background: #0B5269;
    height: 50px;
    color: white ;

}

/***********************FIN ZONING**********************/

/***********************TABLEAUX**********************/

.tableau table{

    border-collapse: collapse;
    border: 2px solid rgb(196, 21, 1);
    font-weight: bold;
    margin: auto;
    width: 80%;
    
}

/* th{
    
    border: 1px solid darkblue;
    width: 25%;

} */

/* td{
    
    border: 1px solid darkblue;
    font-size: 100%;
    text-align: center;
    padding: 5px;

} */

.tableau thead , .tableau tfoot{

    background: rgb(0, 113, 157);
    border: 1px solid rgb(196, 21, 1);

}

.tableau tbody{

    border: 1px solid rgb(196, 21, 1);

}

.tableau th{

    border: 1px solid rgb(196, 21, 1);
    padding: 5px;
    width: 20%;
    vertical-align: middle;

}

.tableau td{

    border: 1px solid rgb(196, 21, 1);
    font-size: 80%;
    padding: 5px;
    text-align: center;

}

/***********************FIN TABLEAU**********************/

/***********************LISTES**********************/

ul.fruit{

    list-style: none;

}

ul.fruit li{

    display: inline;
    margin: 15px;

}

li .fa{

    font-size: 90%;
    color: rgb(0, 0, 0);

}

li .fa:hover{
    
    font-size: 150%;
    color: cornflowerblue;

}

.imbriquee , .imbriquee ul{

    padding-left: 15px;

}

.imbriquee{

    cursor: pointer;
    
}

.imbriquee ul{

    display: none;

}

.europe:hover ul , .asie:hover ul{

    display: block;

}

.imbriquee li ul li:hover{

    font-size: 200%;
    background: rgb(255, 143, 83);
    display: inline;
    box-shadow: 5px 10px 10px darkgrey;
    transition: 0.5s;

}

/* *********************************Fin Liste*********************** */

/* ******************************* Liens et menus ***************** */

/* ******************************* Styliser les liens ***************** */

.ancre{

    text-align: center;

}

.ancre a{

    text-decoration: none;
    margin: 8px;
    padding: 5px 10px;
    border-radius: 15px;
    background: #1d2d3d;
    color: beige;
    font-size: 20px;
    box-shadow: 0 0 10px 3px black;
    font-family: "oswald";

}

.ancre a:hover{

    box-shadow: none;
    transition-duration: 0.5s;
    text-shadow: 1px 5px 10px rgb(211, 210, 210);
}

#lien a{

    text-decoration: none;
    color: #063274;

}

#lien a:hover{

    color: #f56f56;

}

/* ******************************* Menus ***************** */

#menu nav{

    background: transparent;
    border: none;


}

#menu ul{

    list-style: none;
    text-align: center;

}

#menu ul li{

    display: inline-block;

}

#menu nav a{

    padding: 10px;
    color: rgb(212, 210, 210);
    background: #11356a;
    transition: 1s ease-out;
    /* ease-in : ralentis l'animation */
    /* ease-out : accélére l'animation */

}

#menu nav a:hover{

    color: #ffffff;
    background: rgb(62, 62, 255);

}

/* ******************************* Menus Déroulants ***************** */

#menuDeroulant{

    height: 650px;

}

#menuDeroulant nav{

    background: transparent;
    border: none;
    width: 90%;
    margin: 0 auto;

}

#menuDeroulant nav ul li{

    float: left;
    list-style: none;
    width: 20%;

}

#menuDeroulant ul ul{

    display: none;

}

#menuDeroulant nav ul li ul li{

    border-top: 1px solid rgb(16, 62, 16);
    width: 100%;

}

#menuDeroulant nav li{

    background: #ccc;

}

#menuDeroulant nav li a{

    display: block;
    text-decoration: none;
    color: #000000;
    padding: 4px 0 4px;

}

#menuDeroulant ul{

    text-align: center;

}

#menuDeroulant nav ul.niveau1 li.sousMenu:hover ul.niveau2 {

    display: block;

}

#menuDeroulant ul li ul li:hover a{

    color: darkred;    

}

/* ********************************* Fin Liens et menus *********************** */

/* ********************************* Formulaire ****************************** */

form{

    width: 60%;
    background: rgb(1, 47, 65);
    margin: 0 auto;
    padding: 20px;
    color: beige;
    border-radius: 10px;

}

label{

    margin: 10px 0;
    width: 50%;
    display: inline-block;

}

textarea{

    resize: none;

}

/* ********************************* Fin Formulaire ****************************** */

/* ********************************* Multimédia ****************************** */

.videoFond{

    padding-left: 0;
    padding-right: 0;

}

.videoFond video{

    position: absolute;
    z-index: 1;
    width: 100%;
}

.videoTexte{

    position: relative;
    width: 100%;
    height: 500px;

}

.videoFond p{

    position: absolute;
    top: 150px;
    left: 250px;
    z-index: 2;
    width: 500px;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    font-size: 120%;
    border-radius: 10px;

}

iframe[src="https://www.youtube.com/embed/MHYWgf3VqoY"]{

    width: 100%;


}

.audio{

    text-align: center;

}

iframe[allowfullscreen]{

    width: 100%;

}

/* ********************************* Fin Multimédia ****************************** */

/* ********************************* Animations ****************************** */

.infoBulle{

    height: 250px;
    width: 500px;
    margin: auto;
    padding-top: 15px;
    background: #444;

    box-shadow: 0 0 50px rgb(0, 0, 30) inset;
    /* Inset permet l'effet à l'intérieur de l'élément */

}

.infoBulle p{

    text-align: center;
    padding-top: 15px;

}

.infoBulle a{

    color: #ccc;
    text-shadow: 0 -2px 0 #000;
    text-decoration: none;
    border-radius: 3px;
    padding: 5px 15px;

}

.infoBulle a:hover{

    text-shadow: 0 1px 2px black;
    background: rgba(0, 0, 0, 0.4);
    color: white;

}

.infoBulle a span{

    padding: 15px;
    margin-top: 23px;
    margin-left: -35px;
    position: absolute;
    opacity: 0;
    color: #40a497;
    transform: scale(0) rotateZ(-12deg);
    border-radius: 3px;
    transition: 0.25s;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);

}

.infoBulle a:hover span{

    opacity: 1;
    transform: scale(1) rotateZ(0);

}

.infoBulle a span:before{

    content: "";
    position: absolute;
    top: -6px;
    left: 10px;
    border-bottom: 6px solid rgba(0, 0, 0, 0.905);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;

}

/* ********************************* Image grayscale & blur ****************************** */

.imgEffets{

    width: 302px;
    height: 320px;
    margin: 70px auto;

}

.imgEffets li{

    list-style: none;
    float: left;
    width: 141px;
    height: 150px;
    margin: 5px;

}

.imgEffets li:nth-child(3){

    clear: both;

}

.imgEffets img{

    position: absolute;
    z-index: 1;
    height: 150px;
    box-shadow: 0 0 3px black;
    transition: .5s cubic-bezier(0 ,3 ,.4 ,1);
    /* cubic-bezier commence par 0 et se termine par 1 puis entre nous mettons nos valeurs */

}

.imgEffets li:hover img{

    z-index: 2;
    transform: scale(1.5);
    box-shadow: 0 0 10px black;

}

.imgEffets:hover li:not(:hover) img{

    filter: grayscale(1) blur(5px);

}

/******Rotation d'un menu CSS3*******/
#menuRotate{

    height: 360px;
    width: 576px;
    margin: 100px auto;
    background: #627878;
    position: relative;
    overflow: hidden;
    border: 2px solid white;
    
}

#menuRotate .masque{

    position: absolute;
    z-index: 50;
    width: 585px;
    height: 135px;
    top: 0;
    left: 0;
    background:linear-gradient(#324040,#627878);

}

#menuRotate .ombre{

    position: absolute;
    z-index: 40;
    width: 300px;
    height: 6px;
    box-shadow: 0px 100px 3px black;
    border-radius: 75px 75px 75px 75px / 3px 3px 3px 3px; /*rayon horizontaux / Rayon verticaux*/
    top: 30px;
    left: 142px;

}

#menuRotate dl{

    position: relative;
    top: 0;
    left: 50%;
    margin-left: -75px;
    width: 150px;
    height: 155px;
    color: #324040;
    text-align: center;
    background: #f08b19;
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0,0,0,0.7);
    transform-origin: 50% 120px;
    animation: bounceOut 0.7s ease-in-out;

}

#menuRotate dt{

    position: absolute;
    bottom: 0;
    width: 100%;
    height: 23px;
    padding-top: 5px;

}

#menuRotate dd{

    transform: rotate(180deg);

}

#menuRotate dd a{

    display: block;
    height: 24px;
    padding: 3px 0;
    color: #324040;
    text-decoration: none;

}

#menuRotate dd a:hover{

    background: rgba(255,255,255,0.1);

}

#menuRotate dl:hover{

    transform: rotate(-180deg);
    animation: bounceIn 0.7s ease-in-out;

}

@keyframes bounceIn{

    from{transform:rotate(0deg);}
    75%{transform:rotate(-200deg);}
    90%{transform:rotate(-175deg);}
    to{transform:rotate(-180deg);}

}

@keyframes bounceOut{

    from{transform:rotate(0deg);}
    0%{transform:rotate(-180deg);}
    10%{transform:rotate(-165deg);}
    to{transform:rotate(-360deg);}

}
/**************FIN ANIMATIONS***************/