/* 
    Cree le : 30 sept. 2016, 19:31:04
    Auteur  : Emmanuel
*/


/*****
        Font
*****/


@font-face {
    font-family: axis_extrabold;
    src: url(../stock/font/axis_extrabold.otf);
}


/*****
        Balises
*****/


body {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: rgba(42,51,60,1);
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-family: 'axis_extrabold', arial, sans-serif;
    border-bottom: 0.30em solid  rgba(42,51,60,1);
    font-size: 250%;
    display: none;
}

h2 {
    font-family: 'axis_extrabold', arial, sans-serif;
    border-bottom: 0.30em solid  rgba(42,51,60,1);
    font-size: 250%;
}

h3 {
    font-family: 'axis_extrabold', arial, sans-serif;
    font-size: 150%;
}

h4 {
    font-size: 125%;
    background-image: url("../stock/illustrations/coeur.png");
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-left: 25px;
}

a {
    text-decoration: none;
    color: rgba(136,40,67,1);
    transition: color 1s;
}

a:hover {
    color: rgba(200,33,39,1);
    transition: color 0.5s;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
}

footer {
    display: flex;
    width: 100%;
    flex-direction: column;
}


/*****
        Html
*****/


div#header {
    width: 100%;
    display: flex;
    padding: 0.3em 0 0.3em 0;
    border-bottom: 0.2em solid rgba(42,51,60,1);
}

div#logo, nav#menu {
    width: 50%;
    display: flex;
}

div.espace-nav {
    width: 100%;
}

nav#menu ul {
    width: 85%;
    display: flex;
    justify-content: flex-start;
    font-family: 'axis_extrabold', arial, sans-serif;
}

nav#menu ul li {
    margin: 1.4em 2em 0 2em;
}

nav#menu ul li:first-child {
    margin-left: 8em;
}

nav#menu ul li {
    margin: 1.4em 2em 0 2em;
}

div#corp {
    width: 100%;
    display: flex;
    flex-direction: column;
}

div#accueil {
    width: 100%;
    display: flex;
    overflow: hidden;
    padding: 2.5em 0 2.5em 0;
    height: 750px;
}

div#texte_accueil {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 2em; 
}

div#zomb_accueil {
    width: 20%;
    display: flex;
    position: relative;
    padding: 1em;
}

div#accroche_accueil {
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 0 3em 0 3em; 
}

div#accroche_accueil h2 {
    margin-top: 3em;
}

div#accroche_accueil p, div#texte_accueil p {
    margin: 0.4em 0 0.2em 0;
}

div#accroche_accueil p:nth-child(2) {
    margin: 4em 0 0.4em 0;
}

div#texte_accueil p:last-child {
    margin: 0.4em 0 10em 0;
}

div#savoir_plus {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#savoir_plus h3 {
    width: 100%;
    margin-top: 6em;
}

div#plus div.flex-center {
    align-items: center;
}

div#alimentation {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(42,51,60,1);
    color: rgba(143,146,153,1);
}

div#principal_alimentation {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

div#texte_alimentation {
    padding-top: 3em;
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

div#texte_alimentation h2 {
    text-align: right;
    border-bottom: 0.2em solid rgba(136,40,67,1);
}

div#texte_alimentation p {
    width: 80%;
    margin: 1em 0 1em 0;
    text-align: justify;
}

div#texte_alimentation p:nth-child(2) {
    margin: 2em 0 1em 0;
}

div.recette {
    width: 80%;
}

div.recette:first-child {
    margin: 2em 0 1em 0;
}

div.recette p {
    margin: 1em 0 1em 0 !important;
    width: 100% !important;
}

div#alimentation_bon {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
}

div#alimentation_pasbon {
    width: 33%;
    position: relative;
}

div#detail_alimentation {
    display: flex;
    flex-direction: row;
    padding: 2em 0 4em 8.5em;
}

div#detail_alimentation p {
    width: 29%;
    text-align: right;
}

div#detail_alimentation div.center {
    width: 35% !important;
    justify-content: center;
}



div#loisir {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 2.5em 0 2.5em 0;
    background-color: rgba(193,33,39,1);
    color: rgba(42,51,60,1);
}

div#illustration_loisir {
    width: 70%;
    position: relative;
}

div#texte_loisir {
    width: 18%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

div#texte_loisir p {
    margin-top: 2em;
}

div#capture {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgba(143,146,153,1);
    color: rgba(42,51,60,1);
}

div#texte_capture {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: right;
}

div#texte_capture_1, div#texte_capture_2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

div#texte_capture p, div#detail_capture p {
    width: 80%;
    margin: 2em 0 2em 0;
    text-align: justify;
}

div#illustration_capture {
    width: 33%;
    position: relative;
}

div#detail_capture {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div#attitude {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgba(42,51,60,1);
    color: rgba(143,146,153,1);
    padding: 2.5em 0 2.5em 0;
}

div#illustration_attitude {
    width: 70%;
    position: relative;
}

div#texte_attitude {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div#texte_attitude h2 {
    border-bottom: 0.2em solid rgba(136,40,67,1);
}

div#texte_attitude p {
    width: 80%;
    margin: 1em 0 1em 0;
    text-align: justify;
}

div#entretien {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 2em 0 2em 0;
}

div#h3_entretien {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right; 
}

div#h3_entretien h3{
    width: 90%;
}

div#illustration_entretien {
    width: 50%;
    position: relative;
}

div#texte_entretien {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: justify;
}

div#texte_entretien p {
margin: 1em 0 1em 0;
    }

    div#texte_entretien1, div#texte_entretien2 {
        width: 90%;
    }
    
div#deplacement {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgba(193,33,39,1);
    color: rgba(42,51,60,1);
    padding: 2.5em 0 2.5em 0;
}

div#texte_deplacement {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: right; 
}

div#texte_deplacement p, div#texte_deplacement h2 {
    width: 80%;
    margin: 1em 0 1em 0;
}

div#illustration_deplacement {
    width: 33%;
    position: relative;
}

div#h3_deplacement {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
}

div#h3_deplacement h3{
    width: 90%;
}

/*****
        Classes
*****/


.absolute {
    position:absolute;
    
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
top: 0;
}

.decalage_gauche {
    left: 39.5%;
}

.decalage_gauche_loisir {
    left: 18%;
}

.decalage_gauche_capture {
    left: 32.5%;
}

.decalage_gauche_attitude {
    left: 17.5%;
}

.flex {
    display: flex;
}

.flex-end {
    justify-content: flex-end;
}

.center {
    width: 100%;
    text-align: center;
    margin: auto;
}

.flex-space-around {
    justify-content: space-around;
}

.blanc {
    color: rgba(255,255,255,1);
} 


.bleu {
    color: rgba(42,51,60,1);
}

.rouge {
    color: rgba(136,40,67,1);
}

.gris {
    color: rgba(143,146,153,1);
}

.gras {
    font-weight: bold;
}

.monte-desc {
    animation-duration: 10s;
    animation-name: key_monte-desc;
    animation-iteration-count: infinite;
}

.balle_tennis {
}

.ligne {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.ligne img {
    margin: 1em 0 1em 0;
}

/*****
        surya 
*****/


hr{
    width: 50%;
    color: blue;
    text-align: left;
    
    /** a faire plus tard */
}




/*****
        Ferdinand mainfooter.css
*****/




footer {
    display: flex;
    width: 100%;
    flex-direction: column;

}

div#footer {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}

div#footer aside{
    width: 33%;
    padding: 5em 7em 2em 7em;
}

aside#contact, #map, #social h2 {
    margin-bottom: 0.5em;
}

ul.social {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


a.fb:hover {
    opacity: 0.8;
}
a.twitter:hover {
    opacity: 0.8;
}
a.insta:hover {
    opacity: 0.8;
}


div#copyright{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0.5em 0 0.5em 0;
    color: rgba(143, 146, 153, 1);
}

div#aside-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
}

div#aside-contact p {
    margin: 0.5em 0 0.5em 0;
}

div#aside-contact p:first-child {
    margin: 1em 0 0.5em 0;
}


/*************QUIZ CODE FERDI***************************/


div#container_quiz{
    display: flex;
    width: 70%;
    justify-content:   center;
    padding-top: 2em;
    padding-right: 15%;
    padding-bottom: 2em;
    padding-left: 15%;
   
    background-color:rgba(45, 51, 60, 1);
    color: rgba(143, 146, 153,1);
    flex-direction: column;
    
    
}

div#question{
    width: 100%; 
    text-align: center;
    
}

div#question h2 {
    border: none;
    margin-bottom: 1.5em;
}

#next, #prec, #start {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

div#quiz {
    display: flex;
    align-items:  center;
    width: 100%;
}

div#boutton {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    align-items: center;
}

p#question {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
}

div#question p {
    margin: 1.5em 0 1.5em 0;
    font-size:  1em;
}

div#question ul {
    margin-bottom: 1.5em;
}

div#question ul li {
    margin: 0.5em 0 0.5em 0;
    font-size:  1em;
}

div#question ul li:first-child {
      margin: 1em 0 0.5em 0;
}

div#lien_text {
    width: 100%;
    text-align: center;
    background-color: rgba(42,51,60,1);
    padding: 3em 0 3em 0;
}

div#lien_text a {
    height: 100%;
}

div#lien_text a:hover {
    opacity: 0.8;
}