/*TYPOGRAPHY*/
h1, h2, h3, h4, p, .display-h1, .display-h2, .dates, .display-footer, a {
    font-family: 'Raleway', sans-serif;
}
h1 {
    font-weight: 900;
    line-height: 1;
    font-size: 40px;
}
.display-h1 {
    font-weight: 100;
    line-height: 1.5;
    font-size: 20px;
    padding-top: 2em;
}
h2 {
    font-weight: 900;
    line-height: 1;
    font-size: 20px;
    padding-bottom: .1em;
}
.display-h2 {
    font-weight: 400;
    line-height: 1.2;
    font-size: 18px;
    padding-top: .15em;
    padding-bottom: .1em;
}
.dates {
    font-weight: 100;
    line-height: 1.5;
    font-size: 18px;
    font-style: italic;
    padding-top: 0;
}
h3 {
    font-weight: 700;
    line-height: 1.5;
    font-size: 18px;
}
h4 {
    font-weight: 700;
    line-height: 1.5;
    font-size: 16px;
}
p {
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
    padding: 1em 0;
}
.display-footer {
    font-weight: 700;
    line-height: 1.5;
    font-size: 16px;
}
.center {
    text-align: center;
}
.fat {
    font-weight: 700;
}
.thin-ita {
    font-weight: 100;
    font-style: italic;
}
/*COLORS*/
.pink {
    color: #E74D4D;
}
.white {
    color: #fff;
}
/*Dimensions*/
.container {
    padding: 0 20px;
}
/*HEADER*/
#header-site {
    position: fixed;
    background-color: #fff;
    width: 100%;
    height: 60px;
    padding-top: 8px;
    z-index: 999;
}
#header-box {
    display: flex;
}
.btn-header {
    width: 50%;
    text-align: center;
    padding: .7em 0;
}
.btn-header:first-child {
    border-right: 1px solid #f2f2f2;
}
/*HERO*/
.hero {
    background-image: url(../images/hero-mobile-nb.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
h1 {
    padding-top: 9em;
    position: relative;
    top: .5em;
}
/*INFORMATIONS*/
.informations {
    text-align: center;
}
.informations img {
    padding: 1em 0;
}
.presentation {
    padding-bottom: 2em;
}
/*CONTENU */

.line {
    position: relative;
    left: 20px;
    width: calc(100vw - 60px);
    height: 1px;
    background-color: #f2f2f2;
}
.push-button {
    cursor: pointer;
}
.bgbutton {
    position: relative;
    top: -1px;
    width: 40px;
    height: 82px;
    background-color: #f2f2f2;
    border-radius: 19px;
}
.rond {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: #b4b4b4;
    transition: all .2s ease-in-out;
}
.contenu {
    padding: 1em 0;
}
.header-job {
    display: flex;
}
.titre-job {
    padding-top: .5em;
    padding-left: .5em;
}

.show-hide {
    overflow: hidden;
    transition: all .5s ease-in-out; 
}
.card {
    border-radius: 20px;
    background-color: #F2F2F2;
    padding-bottom: .1em;
    margin-top: 1em;
    margin-bottom: 2em;
    color: #000;
}
.card h4 {
    padding-top: 1em;
}
.card-txt {
    padding-left: 1em;
    padding-right: 1em;
}
.card-txt p {
    padding-top: .2em;
}
.card-txt a {
    padding-top: 3em;
}
.img-card {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.img-ede {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.videowrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: .5em;
    margin-top: 1.5em;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
footer {
    background-color: #E74D4D;
    padding: 8em 0;
    margin-top: 2em;
}
footer a {
    color: #fff;
}
footer h4 {
    color: #fff;
    text-align: center;
}
#abakar {
    background-image: url(../images/abakar.jpg);
}
#hubicus {
    background-image: url(../images/hubicus.jpg);
}
#ministere {
    background-image: url(../images/ministere.jpg);
}
#brikawood {
    background-image: url(../images/brikawood.jpg);
}
#cartecadeau {
    background-image: url(../images/cartecadeau.jpg);
}
#editis {
    background-image: url(../images/editis.jpg);
}
#adsonline {
    background-image: url(../images/adsonline.jpg);
}
#performair {
    background-image: url(../images/performair.jpg);
}
#instantanes {
    background-image: url(../images/instantanes.jpg);
}
#tasurprise {
    background-image: url(../images/tasurprise.jpg);
}
#mvdr {
    background-image: url(../images/mvdr.jpg);
}
#hubicus-maquette {
    background-image: url(../images/hubicus-maquette.jpg);
}
#mrbricolage {
    background-image: url(../images/mrbricolage.jpg);
}
#laposte {
    background-image: url(../images/laposte.jpg);
}
#bnp {
    background-image: url(../images/bnp.jpg);
}
#sg1 {
    background-image: url(../images/sg1.jpg);
}
#sg2 {
    background-image: url(../images/sg2.jpg);
}
#carrefour {
    background-image: url(../images/carrefour.jpg);
}
#depizzol {
    background-image: url(../images/depizzol.jpg);
}
#aurelia {
    background-image: url(../images/aurelia.jpg);
}
#jeremie {
    background-image: url(../images/jeremie.jpg);
}
#sally {
    background-image: url(../images/sally.jpg);
}
#bleudefour {
    background-image: url(../images/bleudefour.jpg);
}
#compositing {
    background-image: url(../images/compositing.jpg);
}
@media screen and (min-width: 576px) {
/*540*/
    .container {
        padding: 0px;
        max-width: 540px;
        margin: 0 auto;
    }
    .line {
        width: calc(540px - 20px);
    }

}
@media screen and (min-width: 768px) {
/*720*/    
    .container {
        max-width: 720px;
    }
    .line {
        width: calc(720px - 20px);
    }
    .portfolio {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .card-container {
        width: 49%;
    }
    .informations {
        display: flex;
        align-items: center;
        padding-bottom: 2em;
    }
    .informations p {
        text-align: left;
        padding-left: 2em;
    }
    .images-job {
        margin-top: 2em;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .img-ede {
        width: 350px;
        height: 350px;
        padding-bottom: 0;
        margin-bottom: 20px;
    }
    
    
}
@media screen and (min-width: 992px) {
/*960*/        
    .container {
        max-width: 960px;
    }
    .line {
        width: calc(960px - 20px);
    }
    h1 {
        font-size: 66px;
        padding-top: 315px;
    }
    .hero {
        background-image: url(../images/hero.jpg);
    }
    p {
        max-width: 850px;
    }
    .display-h1 {
        padding-top: 3em;
        padding-bottom: 2em;
    }
    footer {
        padding: 12em 0;
    }
    .img-ede {
        width: 315px;
        height: 315px;
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 1200px) {
/*1140*/    
    .container {
        max-width: 1140px;
    }
    .line {
        width: calc(1140px - 20px);
    } 
    .card-container {
        width: 33%;
    }
    .img-ede {
        width: 375px;
        height: 375px;
    }
}









