@font-face {
    font-family: 'MontserratLight';
    src: url(../polices/MontserratLight.woff) format('woff'), url(../polices/MontserratLight.ttf) format('ttf');
}

@font-face {
    font-family: 'MontserratRegular';
    src: url(../polices/MontserratRegular.woff) format('woff'), url(../polices/MontserratRegular.ttf) format('ttf');
}

body {
    font-family: 'MontserratLight', sans-serif;
    /*background: url("../images/white-architecture.png");*/
    background-color: #002F2F;
    background-size: contain;
    color: whitesmoke;
    margin: 0px;
    padding: 0px;
}

nav {
    position: fixed;
    margin-top: -40px;
    z-index: 1;
}

footer {
    background-color: #FC7F3C;
    height: 60px;
    width: 100%;
    padding-top: 5px;
}

h1 {
    letter-spacing: 10px;
    color: #B7CA79;
    text-align: center;
    font-size: 1.5em;
    padding-top: 80px;
}

h2 {
    letter-spacing: 5px;
    color: white;
    text-align: center;
}

h3 {
    letter-spacing: 2px;
    color: #B7CA79;
    text-align: center;
    font-size: 1.5em;
    padding-top: 60px;
}

h4 {
    letter-spacing: 1px;
    color: #B7CA79;
    font-size: 1.5em;
    text-align: center;
}

h5 {
    font-size: 1.1em;
    letter-spacing: 1px;
    color: white;
    text-align: center;
}

section {
    width: 80%;
    height: auto;
    border: solid #B7CA79 1px;
    padding: 0px 20px;
    margin: 20px auto;
    /*background-image: linear-gradient(rgba(254, 253, 254, 0.2), rgb(254, 253, 254));
    /*box-shadow: 5px 5px 2px #D9ADE7;*/
}

article {
    text-align: left;
    font-size: 1.2em;
    width: 100%;
    height: auto;
}

form {
    color: white;
    font-size: 1.5em;
    text-align: left;
    max-width: 60%;
    margin: auto;
}

.formulaire {
    border: solid #B7CA79 1px;
    margin: 20px auto;
    width: 80%;
    height: auto;
}

.presentation {
    margin-bottom: 100px;
    margin-top: 100px;
    padding-bottom: 20px;
}

textarea {
    width: 100%;
}

label input {
    width: 100%;
}

li.fade {
    list-style-type: none;
    color: olive;
}

a {
    text-decoration: none;
    color: olive;
}

a:hover,
li.fade:hover {
    color: navajowhite;
}

i {
    font-size: 1.2em;
}

iframe {
    width: 70%;
    margin-top: 20px;
}

.texteDessous {
    clear: both;
}

.center {
    text-align: center;
}

.video {
    margin-top: 20px;
    margin-bottom: 40px;
}

.menu_haut_page {
    font-size: 1.2em;
    letter-spacing: 1px;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

.mentions {
    color: #52251C;
}

/* animation image */
.opacity1 {
    opacity: 1;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.opacity1:hover {
    opacity: .5;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

#banniere {
    margin-top: -2px;
    width: 100%;
    opacity: 1;
    transition: .5s ease-in-out;
}

#banniere:hover {
    transition: .5s ease-in-out;
    opacity: .7;
}

#banniere2 {
    display: none;
}

#conteneur {
    display: flex;
    flex-direction: row;
}

#CV {
    height: auto;
    width: 100%;
    margin: 20px auto;
}

#Artwork {
    height: 300px;
    width: auto;
    float: right;
    padding: 0px 20px 0px 20px;
}

#acotes {
    margin-bottom: 30px;
}

#Gravure {
    float: right;
    margin: 0px 0px 20px 20px;
    width: 30%;
    height: auto;
}

#PlaquetteTrophees {
    width: 40%;
    height: auto;
    margin: 20px;
}

#Stand,
#Sac {
    margin: 20px;
    width: 40%;
    height: auto;
}

#animations {
    margin: 20px;
    width: 60%;
    height: auto;
}

#DepliantEcolibris {
    height: auto;
    width: 50%;
    padding: 20px;
    margin-bottom: 20px;
    float: right;
}

#DepliantEcolibris2 {
    height: auto;
    width: 60%;
    margin: 20px;
}

#Ecolibris {
    margin: 20px;
    width: 30%;
    height: auto;
}

#Ecolibris2 {
    margin-top: 20px;
    width: 60%;
    height: auto;
}

#Dessin {
    margin: 20px;
    width: 60%;
    height: auto;
}

#Spectaculaires {
    margin: 20px;
    width: 50%;
    height: auto;
}

#IcutLayout {
    width: 20%;
    height: auto;
    float: left;
    margin: 10px 20px 20px 0px;
}

#Contrecollage {
    float: left;
    height: auto;
    width: 20%;
    margin: 0px 20px 20px 0px;
}

#brico,
#Calendrier {
    width: 50%;
    margin: auto;
    margin-top: 20px;
}

#Rex,
#Serigraphie {
    width: 40%;
    height: auto;
    margin: 20px;
}

#carteVisite {
    width: 30%;
    margin: 20px;
}

#gisfImg {
    width: 60%;
    margin: 20px;
}

#luckyImg {
    width: 40%;
    margin: 20px;
}

#preylude {
    width: 50%;
    margin: 20px;
}

#siteInternet {
    width: 60%;
    margin: 20px;
}

#siteInternet2 {
    width: 90%;
}

#clickme,
#click {
    text-align: center;
    color: #677E52;
}

#NombreVues {
    color: darkgreen;
    margin: auto;
    text-align: center;
    width: 400px;
}

#bootstrap {
    width: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*--------------------------------css animation du titre Portfolio-------------------------------------*/

.ml14 {
    font-weight: 200;
    font-size: 1.5em;
}

.ml14 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.1em;
    padding-right: 0.05em;
    padding-bottom: 0.15em;
}

.ml14 .line {
    opacity: 0;
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #fff;
    transform-origin: 100% 100%;
    bottom: 0;
}

.ml14 .letter {
    display: inline-block;
    line-height: 1em;
}

/*------------------------------------diaporama page Dernier Cri----------------------------------------*/

.diaporama {
    /*box-shadow: 5px 5px 2px #D9ADE7;*/
    margin: auto;
    width: 800px;
    height: 500px;
    background-image: url("../images/dernierCri.png");
    overflow: auto;

    webkit-animation-name: diapo1;
    webkit-animation-duration: 20s;
    webkit-animation-timing-function: linear;
    webkit-animation-iteration-count: infinite;
    webkit-animation-direction: normal;

    moz-animation-name: diapo1;
    moz-animation-duration: 20s;
    moz-animation-timing-function: linear;
    moz-animation-iteration-count: infinite;
    moz-animation-direction: normal;

    animation-name: diapo1;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: normal;
}

@-webkit-keyframes diapo1 {
    0% {
        background-position: 0px 0px;
    }

    2% {
        background-position: 0px 0px;
    }

    31% {
        background-position: -800px 0px;
    }

    35% {
        background-position: -800px 0px;
    }

    64% {
        background-position: -1600px 0px;
    }

    68% {
        background-position: -1600px 0px;
    }

    98% {
        background-position: -2400px 0px;
    }

    100% {
        background-position: -2400px 0px;
    }
}

@-moz-keyframes diapo1 {
    0% {
        background-position: 0px 0px;
    }

    2% {
        background-position: 0px 0px;
    }

    31% {
        background-position: -800px 0px;
    }

    35% {
        background-position: -800px 0px;
    }

    64% {
        background-position: -1600px 0px;
    }

    68% {
        background-position: -1600px 0px;
    }

    98% {
        background-position: -2400px 0px;
    }

    100% {
        background-position: -2400px 0px;
    }
}

@keyframes diapo1 {
    0% {
        background-position: 0px 0px;
    }

    2% {
        background-position: 0px 0px;
    }

    31% {
        background-position: -800px 0px;
    }

    35% {
        background-position: -800px 0px;
    }

    64% {
        background-position: -1600px 0px;
    }

    68% {
        background-position: -1600px 0px;
    }

    98% {
        background-position: -2400px 0px;
    }

    100% {
        background-position: -2400px 0px;
    }
}

/*------------------------------------------css du menu deroulant------------------------------------------*/

nav > ul {
    margin: 0px;
    padding: 0px;
    margin-bottom: -20px;
    margin-top: 0px;
    font-size: 1.2em;
}

nav li {
    list-style-type: none;
}

nav > ul > li {
    float: left;
}

.submenu {
    display: none;
    margin-top: -1px;
}

nav input[type=checkbox] {
    display: none;
}

.menu-mobile {
    display: none;
}

nav {
    width: 100%;
    background-color: #FC7F3C;
}

nav > ul > li {
    float: left;
    position: relative;
}

nav > ul::after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    display: inline-block;
    text-decoration: none;
}

nav > ul > li > a {
    padding: 20px 30px;
    color: #52251C;
}

nav li:hover .submenu {
    display: inline-block;
    position: absolute;
    top: 100%;
    left: 0px;
    padding: 0px;
    z-index: 100000;
}

.submenu li {
    border-bottom: 1px solid #CCC;
}

.submenu li a {
    padding: 15px 30px;
    color: #222538;
    width: 270px;
}

.menu-accueil:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-news:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-entreprise:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-association:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-creation:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-webdesign:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-apropos:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-contact:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

.menu-facebook:hover {
    border-top: 5px solid #e44d26;
    background-color: RGBa(288, 77, 38, 0.15);
}

nav > ul > li:hover a {
    padding: 15px 30px 20px 30px;
}

.menu-entreprise .submenu {
    background-color: RGB(251, 216, 99);
}

.menu-association .submenu {
    background-color: RGB(251, 216, 99);
}

.menu-creation .submenu {
    background-color: RGB(251, 216, 99);
}

.menu-webdesign .submenu {
    background-color: RGB(251, 216, 99);
}

.submenu li:hover a {
    color: #EEE;
    font-weight: bold;
}

.menu-entreprise .submenu li:hover {
    background-color: RGB(200, 165, 75);
}

.menu-association .submenu li:hover {
    background-color: RGB(200, 165, 75);
}

.menu-creation .submenu li:hover {
    background-color: RGB(200, 165, 75);
}

.menu-webdesign .submenu li:hover {
    background-color: RGB(200, 165, 75);
}

/*-------------------------------------------media queries-------------------------------------------------*/

@media screen and (min-width:768px) and (max-width:1000px) {
    h1 {
        padding-top: 100px;
    }
}

@media screen and (min-width:576px) and (max-width:768px) {
    
     /*----------------Menu----------------*/

    nav input[type=checkbox]:checked ~ ul {
        display: block;
    }

    .menu-mobile {
        display: block;
        color: #fff;
        background-color: rgba(64, 72, 68, 0.5);
        text-align: center;
        padding: 12px 0px;
        margin-top: -10px;
        font-size: 1.2em;
    }
    
    nav {
        padding-top: 10px;
    }

    nav ul {
        display: none;
    }

    nav ul li,
    nav ul li a {
        width: 100%;
        text-align: center;
    }

    nav ul li a,
    nav ul li:hover a {
        padding: 10px 0px 10px 0px;
    }

    .submenu li a {
        padding: 15px 30px;
        color: #222538;
        width: 270px;
        font-size: .8em;
    }

    nav li:hover .submenu {
        display: block;
        position: static;
    }
    
    /*----------------Menu----------------*/
    
    h3 {
        font-size: 1.5em;
    }

    section {
        clear: both;
        width: 80%;
        height: auto;
        margin: auto;
        margin-top: 40px;
    }

    article {
        height: auto;
        width: auto;
    }

    .diaporama {
        margin: 20px auto;
        width: 500px;
        height: 300px;
    }

    .light div {
        position: relative;
        margin: auto;
    }

    #conteneur {
        display: flex;
        flex-direction: column;
    }

    #animations {
        width: 90%;
        height: auto;
    }

    #Affiche_enfant,
    #DepliantEcolibris {
        height: 300px;
        width: auto;
    }

    #CV {
        height: auto;
        width: 200px;
    }

    #Artwork {
        height: 100px;
    }

    #job,
    #acotes {
        height: auto;
    }

    #PlaquetteTrophees {
        width: 300px;
        height: auto;
    }

    #Gravure,
    #Contrecollage,
    #Stand,
    #IcutLayout,
    #NotesLayout {
        width: 200px;
        height: auto;
    }

    #luckyImg,
    #gisfImg,
    #Ecolibris {
        width: 300px;
    }

    #Ecolibris2,
    #Dessin {
        width: 400px;
        height: auto;
    }

    #siteInternet,
    #siteInternet2 {
        width: 70%;
        margin: 20px;
    }

    #preylude {
        width: 70%;
        margin: 20px;
    }
}

@media screen and (max-width:576px) {

    section {
        clear: both;
        width: 80%;
        height: auto;
        margin: auto;
        margin-top: 40px;
    }

    article {
        height: auto;
        width: auto;
    }

    footer {
        background-color: #FC7F3C;
        height: 80px;
        padding-top: 5px;
    }

    .diaporama {
        margin: 20px auto;
        width: 250px;
        height: 300px;
    }

    .presentation {
        margin-bottom: 50px;
        margin-top: 50px;
    }

    .menu_haut_page {
        list-style-type: none;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 12px 0px;
    }

    .formulaire {
        width: 90%;
    }

    .ml14 {
        font-weight: 200;
        font-size: 1.1em;
    }

    /*----------------Menu----------------*/

    nav input[type=checkbox]:checked ~ ul {
        display: block;
    }

    .menu-mobile {
        display: block;
        color: #fff;
        background-color: rgba(64, 72, 68, 0.5);
        text-align: center;
        padding: 12px 0px;
        margin-top: -10px;
        font-size: 1.2em;
    }
    
    nav {
        padding-top: 10px;
    }

    nav ul {
        display: none;
    }

    nav ul li,
    nav ul li a {
        width: 100%;
        text-align: center;
    }

    nav ul li a,
    nav ul li:hover a {
        padding: 10px 0px 10px 0px;
    }

    .submenu li a {
        padding: 15px 30px;
        color: #222538;
        width: 270px;
        font-size: .8em;
    }

    nav li:hover .submenu {
        display: block;
        position: static;
    }

    /*------------------------------------*/

    #banniere {
        display: none;
    }

    #banniere2 {
        display: block;
        width: 100%;
        opacity: 1;
        transition: .5s ease-in-out;
    }

    #banniere2:hover {
        transition: .5s ease-in-out;
        opacity: .7;
    }

    #conteneur {
        display: flex;
        flex-direction: column;
    }

    #job,
    #acotes {
        height: auto;
    }

    #Affiche_enfant,
    #DepliantEcolibris {
        height: auto;
        width: 80%;
    }

    #CV {
        height: auto;
        width: 100%;
    }

    #luckyImg,
    #gisfImg,
    #brico {
        width: 80%;
    }

    #Stand,
    #IcutLayout,
    #NotesLayout,
    #Ecolibris,
    #animations,
    #Ecolibris2,
    #Dessin,
    #PlaquetteTrophees {
        width: 80%;
        height: auto;
    }

    #Contrecollage {
        width: 40%;
    }

    #Gravure {
        width: 50%;
    }

    #siteInternet,
    #siteInternet2 {
        width: 80%;
        margin: 20px;
    }

    #preylude {
        width: 70%;
        margin: 20px;
    }

    #carteVisite {
        width: 50%;
        margin: 20px;
    }
}
