/*
RESTE À FAIRE

- ajuster header taille before after
- media querries à finaliser

- re faire img pour le web toshop
*/




/*
VIEWPORT :
MacBook Pro 13” : 1280x800
MacBook Pro 15” : 1440x900
iPad Pro 10,5” : 1024x1366
iPad 9,7” : 768x1024
iPhone X : 375x812
iPhone 8 Plus : 414x736
iPhone 8 : 375x667
iPhone 5 : 320x568
IPhone 4 : 320x480 */

/*
--- RESPONSIVE BREAKPOINTS BOOTSTRAP ---

// Extra small devices (portrait phones, less than 576px) /// Extra small <576px .col-xs

// Small devices (landscape phones, 576px and up) /// Small ≥576px .col-sm
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up) /// Medium ≥768px .col-md
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up) /// Large ≥992px .col-lg
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up) /// Extra large ≥1200px .col-xl
@media (min-width: 1200px) { ... }   RÉGLAGE DE BASE DU SITE / SUR MACBOOK PRO 15p
*/







/***** HOMEPAGE *****/

/* STYLE GENERAL */

body {
    font-family: 'Dosis', sans-serif;
    background: #ffffff;
}


section hr {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

hr {
    height: 0.25em;
    width: 5em;
}


@media screen and (max-width: 375px) {
        hr {
        height: 0.25em;
        width: 4em;
    }
}



.scroll-top {
	padding-top: 3rem;
    display: block;
    float: right;
    font-size: 20px;

}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/*responsive*/

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

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

} /* fin responsive tel max 576px */


.container {
    padding-bottom: 50px;
}

/** HEADER **/

header {
    height: 750px;
    /*background-image: url(../img/01_header/header-img-bg-1600.jpg);*/
    max-width : 100%;
    background-repeat: no-repeat;
    background-color: #255dc6;
    background-position: center;
        position: relative;
}

header:before,
header:after {
    content: '';
    display: block;

}

header .groupe-titre {
    width: 556px;
    height: 165px;
    border: 13px solid #8ecdb6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: translateX(45px) translateY(20px);
}
header:before {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #8ecdb6;
    position: absolute;
    right: 10%;
    top: 94px;
}
header:after {
    width: 180px;
    height: 20px;
    background-color: #8ecdb6;
    position: absolute;
    left: 10%;
    bottom: 100px;
}

header h1,
header h2 {
    position: relative;
    z-index: 2;
}

header h1 {
    color: white;
    font-size: 4em;
    font-weight: 600;
    text-align: center;
    margin: 0;
    /* padding-top: 19%; */
    /* padding-top: 270px; */
    position: absolute;
    top: -52px;
    left: 0;
    /* right: 0; */
    padding-left: 10px;
}

header a:hover {
    text-decoration: none;
}


header h2 {
    color: white;
    font-size: 2.5em;
    font-weight: 400;
    text-align: center;
    margin: 0;
    position: absolute;
    right: 0;
    top: 51px;
    text-align: right;
    left: -100px;
}

header #scroll-down {
    position: absolute;
    left: 50%;
    right: 0;
    margin: auto;
    bottom: 30px;
}

/* ploup ploup mouse picto header */

#scroll-down img {
    width: 50px;
    animation: bounce 3s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}


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

    header h1 {
        font-size: 3.9em;
    }

    header h2 {
        font-size: 2.3em;
    }

    header .groupe-titre {
    width: 460px;
    height: 136px;
    border: 10px solid #8ecdb6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: translateX(45px) translateY(20px);
}

} /* fin responsive tel max 728px */

/*responsive*/

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

    header h1 {
        font-size: 3.5em;
    }

    header .groupe-titre {
    width: 400px;
    height: 118px;
    border: 10px solid #8ecdb6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: translateX(45px) translateY(20px);
}

    header:after {
        width: 130px;
        height: 16px;
    }

    header:before {
        width: 60px;
        height: 60px;
    }


} /* fin responsive tel max 56px */

/*responsive*/

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

    header h1 {
        font-size: 2.7em;
        top: -33px;
    }

    header h2 {
        font-size: 1.6em;
        top: 35px;
    }

    header .groupe-titre {
    width: 320px;
    height: 100px;
    border: 10px solid #8ecdb6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: translateX(45px) translateY(20px);
}

    header:after {
        width: 130px;
        height: 16px;
    }

    header:before {
        width: 60px;
        height: 60px;
    }


} /* fin responsive tel max 526px */

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

   header h1 {
        font-size: 2.6em;
        top: -33px;
    }

    header h2 {
        font-size: 1.25em;
        top: 35px;
    }


    header .groupe-titre {
        width: 270px;
        height: 92px;
        border: 8px solid #8ecdb6;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        transform: translateX(0px) translateY(20px);
    }


}


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

    header:before {
        width: 50px;
        height: 50px;
    }
    
    header:after {
        width: 90px;
        height: 12px;
        bottom: 80px;
    }

    #scroll-down img {
        width: 40px;
    }
    
    header .groupe-titre {
        margin-top: 250px;
    }
    
    header {
        height: 570px;
    }
    
    
}



/*Megamenu*/

header button {
    padding: 0;
    border: none;
    background-color: transparent;
}

header button img {
    width: 50px;
    margin: 50px 0px 0px 50px;
}

@media screen and (max-width: 375px) {
    
        header button img {
        width: 50px;
        margin: 30px 0px 0px 30px;
        }
    
}

@media screen and (max-width: 320px) {
   
    header button img {
        width: 45px;
    }
    
}




.menu-full li a:hover {
    text-decoration: none;
}


/* START BIENVENUE */

.bienvenue h2 {
    color: #235ec6;
    text-align: left;
    font-weight: 600;
    padding-left: 5%;
    text-decoration: underline #8fcdb6;
    margin-bottom: 30px;
}

.bienvenue figure {
    padding-top: 20px;
}

.bienvenue p {
    color: #2f2f2f;
    text-align: left;
    font-size: 0.85em;
    font-weight: 300;
    max-width: 100%;
    padding-left: 5%;
    text-align: justify;
}


.bienvenue .cv {
    color: #2f2f2f;
    font-size: 0.85em;
    font-weight: 500;
    text-decoration: underline #2f2f2f;
}
.bienvenue a:hover {
    color: #8fcdb6;
    text-decoration: none;
}

.bienvenue .scroll-top {
    color: #8fcdb6;
}


@media screen and (max-width: 768px) {
    .bienvenue h2 {
    padding-top: 10px;
    padding-left: 0;
    text-align: center;
    }

    .bienvenue p {
        padding-left: 0;
        text-align: justify;
    }

}

@media screen and (max-width: 768px) {
   
    .bienvenue p {
        font-size: 0.75em;
        }

}




/* START COMPETENCES */

.competences {
    background-color: #8fcdb6;
}

.competences h2 {
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}


.competences hr {
    background-color: #235ec6;
}

.competences h3 {
    color: #fff;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 2em;
    margin-top: 2em;
}

.competences img {
    width: 80px;
    margin: 0 auto;
    display: block;
}

.competences .scroll-top {
    color: #235ec6;
}

@media screen and (max-width: 576px) {
        .competences h3 {
            font-size: 0.95em;
        }
}

/* ECOLE */

.ecole h2 {
    color: #2f2f2f;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.ecole hr {
    background-color: #235ec6;
    margin-bottom: 50px;
}

.ecole img {
    width: 100%;
    height: 100%;
}

.ecole figure {
    width: 100%;
    height: 100%;
}

.ecole .picture {
    padding: 0;
    margin: 0;
}

.ecole .scroll-top {
    color: #235ec6;
}

/*hover*/
.ecole figure {
    position: relative;
}

.ecole figure figcaption {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    top: 0em;
    left: 0em;
    bottom: 0em;
    right: 0em;
    background-color: #235ec6;
    opacity: 0;
    transition: opacity .6s ease;
}

.ecole figure figcaption:hover {
    opacity: .9;
}

.ecole figure figcaption h3, .ecole figure figcaption h4, .ecole h5 {
    text-align: center;
}

.ecole figure figcaption h3 {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.75em;
    color: #fff;
}

.ecole figure figcaption h4 {
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}

.ecole figure figcaption h5 {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}

.ecole .picto-plus {
    width: 25px;
    height: 25px;
    display: block;
    margin: 0 auto;
    margin-top: 15px;
}

/*Modal*/

.ecole .modal-content img {
    padding: 10px 20px 5px 20px;
}
.ecole .modal-content p {
    padding: 5px 20px 5px 20px;
    text-align: center;
    margin: 0;
    font-size: 0.7em;
    margin: 0 auto;
    color: #2f2f2f;
}

.ecole .arrow-close {
    display: block;
    text-align: center;
    float: right;
    padding-top: 5px;
    padding-right: 10px;
}

.ecole .modal-content h5 {
    color: #235ec6;
    padding-bottom: 10px;
    font-size: 0.9em;
    text-align: center;
    margin: auto;
}

.ecole .modal-content a {
    text-align: center;
    margin: 0;
    font-size: 0.7em;
    margin: 0 auto;
    color: #8fcdb6;
    text-decoration: underline;
    font-weight: 500
}

.ecole .modal-content a:hover {
    text-decoration: none;
}

.ecole .modal-content #img-vr46 {
    width: 30%;
}

.ecole .modal-content #gras {
    font-weight: 500;
}

.ecole .modal-content .widht50-img {
    width: 60%;
}

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


    .ecole .modal-content h5 {
        font-size: 0.7em;
        padding-right: 10px;
        padding-left: 10px;
    }

    .ecole .modal-content p {
    font-size: 0.6em;
    }

    .ecole .modal-content a {
        font-size: 0.6em;
    }

}



/* START PRO */
.pro {
    background-color: #235ec6;
}

.pro .thumbnail-image img{
    max-width: 100%;
    max-height: 100%;
}

.pro hr {
    background-color: #8fcdb6;
    margin-bottom: 50px;
}

.pro h2 {
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.pro h3 {
    padding-top: 15px;
    color: #235ec6;
    text-align: center;
    font-size: 0.95em;
    font-weight: 500;
}

.pro h4 {
    padding-top: 5px;
    padding-bottom: 15px;
    color: #235ec6;
    text-align: center;
    font-size: 0.8em;
    font-weight: 400;
}

.pro .thumbnail-body {
    background-color: #fff;
}

.pro .scroll-top {
    color: #8fcdb6;
}

/* hover pro */
.pro figure {
    background: #8fcdb6;
    overflow: hidden;
}

/*effet de zoom au hover*/
.pro figure .img-thumb{
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.pro figure:hover .img-thumb{
	opacity: .2;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.pro figure {
    position: relative;
    margin: 0;
}

.pro figure figcaption {
    position: absolute;
    opacity: 0;
    top: 0em;
    left: 0em;
    bottom: 0em;
    right: 0em;
}

.pro figure figcaption .picto-plus {
    width: 35px;
    height: 35px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    right: 44%;
}

.pro figure:hover figcaption {
    opacity: 1;
}

/*Modal*/

.pro .modal-content img {
    padding: 10px 20px 5px 20px;
    width: 100%;
}
.pro .modal-content p {
    padding: 5px 20px 5px 20px;
    text-align: center;
    margin: 0;
    font-size: 0.7em;
    margin: 0 auto;
    color: #2f2f2f;
}

.pro .arrow-close {
    display: block;
    text-align: center;
    float: right;
    padding-top: 5px;
    padding-right: 10px;
}

.pro .modal-content h5 {
    color: #235ec6;
    padding-bottom: 10px;
    font-size: 0.9em;
    text-align: center;
    margin: auto;
}

.pro .modal-content a {
    text-align: center;
    margin: 0;
    font-size: 0.7em;
    margin: 0 auto;
    color: #8fcdb6;
    text-decoration: underline;
    font-weight: 500
}

.pro .modal-content a:hover {
    text-decoration: none;
}

.pro .modal-content .widht50-img {
    width: 60%;
}

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

    .pro .thumb-pro{
        padding-bottom: 30px;
    }

} /* fin responsive tel max 576px */

/*responsive*/
@media screen and (max-width: 768px) {

    .pro .thumb-pro{
        padding-bottom: 30px;
    }


    .pro .modal-content h5 {
        font-size: 0.7em;
        padding-right: 10px;
        padding-left: 10px;
    }

    .pro .modal-content p {
    font-size: 0.6em;
    }

    .pro .modal-content a {
        font-size: 0.6em;
    }



} /* fin responsive tablette max 768px */

/* START PERSO */
.perso {
    background-color: #2f2f2f;
}

.perso .thumbnail-image img{
    max-width: 100%;
    max-height: 100%;
}

.perso hr {
    background-color: #8fcdb6;
    margin-bottom: 50px;
}

.perso h2 {
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.perso h3 {
    padding-top: 15px;
    color: #8fcdb6;
    text-align: center;
    font-size: 0.95em;
    font-weight: 500;
}

.perso h4 {
    padding-top: 5px;
    padding-bottom: 15px;
    color: #8fcdb6;
    text-align: center;
    font-size: 0.8em;
    font-weight: 400;
}

.perso .thumbnail-body {
    background-color: #fff;
}

.perso .scroll-top {
    color: #fff;
}


/* hover perso */
.perso figure {
    background: #235ec6;
    overflow: hidden;
}

/*effet de zoom au hover*/
.perso figure .img-thumb{
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.perso figure:hover .img-thumb{
	opacity: .3;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.perso figure {
    position: relative;
    margin: 0;
}

.perso figure figcaption {
    position: absolute;
    opacity: 0;
    top: 0em;
    left: 0em;
    bottom: 0em;
    right: 0em;
}

.perso figure figcaption .picto-plus {
    width: 35px;
    height: 35px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    right: 44%;
}

.perso figure:hover figcaption {
    opacity: 1;
}

/*Modal*/

.perso .modal-content img {
    padding: 10px 20px 5px 20px;
    width: 100%;
}
.perso .modal-content p {
    padding: 5px 20px 5px 20px;
    text-align: center;
    margin: 0;
    font-size: 0.7em;
    margin: 0 auto;
    color: #2f2f2f;
}

.perso .arrow-close {
    display: block;
    text-align: center;
    float: right;
    padding-top: 5px;
    padding-right: 10px;
}

.perso .modal-content h5 {
    color: #8fcdb6;
    padding-bottom: 10px;
    font-size: 0.9em;
    text-align: center;
    margin: auto;
}

.perso .modal-content a {
    text-align: center;
    margin: 0;
    font-size: 0.7em;
    margin: 0 auto;
    color: #8fcdb6;
    text-decoration: underline;
    font-weight: 500
}

.perso .modal-content a:hover {
    text-decoration: none;
}

.perso .modal-content .widht50-img {
    width: 60%;
}

.perso .modal-content #gras {
    font-weight: 500;
}

.perso .modal-content .no-padding-left {
    padding-left: 0px;
}

.perso .modal-content .no-padding-right {
    padding-right: 0px;
}

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

    .perso .thumb-perso {
        padding-bottom: 30px;
    }


} /* fin responsive tel max 576px */

/*responsive*/
@media screen and (max-width: 768px) {

    .perso .thumb-perso{
        padding-bottom: 30px;
    }

    .perso .modal-content h5 {
        font-size: 0.7em;
        padding-right: 10px;
        padding-left: 10px;
    }

    .perso .modal-content p {
    font-size: 0.6em;
    }

    .perso .modal-content a {
        font-size: 0.6em;
    }




} /* fin responsive tablette max 768px */

/*START CONTACT*/

.contact {
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    font-weight: 600;
    color: #2f2f2f;
    text-transform: uppercase;
}

.contact hr {
    background-color: #8fcdb6;
    margin-bottom: 50px;
}

.contact .error {
    font-weight: 300;
    font-size: 0.65em;
    color: #2f2f2f;
    padding-top: 5px;
    text-align: left;
}

/* formulaire*/

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

.btn {
    white-space: normal; 
}
.contact #btn-form {
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
    color: white;
    font-weight: 400;
    font-size: 0.8em;
	background-color: #8fcdb6;
    border-radius: 5px;
	cursor: pointer;
    border: none;
    padding: 5px 25px;
}

.contact label {
    color: #2f2f2f;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.75rem;
}

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

.contact .scroll-top {
    color: #8fcdb6;
}

/* tel-social */
#tel-social {
    background-color: #f4f4f4;
    padding:0;
    text-align:left;
    font-size:1em;
}
#tel-social h3 {
    padding-top: 30px;
    font-size: 1.8em;
    font-weight: 500;
    color: #2f2f2f;
}
#tel-social a {
    font-size: 0.9em;
    font-weight: 500;
    color: #595959;
    text-transform: uppercase;
    text-align: center;
}
#tel-social a:hover {
    color: #8fcdb6;
    text-decoration: none;
}
#tel-social .btn1, #tel-social .btn2 {
    display: block;
    text-align: center;
    margin-top: 20px;
    border: 1px solid #595959;
    border-radius: 5px;
    width: auto;
}

#tel-social p {
    text-align: center;
    padding-top: 15px;
}

/* social icons*/
#tel-social .social img {
    width: 1.9rem;
    margin-right: .25rem;
    margin-left: .25rem;
}

#tel-social .social #social {
   text-align: center;
    margin-top: 1.5rem;
}

/* mentions footer */

.mentions p, .mentions a {
    color: #dcdcdc;
}
.maj {
    text-transform: uppercase;
}

.p15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.mentions p {
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
    font-size: 0.7em;
    max-width: 100%;
    padding-bottom: 15px;
}

.mentions a.ino {
    text-decoration: underline;
}

.mentions a.ino:hover {
    text-decoration: underline;
}

.mentions a:hover {
    color: #8fcdb6;
    text-decoration: none;
}

.mentions {
    background-color: #2f2f2f;
    margin: 0 auto;
    padding: 0;
}

.mentions .container {
    margin: 0 auto;
    padding: 0;
}
@media screen and (max-width: 575px) {
    
    .mentions span {
        display:block;
    }
}

/* modal mentions légales */

.mentions .modal-content {
    padding: 20px;
}

.mentions .modal-content p {
    color: #2f2f2f;
    text-align: justify;
}

.mentions .modal-content a {
    color : #2f2f2f;
    font-weight: 500;
    font-size: 1em;
}

.mentions .modal-content h3 {
    color: #235ec6;
    font-weight: 600;
    font-size: 1.2em;
    padding-bottom: 20px;
}

.mentions .modal-content .arrow-close {
    display: block;
    text-align: center;
    float: right;
    padding-top: 5px;
    padding-right: 10px;
    text-decoration: none;
}


@media screen and (max-width: 375px) {
    .mentions p {
        font-size: 0.5em;
    }
}

/* FOOTER NEW */
footer {font-size: 1.5em;}
footer p, footer a {
    color: #dcdcdc;

}
.maj {
    text-transform: uppercase;
}

.p15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

footer p {
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
    font-size: 0.7em;
    max-width: 100%;
    padding-bottom: 15px;
}

footer span {
    /*text-decoration: underline;*/
}

footer span:hover {
    /*text-decoration: underline;*/
}

footer a:hover {
    color: #8fcdb6;
    text-decoration: none;
}

footer {
    background-color: #2f2f2f;
    margin: 0 auto;
    padding: 0;
}

footer .container {
    margin: 0 auto;
    padding: 0;
}

/* modal mentions légales */

footer .modal-content {
    padding: 20px;
}

footer .modal-content p {
    color: #2f2f2f;
    text-align: justify;
}

footer .modal-content a {
    color : #2f2f2f;
    font-weight: 500;
    font-size: 1em;
}

footer .modal-content h3 {
    color: #235ec6;
    font-weight: 600;
    font-size: 1.2em;
    padding-bottom: 20px;
}

footer .modal-content .arrow-close {
    display: block;
    text-align: center;
    float: right;
    padding-top: 5px;
    padding-right: 10px;
    text-decoration: none;
}

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

    footer p {
        font-size: 0.55em;
    }

}

@media screen and (max-width: 500px) {
    footer p {
        font-size: 0.4em;
    }
}


/*toutes les modales*/

.modal-content {
    padding-bottom: 20px;
}
section { padding: 80px 1em; }
h2 { font-size:3rem; }

@media ( max-width: 500px)  {

    h2 { font-size:2rem; }
}


@media ( max-width: 1024px)  {
    #ecole figure:after, #pro figure:after, #perso figure:after { 
        position:absolute; 
        bottom:0; 
        right:0; 
        width:40px; 
        height: 40px; 
        content:'+'; 
        font-size: 1.5em;
        font-weight: 200;
        line-height: 35px;
        color: white;
        background: rgba(35, 94, 198, 0.8); 
        z-index:10; 
        display:inline-block;
    }
}


