body {
    background-color: #f3f3f3;
    font-family: 'Open Sans', sans-serif;
}

section {
    padding-top: 6.25rem; /*100px*/
    padding-bottom: 6.25rem;
}

section hr {
    background: #009ee0;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

hr {
    width: 5rem; 
    /* 5 rem = 5 * 16 = 80px (car 1rem = 1em = 16px). l'utilisateur peut changer cette valeur de 16px dans les paramètres du navigateur */
    /* différence rem / em : em prend en compte la font-size de l'élément parent, pas le rem */
    height: .3125em; /* quand nombre entier est un 0, on peut mettre directement le point de virgule et les décimaux*/
}

.scroll-top {
	margin-top: 2rem;
    color: #009ee0;
}


/** HEADER **/

header {
    height: 67.5rem; /** 1rem = 16px **/ 
    padding-top: 4rem;
    background-image: url(images/header/solar_mamas_03_1920x1280px.jpg);
    max-width : 100%;
    background-size: cover;  /** adapte la dimension de la photo selon les différentes tailles de fenêtres du navigateur **/
    background-repeat: no-repeat;
}

.header-content {
    width:  31.25rem;
    margin-left: 9rem;
    margin-top: 9rem; 
    text-align: center;
}

/* bloc header-content = 31,25rem / bgd-img = 200px : 16 (en rem conversion) = 12,5rem
(31,25 - 12,5) / 2 = 9.375rem */

.header-content h2 {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 2.125rem;
    font-weight: 600;
    line-height: 2.125rem;
    text-align: center;
    text-transform: uppercase;
    padding-top: 3.5rem; /*13,5rem = trop!*/
}

header p {
    width: 28rem;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.625rem;
    font-weight: 300;
    line-height: 2.75rem;
    text-align: center;
    margin-top: 4rem;
    margin-left: 1.625rem;
}

.scroll-down img {
    width: 4.125rem;
    margin-right: 10%;
    /*margin-left: 90%;*/ /* marge à droite 90 + marge a gauche 10% = 100% du container et donc fait sortir lz fleche en mobile - parti pris d'nelever la marge de 90 à gauche et de mettre un float right */
    margin-top: 15rem;
    float: right;
}

/* Réglages logo / devices */

.header-content .logo-200,
.header-content .logo-150 {
    display: none;
}

@media screen and (min-width: 992px) {
    .header-content .logo-150 {
        display: inline-block;
    }
    .header-content .logo-100 {
        display: none;
    }
}

@media screen and (min-width: 1450px) {
    .header-content .logo-200 {
        display: inline-block;
    }
    .header-content .logo-150 {
        display: none;
    }
}

/* Fin réglages logo / devices */


/** RESPONSIVE HEADER 992 - 1450 **/

@media screen and (min-width: 992px) and (max-width: 1450px) {

    .header-content {
        width:  21.25rem;
        margin-left: 4rem;
        margin-top: 9.5rem;
    }

    .header-content h2 {
        color: white;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.625rem;
        font-weight: 600;
        line-height: 1.625rem;
        text-align: center;
        text-transform: uppercase;
        padding-top: 3.5rem;
    }

    header p {
        width: 18rem;
        color: white;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.25rem;
        font-weight: 300;
        line-height: 2rem;
        text-align: center;
        margin-top: 4rem;
        margin-left: 1.625rem;
    }

    .scroll-down img {
        margin-top: 15rem; /* 7 = pas assez */
    }

} /** fin rwd 992 - 1450 **/

/** RESPONSIVE HEADER à partir de 992 et moins **/

@media screen and (max-width: 992px) {

    .header-content {
        width:  16.25rem;
        margin-left: 1rem;
        margin-top: 7.5rem; 
    }

    .header-content h2 {
        color: white;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.625rem;
        font-weight: 600;
        line-height: 1.625rem;
        text-align: center;
        text-transform: uppercase;
        padding-top: 3.5rem;
    }

    header p {
        width: 13rem;
        color: white;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.125rem;
        font-weight: 300;
        line-height: 2rem;
    }

    .scroll-down img {
        display: none;
    }

} /** fin rwd à partir de 992 et moins **/



/** NAVBAR **/

nav {
    background: #5a2646; /* Old browsers */ 
    background: -webkit-linear-gradient(bottom left, #5a2646 0%, #430f2d 50%, #621c3f 100%); 
    background: -o-linear-gradient(bottom left, #5a2646 0%, #430f2d 50%, #621c3f 100%); 
    background: linear-gradient(to top right, #5a2646 0%, #430f2d 50%, #621c3f 100%); /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5a2646', endColorstr='#621c3f',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ 
    /*height: 4rem;*/
}

.navbar-nav {
    margin-right: 1.75rem; 
}

.navbar-dark .navbar-nav .nav-link {
    color: #dedede;
    line-height: 2rem;
    font-size: 1rem;
    font-weight: 300;
    padding-left: 1rem; 
}

/*a.nav-link {
    color: #dedede;
    line-height: 2rem;
    font-size: 1rem;
    font-weight: 300;
    padding-left: 1rem; 
}*/

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        flex-direction: row-reverse;
    }
}


/*A PROPOS*/

.about h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #282828;
    text-align: center;
}

.about h3 {
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 2.1625rem;
    color: #282828;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.875rem;
    color: #282828;
    margin-bottom: 2rem;
}

.about figure {
    float: right;
    text-align: right;
    margin-top: 1rem;
}

.about figure figcaption.legende p {
    font-size: 11px;
    font-style: italic;
    text-align: right;
}

.social-networks {
    text-align: center;
}

.social-networks a img {
    width: 2.1875rem;
}

/* "a + a" : on cible toutes les balises <a> précédées d'un <a>, cad toutes sauf la première */
.social-networks a + a {
    margin-left: 0.3125rem;
}

/* FONCTIONNEMENT */

.fonction {
    background-color: #282828;
}

.fonction figure {
    float: left;
    text-align: left;
    margin-top: 0.5rem;
}

.fonction figure figcaption.legende p {
    font-size: 11px;
    font-style: italic;
    text-align: left;
}

.fonction h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #fff;
    text-align: center;
}

.fonction h3 {
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 2.1625rem;
    color: #fff;
    margin-bottom: 2rem;
}

.fonction p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.875rem;
    color: #fff;
    margin-bottom: 2rem;
}

.fonction i {
    display: block;
    float: right;
}

/* ACTUS */

.actus {
    background-color: #fff;
}

.actus h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #282828;
}

.actus h3 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: #343434;
    margin-bottom: 3.6875rem;
}

.actus h3 span {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    color: #343434;
}

.actus h4 {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.75rem;
    color: #282828;
    margin-bottom: 2.6875rem;
}

.actus .citation {
    font-style: italic;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: #343434;
    margin-bottom: 2.6875rem;
    border-left: 3px solid #009ee0;
    padding-left: 30px;
}

.actus .scroll-top {
    display: block;
    float: right;
}

.actus #crea {
    font-style: italic;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: #343434;
    margin-bottom: 2.6875rem;
    border-right: 3px solid #009ee0;
    padding-right: 30px;
    margin-top: 2.25rem;
}

.actus .legende {
    font-style: italic;
    font-size: .6875rem;
}

.actus .one, .two, .three {
    margin-top: 1rem;
}

.actus .two {
    flex-wrap: wrap-reverse;
}

/* RESPONSIVE 992 et +*/ 
@media screen and (min-width: 992px) {

    .actus #one img {
        float: right;
    }

    .actus #one figcaption {
        float: right;
    }

    .actus #two img {
        float: left;
    }

    .actus #two figcaption {
        float: left;
    }

    .actus #three img {
        float: right;
    }

    .actus #three figcaption {
        float: right;
    }
    

} /* fin responsive 992 et +*/ 

/* RESPONSIVE - de 992 */ 
@media screen and (max-width: 992px) {

    .actus img {
        display: block;
        margin: 0 auto;
        margin-top: 0.5rem;
    }
    
    .actus .legende {
        text-align: center;
    }
    
} /* fin responsive - de 992 */ 

/* RESPONSIVE - de 576 */ 
@media screen and (max-width: 576px) {

    .actus img {
        margin-right: 0;
        margin-left: 0;
    }
    
    .actus .legende {
        text-align: center;
    }
       
} /* fin responsive - de 576 */ 


/* PROJECTS */

.projects {
    background-color: #dadada;
}

.projets .picture {
    width: 100%;
}

.projects h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #282828;
}

.projects h3 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: #343434;
    margin-bottom: 4.6875rem;
}

.projects h3 span {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    color: #343434;
}

.projects h4 {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.75rem;
    color: #282828;
    margin-bottom: 2.6875rem;
}


.projects .citation {
    font-style: italic;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: #343434;
    margin-bottom: 2.6875rem;
    border-left: 3px solid #009ee0;
    padding-left: 30px;
}

.projects .citation span {
    color: #009ee0;
}

.projects .txt-village {
    margin-top: 2rem;
}


.projects .txt-peur p {
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #282828;
    margin-bottom: 5.25rem;
}


.projects .txt-peur .book {
    margin-top: 2.5rem; 
    margin: auto;
}

.projects .txt-peur .book h5 {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: #343434;
    font-style: italic;
    text-align: center;
    padding-top: 1rem;
}

.projects .txt-peur .book h5 a {
    color: #009ee0;
}

.projects .citation-left, .citation-right {
    font-style: italic;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: #343434;
    margin-bottom: 2.6875rem;
}

.projects .citation-left {
    border-left: 3px solid #009ee0;
    padding-left: 30px;
}

.projects .citation-right {
    border-right: 3px solid #009ee0;
    padding-right: 30px;
}

.projects .scroll-top {
    display: block;
    float: right;
}

.projects hr.sep-img {
    width: 10rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* RESPONSIVE - de 992 */ 
@media screen and (max-width: 992px) {

    .projects .txt-peur .txt-1 p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #282828;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
    .projects .txt-peur .txt-2 p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #282828;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
    
    .projects .txt-peur .book img {
        display: block;
        margin: auto;
    }
    
    
} /* fin responsive - de 992 */ 



/*PHOTOGRAPHES*/

.photo {
    background-color: #fff;
}

.photo h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #282828;
}

.photo h3 {
    font-size: 1.5625rem;
    font-weight: 800;
    line-height: 2.1625rem;
    color: #282828;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.photo p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #282828;
    margin-bottom: 1rem;
}

.photo img {
    float: right;
    padding-top: 4rem;
}

.photo a {
    color : #009ee0;
}

.photo .scroll-top {
    display: block;
    float: right;
}

/* RESPONSIVE - de 992 */ 
@media screen and (max-width: 992px) {

    .photo img { 
        padding-top: 3rem;
        display: block;
        float: none;
		margin: 0 auto;
    }
    
    
} /* fin responsive - de 992 */ 


/*PARTENAIRES*/

.partners {
    background-color: #f3f3f3;
}

.partners h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #282828;
}

.partners h3 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    color: #343434;
    margin-bottom: 3.6875rem;
}

.partners h4 {
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 2.1625rem;
    color: #282828;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.partners p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #282828;
    margin-bottom: 1rem;
}

.partners .picture {
    display: block;
    float: right;
    margin-top: 2rem; /* 2 au lieu de 6rem, trop... */ 
}

.partners a {
    color: #009ee0;
}

.partners .donation, .caretboot {
    color: #009ee0;
    display: inline-block;
    padding-right: 10px;
}

.partners .donation {
    margin-top: 20px;
}

.partners .scroll-top {
    display: block;
    float: right;
}

/* RESPONSIVE - de 992 */ 
@media screen and (max-width: 992px) {

	.partners .picture {
	    display: block;
	    float: none;
	    margin: 2rem auto;
	    /*margin-top: 6rem;*/
}
    
    
} /* fin responsive - de 992 */ 


/*CONTACT*/

.contact {
    background-color: #282828;
}

.contact h2 {
    font-size: 2.1875rem;
    font-weight: 800;
    line-height: 2.1875rem;
    color: #fff;
}

.contact h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75rem;
    color: #fff;
    margin-bottom: 2.6875rem;
}

/* formulaire*/

.contact #nom, #prenom, #email, #subject, #form-message {
    display: block;
    width: 100%;
}

.contact #btn-form {
    display: block;
    margin: 0 auto;
    color: white;
	background-color: #009ee0;
    border-radius: 5px;
	cursor: pointer;
    border: none;
    padding: 5px 10px;
}

.contact label {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75rem;
}

.contact .box-form {
    margin-top: 1rem;
}

.contact .scroll-top {
    display: block;
    float: right;
}

/* footer*/

.footer {
    background-color: #f3f3f3;
    padding-bottom: 0;
}

.footer .team,
.footer .mentions {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
}
.footer .team h3,
.footer .mentions h3 {
    margin: 0;
}
.footer .mentions h3 {
    text-align: right;   
}
.footer h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    color: #282828;
}

.footer h3 a {
     color: #009ee0;   
}

.footer h3 a:hover {
     color: #000000;
    text-decoration: none;
}

.footer .team, .mentions {
    padding-right: 0;
    padding-left: 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

/* social icons */

.footer .social img {
    width: 1.5rem;
    margin-right: .25rem;
    margin-left: .25rem;
}

.footer .social #social, #right {
    text-align: center;
}

.footer .social #right {
    font-size: .8rem;
}

.footer .social #social {
    margin-top: 2rem;
}

