@import url('https://fonts.googleapis.com/css?family=Raleway:400,800');
@font-face {
    font-family: 'righteousregular';
    src: url('../font/righteous-regular-webfont.woff2') format('woff2'),
         url('../font/righteous-regular-webfont.woff') format('woff'),
        url('../font/Righteous-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/*
Reset
*/
    /* Supprimer toutes les marges des balises HTML */
    
    *{
        margin: 0;
        padding: 0;

        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        font-family: Raleway;
    }
/**********************************

GENERAL

**********************************/
p{
    font-size: 18px;
    color: #3c3c3b;
}
a, li{
    list-style-type: none;
    text-decoration: none;
}

h1{
    font-size: 30px;
    margin-bottom: 20px;
}
h1,h2,h3,h4, nav a{
    font-family: righteousregular, sans-serif;
}

button, input#ctenvoy{
    border: none;
    height: 40px;
    width: 150px;
    border-radius: 40px;
    background: #ef816b;
    color: #fff;
    cursor: pointer;
    margin-top: 30px;
}
input#ctenvoy{
    margin: 0px;
}
button:hover, input#ctenvoy:hover{
    background: #ea4b3b;    
}
.bouton-centrer{
    width: 100%;
    text-align: center;
}

nav{
    position: fixed;
    background: #3c3c3b;
    width: 100%;
    padding: 1rem;
    z-index: 99;
    }

.logo{
    float: left;
    display: none;
        height: 44px;
}

.collabs{
    float: right;
}

nav ul{
    display: none;
    position: absolute;
    right: 0;
    padding: 40px;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    height: 1300px;
    width: 250px;
}
nav li{
    padding-bottom: 40px;
    color: #fff;
}
nav a:nth-child(2){
    margin-top: 60px;
    display: inline-block;
}
nav a{
    color: #fff;
}

nav #menu{
    background: #ef816b;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px 20px;
    height: 75px;
}
.fermer{
    position: absolute;
    right: 0;
    margin-right: 30px;
    background: rgba(255, 255, 255, 0.4);
    height: 40px;
    width: 40px;
    top: 20px;
    text-align: center;
    padding: 8px;
}
#accueil{
    width: 100%;
    text-align: center;
}
#accueil div{
    width: 100%;
    background: #3c3c3b;    
}
#accueil h2{
    padding: 15px 0 30px;
    color: #fff;
    font-size: 28px;
}
#accueil div img{
    max-height: 600px;
    max-width: 100%
}

.rond{
    border: 2px solid #ef816b;
    border-radius: 203px;
    width: 203px;
    height: 203px;
    margin-bottom: 20px;
    display: inline-block;
}

.trois-col h2{
    font-size: 25px;
    line-height: 45px;
}
.call-to-action{
    width: 100%;
    text-align: center;
    background: url(../images/background-01.jpg) no-repeat center fixed;
    color: #fff;
    clear: both;
}
.call-to-action p, .call-to-action-contact p{
    color: #fff;
}
.ombre{
    padding: 80px 10px 50px;
    background: rgba(0, 0, 0, 0.4);
}
.hover span{
        font-family: righteousregular, sans-serif;
        display: inline-block;
        transform: translateY(50%);
        color: #fff;
        font-size: 25px;
    }
.call-to-action-contact{
            width: 100%;
            text-align: center;
            background: url(../images/background-02.jpg) no-repeat center fixed;
            color: #fff;
            margin-top: 40px;
    clear: both;
        }

footer{
    text-align: center;
    background: #3c3c3b;
    padding: 20px 0px;
    clear: both;
}
footer p, footer a{
    color: rgba(255, 255, 255, 0.8);  
    padding: 20px 0px;
}
#page-contact .logo, #page-apropos .logo, #page-portfolio .logo{
    display: block;
}
input, textarea {
    width: 100%;
    margin-bottom: 40px;
    height: 30px;
    margin-top: 10px;
}
.formulaire {
    width: 1000px;
    margin: 40px auto;
}
textarea{
    height: 160px;
}
.envoyer {
    text-align: center;
}
.envoyer p{
    font-size: 25px;
    line-height: 50px;
}

.item{
    overflow: hidden;
}

.encours{
    width: 100%;
    height: 100vh;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding-top: 90px;
}

.encours div{
    width: 50%;
    background: #fff;
    margin: 0 auto;
    border-radius: 20px;
    padding: 20px;
}
.encours div img{
    max-width: 90%;
}

.popup_block img{
    margin-bottom: 30px;
        width: 100%;
}
.popup_block{
    height: 90%;
    overflow: auto;
}
.portrait{
    width: 60% !important;
    float: left;
    margin-right: 20px;
}

#page-mention main{
    padding: 100px 0;
    margin: 0 auto;
    width: 80%;
}
video{
    max-width: 100%;
}
/**********************************

Mobile

**********************************/

@media screen and (max-width:480px){
    #jqueryGalerie section{
        height: 13rem;
    }
    #accueil h2{
        font-size: 20px;
    }
    .icone-presentation{
        text-align: center;
    }
    .trois-col{
        width: 85%;
        margin: 20px auto;
    }
    #portfolio h3{
        margin: 40px 0;
        width: 240px;
        color: #fff;
        background: #000;
        padding: 20px;
        font-size: 20px;
        height: 70px;
    }
    .mobile{
        display: none;
    }
    .hover {
        margin-bottom: 10px;
        width: 100%;
        background: rgba(234, 75, 59, 0.8);
        height: 70px;
        text-align: center;
    }
    button{
        height: 70px;
        width: 300px;
        font-size: 25px;
        border-radius: 100px;
    }
    
    #portfolio{
        text-align: center;
    }
    #portfolio button{
        margin-bottom: 30px;
    }
    
    .item img{
        width: 100%;
    }
    section.contenu-contact {
    width: 100%;
    float: none;
    padding-top: 55px;
    }
    #page-contact .titre, #page-portfolio .titre{
            height: 60px;
    width: 100%;
    background: #575756;
    text-align: center;
    position: relative;
    top: 20px;
    }
    #page-contact .titre h1{
        transform: translateY(60%);
        color: #fff;
        font-size: 20px;
    }
    .coordonnee {
        text-align: center;
        width: 100%;
        margin: 40px auto;
        background: url(../images/background-04.png) no-repeat center;
        -webkit-background-size: cover;
        background-size: cover;
    }
    .coordonnee h2{
        transform: translateY(10%);
        height: 120px
    }
    .coordonnee a {
        color: #fff;
        font-weight: initial;
        display: inline-block;
        font-size: 30px;
    }
    .coordonnee a:nth-child(1){
        font-size: 20px;
        margin-top: 20px;
    }
    .formulaire {
        width: 80%;
    }
    .envoyer button{
        width: 150px;
    }
    .encours div{
        width: 90%;
    }
    .encours div img{
        max-width: 100%;
    }
    .encours div button{
        width: 100%;
    }
    #page-portfolio #portfolio h3{
        margin: 0;
        width: 100%;
        background: #575756;
    }
    .collabse-portfolio {
        position: fixed;
        top: 75px;
        right: 0;
        width: 100px;
        height: 65px;
        background: rgba(234, 75, 59, 0.8);
        color: #fff;
        z-index: 98;
    }
    .collabse-portfolio span{
        margin-top: 25%;
        display: inline-block;
    }
    .collabse-portfolio {
    position: fixed;
    top: 75px;
    right: 0;
    width: 100px;
    height: 65px;
    background: rgba(234, 75, 59, 0.8);
    color: #fff;
        z-index: 98;
    }
    .collabse-portfolio span{
        margin-top: 25%;
        display: inline-block;
    }
        .item{
        display: none;
    }
    .active{
        display: inline-block;
    }
    .menu ul{
        position: fixed;
        right: 0;
        padding: 40px;
        background: rgba(0, 0, 0, 0.8);
        top: 70px;
        width: 100%;
        z-index: 98;
    }
    .menu a{
        color: #fff;
        margin: 10px 0;
        display: inline-block;
    }
    .popup_block button{
        height: 40px;
        width: 150px;
    }
        .portrait{
    width: 100% !important;
}
}
/**********************************

TABLETTE

**********************************/
@media screen and (min-width:481px) and (max-width:780px){
    #jqueryGalerie section{
        height: 15rem;
    }
     #accueil h2{
        font-size: 20px;
    }
    .icone-presentation{
        text-align: center;
    }
    .trois-col{
        width: 85%;
        margin: 20px auto;
    }
    #portfolio h3{
        margin: 40px 0;
        width: 240px;
        color: #fff;
        background: #000;
        padding: 20px;
        font-size: 20px;
        height: 70px;
    }
    .hover {
        margin-bottom: 10px;
        width: 100%;
        background: rgba(234, 75, 59, 0.8);
        height: 70px;
        text-align: center;
        position: relative;
        top: -5px;
    }
    button{
        height: 50px;
        width: 200px;
        font-size: 18px;
        border-radius: 100px;
    }
    #portfolio{
        text-align: center;
    }
    #portfolio button{
        margin-bottom: 30px;
    }
    .item {
    width: 50%;
    float: left;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 430px;
    }
    .item img{
        width: 100%;
    }
    .mobile{
        display: block;
    }
    .menu{
        display: none;
    }
    .menu ul{
        position: fixed;
        right: 0;
        padding: 40px;
        background: rgba(0, 0, 0, 0.8);
        top: 70px;
        height: 1300px;
        width: 250px;
        z-index: 98;
    }
    footer .mobile{
        display: none;
    }
    section.contenu-contact {
        width: 100%;
        float: none;
        padding-top: 50px;
    }
    #page-contact .titre{
        height: 60px;
        width: 100%;
        background: #575756;
        text-align: center;
        position: relative;
        top: 20px;
    }
    #page-contact .titre h1{
        transform: translateY(60%);
        color: #fff;
        font-size: 25px;
    }
    .coordonnee {
        text-align: center;
        height: 220px;
        width: 100%;
        margin: 40px auto;
        background: url(../images/background-04.png) no-repeat center;
        -webkit-background-size: cover;
        background-size: cover;
    }
    .coordonnee h2{
        transform: translateY(50%);
        height: 120px
    }
    .coordonnee a {
        color: #fff;
        font-weight: initial;
        display: inline-block;
        margin-bottom: 20px;
        font-size: 40px;
    }
    .coordonnee a:nth-child(1){
        font-size: 30px;
    }
    .formulaire {
        width: 80%;
    }
    #page-portfolio #portfolio h3{
        margin: 0;
        width: 100%;
        background: #575756;
    }
    .collabse-portfolio {
    position: fixed;
    top: 75px;
    right: 0;
    width: 100px;
    height: 65px;
    background: rgba(234, 75, 59, 0.8);
    color: #fff;
        z-index: 98;
    }
    .collabse-portfolio span{
        margin-top: 25%;
        display: inline-block;
    }
        .item{
        display: none;
    }
    .active{
        display: inline-block;
    }
    .menu a{
        color: #fff;
        margin: 10px 0;
        display: inline-block;
    }
        .portrait{
    width: 100% !important;
}
}
#fade { /*--Masque opaque noir de fond--*/
	display: none; /*--masqué par défaut--*/
	background: #000;
	position: fixed; left: 0; top: 0;
	width: 100%; height: 100%;
	opacity: .80;
	z-index: 9999;
}
.popup_block{
	display: none; /*--masqué par défaut--*/
	background: #fff;
	padding: 20px;
	float: left;
	font-size: 1.2em;
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
	/*--Les différentes définitions de Box Shadow en CSS3--*/
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	/*--Coins arrondis en CSS3--*/
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.popup_block a{
    color: rgba(234, 75, 59, 0.8);
}
img.btn_close {
	float: right;
	margin: -55px -55px 0 0;
}
/*--Gérer la position fixed pour IE6--*/
*html #fade {
position: absolute;
}
*html .popup_block {
position: absolute;
}
@media screen and (min-width:781px) and (max-width:1300px){
    .coordonnee , .formulaire{
        width: 85% !important;
    }
    .menu, .contenu-portfolio{
        height: 500px !important;
    }
    .item{
        height: 250px !important;
    }
    .hover{
        top: 180px !important;
    }
    #page-portfolio .menu, #page-portfolio .contenu-portfolio{
        height: 2250px !important;
    }
}
/**********************************

ECRAN

**********************************/


@media screen and (min-width:781px){
    #jqueryGalerie section{
        height: 25rem;
    }
    .icone-presentation {
        text-align: center;
        display: flex;
        justify-content: space-between;
        padding: 20px;
    }
    .trois-col {
        width: 30%;
        padding: 20px;
    }
    .no-mobile{
        display: none;
    }
    .menu{
        display: block;
        width: 25%;
        background: #575756;
        color: #fff;
        height: 700px;
        padding: 90px 40px;
        text-align: left;
        float: left;
        
    }
    .menu li{
        margin-bottom: 50px;
        font-size: 14px;
    }
    
    .contenu-portfolio{
        height: 700px;
        width: 75%;
        float: right;
    }
    .item {
    width: 33.33%;
    float: left;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 50%;
        position: relative;
    }
    .item img{
        width: 100%;
    }
    .hover{
        margin: 0;
        position: absolute;
        top: 280px;
        font-size: 18px;
        margin-bottom: 10px;
        width: 100%;
        background: rgba(234, 75, 59, 0.8);
        height: 70px;
        text-align: center;
    }
    .hover span {
    font-family: righteousregular, sans-serif;
    display: inline-block;
    transform: translateY(50%);
    height: 100%;
    color: #fff;
        font-size: 18px;
    }
    .menu h3{
        margin: 0;
    width: 270px;
    color: #fff;
    background: transparent;
    padding: 0px 0px 40px;
    }
    .menu a{
        color: #fff;
    }
    footer div, footer p{
        display: inline-block;
        vertical-align: middle;
    }
    footer img{
        width: 40px;
    }
    .item{
        display: none;
    }
    .active{
        display: inline-block;
    }
    /*   page contact   */
    .slide-bar {
    width: 20%;
    height: 1200px;
    background: #575756;
    float: left;
    }
    section.contenu-contact {
    width: 80%;
    float: right;
    padding-top: 130px;
    }
    #page-contact .titre{
            height: 70px;
    width: 300px;
    background: #3c3c3b;
    text-align: center;
    position: relative;
    left: -30px;
    }
    #page-contact .titre h1{
        transform: translateY(60%);
        color: #fff;
        font-size: 25px;
    }
    .coordonnee {
        text-align: center;
        height: 220px;
        width: 1000px;
        margin: 40px auto;
        background: url(../images/background-04.png) no-repeat center;
        -webkit-background-size: cover;
        background-size: cover;
    }
    .coordonnee h2{
        transform: translateY(50%);
        height: 120px
    }
    .coordonnee a {
        color: #fff;
        font-weight: initial;
        display: inline-block;
        margin-bottom: 20px;
        font-size: 40px;
    }
    .coordonnee a:nth-child(1){
        font-size: 30px;
    }
    .triangle{
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 30px 25px 0;
        border-color: transparent #ef816b transparent transparent;
        position: relative;
        left: -30px;
    }
    #page-portfolio .menu, #page-portfolio .contenu-portfolio{
        height: 3150px;
    }
    #page-portfolio .item{
        height: 350px;
    }
    .collabse-portfolio{
        display: none;
    }
    }
@media screen and (min-width:1000px){
    .call-to-action-contact{
            background: url(../images/background-06.jpg) no-repeat center fixed;
        }
    #jqueryGalerie section{
        height: 20rem;
    }
}
@media screen and (min-width:1800px){
    .menu, .contenu-portfolio{
        height: 1000px;
    }
    .hover{
        top: 430px;
    }
    .encours div{
            margin-top: 50vh;
    transform: translateY(-50%);
    }
    #page-portfolio .hover{
        top: 280px;
    }
    #page-portfolio .menu{
        padding-left: 7%;
    }
}
#page-portfolio #portfolio{
    padding-top: 70px;
}



/*   slider  */

section.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}
section.slider img{
        position: absolute;
        top: 0;
        left: 0;

        -webkit-transition: all 3s;
        transition: all 3s;
}
section.slider aside{
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 50%;
        width: 100%;
        color: white;
        padding: 2rem;

        -webkit-transform: translate(-50%);
        transform: translate(-50%);
}
section.slider span {

        position: absolute;
        top: 1rem;
        background: rgba(255, 255, 255, .5);
        padding: 1rem 1.5rem;
        cursor: pointer;

        -webkit-border-radius: 50%;
        border-radius: 50%;

}
section.slider span:first-child{
        left: 3rem;
    }

section.slider span:last-child{
        right: 3rem;
    }

section.slider article{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        -webkit-transition: all 1s;
        transition: all 1s;
    }

section.slider article:not(:first-of-type){
        left: 100%;
    }

section.slider figcaption {
        position: absolute;
        left: 0;
        bottom: 10rem;
        width: 100%;
        text-align: center;
        color: white;
}

section.slider .active{
        left: 0 !important;
    }

 section.slider .imgGoToLeft {
        left: -100% !important;
    }

section.slider .imgGoToRight {
        left: 100% !important;
    }
#jqueryAddClass{
        height: 40rem;
        border: .1rem dotted black;
        margin-top: 2rem;
        position: relative;
    }

    #jqueryAddClass img{
        height: 10rem;
        width: 10rem;
        position: absolute;
        top: 0;
        left: 0;

        -webkit-transition: all 3s;
        transition: all 3s;
    }

    #jqueryAddClass .goToRight{
        left: 86rem;
    }

    #jqueryAddClass .goToBottom{
        top: 29rem;
    }

    #jqueryAddClass .fatZelda{
        width: 20rem;
    }


/*
STYLE #jqueryGalerie
*/
#jqueryGalerie{
    margin-bottom: 30px;
}
    #jqueryGalerie section{

        position: relative;
        overflow: hidden;
        width: 100%;
        margin: auto;

    }

    #jqueryGalerie aside{
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 50%;
        width: 100%;
        color: white;
        padding: 2rem;

        -webkit-transform: translate(-50%);
        transform: translate(-50%);
    }

    #jqueryGalerie span {

        position: absolute;
        background: rgba(234, 75, 59, 0.8);
        padding: 1rem 1.5rem;
        cursor: pointer;
    }

    #jqueryGalerie span:first-child{
        left: 0;
    }

    #jqueryGalerie span:last-child{
        right: 0;
    }

    #jqueryGalerie article{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;

        -webkit-transition: all 1s;
        transition: all 1s;
    }

    #jqueryGalerie article:not(:first-of-type){
        left: 100%;
    }

    #jqueryGalerie figcaption {
        position: absolute;
        left: 0;
        bottom: 4rem;
        width: 100%;
        text-align: center;
        color: white;
    }

    #jqueryGalerie .active{
        left: 0 !important;
    }
@media screen and (min-width:1200px){
    #jqueryGalerie section{
        height: 28rem;
    }
}
@media screen and (min-width:1900px){
    #jqueryGalerie section{
        height: 50rem;
    }
}

