/* http://meyerweb.com/eric/tools/css/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* FIN RESET */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

* {
    box-sizing: border-box;
}


/**************** fin INI ****************/

body {
    background-color: #efefef
}

.bg {
    background-color: #007b91;
    background: radial-gradient(ellipse at center, #00d8ff 0%, #001215 100%);
    overflow: hidden;
    position: relative;
    transition: all 1s;
    min-height: 100vh;
    opacity: 1;
}

bg-alt {
    background-color: #007b91;
    background: radial-gradient(ellipse at center, #00d8ff 0%, #001215 100%);
    overflow: hidden;
    position: relative;
    transition: all 1s;
    min-height: 100vh;
    opacity: 0;
}

.bg2 {
    /*    background-color: white;*/
}

bg2lat {
    background: linear-gradient(to right, rgba(31, 32, 32, 1) 0%, rgba(31, 32, 32, 1) 50%, rgba(255, 255, 255, 1) 51%, rgba(255, 255, 255, 1) 100%);
}

bg2lat2 {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(31, 32, 32, 1) 51%, rgba(31, 32, 32, 1) 100%);
}

#bg {
    transition: all 0.6s;
}

.container {
    /*    border: 1px solid red;*/
    width: 1024px;
    margin: 0 auto
}

.flex {
    display: flex;
    flex-wrap: wrap;
    /*    border: 1px solid red;*/
    justify-content: space-around;
}

.nom,
.metier,
#menu,
#menu2 {
    display: flex;
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    flex-wrap: nowrap;
    font-family: 'Nothing You Could Do', cursive;
    font-size: 10vmin;
    color: white;
    transition: all 1s;
    z-index: 50;
}

.nom {
    cursor: pointer;
    z-index: 500;
}
.signature{
    padding-top: 30px;
    font-family: 'Nothing You Could Do', cursive;
    font-size: 3.5vmin;
    color: white;
}
.black {
    color: black;
}

.blanche {
    position: absolute;
    /*    display: none;*/
    /*    width: 100vw;*/
    height: 0px;
    /*    border: 1px solid red;*/
    top: 45%;
    left: 0;
    right: 0;
    background: white;
    /*    color: red;*/
    z-index: 500;
    transition: all 0.5s;
}

.blanche-ouvre {
    height: 100%;
    top: 0;
    z-index: 500;
}

.togglecontact {
    top: 40%;
    position: absolute;
    left: 0;
    right: 0;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 3vmin;
    text-align: center;
    line-height: 1.5em;
    z-index: 500;
}

.mon-mail {
    color: black;
}
.btn-cv {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 1%;
    background: #008ea9;
    border: 1px solid #008ea9;
    color: white;
    margin-bottom: 10px;
    position: relative;
}

.btn-cv:hover {
    background: white;
    color: #008ea9;
}

.bougenom {
    top: 25%;
}

.metier {
    top: 48%;
    font-size: 4vmin;
    font-family: 'Julius Sans One', sans-serif;
    letter-spacing: 0.5em;
    z-index: 500;
}

.bougemetier {
    top: 70%;
}

h1,
h2,
p {
    margin-left: auto;
    margin-right: auto;
}

#menu,
.sousmenu,
#menu2 {
    top: 70%;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 3vmin;
}

#sousmenupao li {
    /*    display: none;*/
}

#menu>ul,
#menu2>ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    transition: all 1s;
    text-align: center;
}

#menu2 {
    display: none;
    /*    border: 1px solid red;*/
}

.subMenu a {
    color: white;
}

#menu>ul>li,
#menu2>ul>li {
    cursor: pointer;
    padding: 5px;
}

#menu>ul>li>a,
#menu2>ul>li>a {
    color: white;
}

.rel {
    position: relative;
}

#fermeture {
    transition: all 0.9s;
}

.fermeture {
    /*    display: none;*/
    position: absolute;
    width: 40px;
    top: 40%;
    right: 10%;
    cursor: pointer;
    z-index: 501;
    opacity: 0;
}

.fermeture2 {
    top: 68%;
    opacity: 1;
    z-index: 501;
}

.out {
    top: -5000px;
}

.first {
    transition: all 0.8s;
}

.pao {
    position: relative;
    transition: all 0.5s;
}

.sousmenu {
    position: absolute;
    transition: all 0.5s;
    margin-top: 15px;
    font-size: 2.5vmin;
    border-left: 2px solid rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0);
}

.sousmenu li {
    padding: 10px;
}

a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0);
    transition: all 0.5s;
    padding: inherit;
}

.pao:hover a {
    color: rgba(255, 255, 255, 1);
}

.pao:hover .sousmenu {
    border-left: 2px solid rgba(255, 255, 255, 1);
    color: rgba(255, 255, 255, 1);
}

.scrollToTop {
    display: none;
    position: fixed;
    top: 90vh;
    right: 5vw;
    color: #909090;
    z-index: 1000;
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 99999;
}

.intro {
    position: absolute;
    top: 93%;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-family: "Roboto";
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    font-style: italic;
}

.dateCv {
    position: absolute;
    top: 57%;
    font-size: 0.5em;
    right: 20px;
}
/*******************   PHOTOSHOP  *****************/

.page--pao,
#page--web {
    display: flex;
}

.lateral {
    width: 20%;
    background-color: rgb(31, 32, 32);
    color: white;
    position: relative;
}

.principal {
    /*    width: 80%;*/
}

#page--web .lateral {
    order: 2;
}

.page--pao h2,
#page--web h2 {
    margin-top: 1.5em;
}

.page--pao h1,
.page--pao h2,
#page--web h1,
#page--web h2 {
    font-family: 'Julius Sans One', sans-serif;
    font-size: 4vmin;
    text-align: center;
    margin-bottom: 1.5em;
}

.page--pao h1 {
    font-size: 80px;
    margin-right: 1vw;
}

#page--web h1 {
    font-size: 80px;
}

.lateralG h1 {
    transform: rotate(-90deg);
    transform-origin: 0 0;
    padding-top: 0.7em;
    margin-top: 750px;
    transition: all 1s;
    /*    left:0;*/
    /*    top:50%;*/
}

.lateralD h1 {
    transform: rotate(90deg);
    transform-origin: right top;
    padding-bottom: 0;
    margin-top: 500px;
    /*    position: absolute;*/
    /*    right:10%;*/
    /*    top:400px;*/
}

.page--pao h2,
#page--web h2 {
    font-size: 40px;
    text-align: left;
    margin-left: 20px;
}

.page--pao ul,
#page--web ul {
    /*    display: flex;*/
    /*    justify-content: center;*/
}

.page--pao .maquettes ul {
    justify-content: center;
}

.source,
.resultat {
    width: 45%;
    transition: all 0.3s;
    /*    border: 1px solid #c4c4c4;*/
    justify-content: space-between;
    margin-bottom: 30px;
    margin-left: 20px;
    overflow: hidden;
}

.maquettes {
    width: 100%;
}

.resume {
    width: 49%;
}

.resume h3, .affiches h3, .page--pao h3 {
    font-family: 'Julius Sans One', sans-serif;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1.5em;
}

.source:hover {
    /*    width: 45%;*/
    /*    transform: translateY(-3%);*/
    z-index: 2;
    /*    box-shadow: 0px 0px 15px rgba(0,0,0,0.4);*/
}

.resultat:hover {
    /*    width:45%;*/
    /*    transform: translateY(-3%);*/
    z-index: 2;
    /*    box-shadow: -15px 15px 15px rgba(0,0,0,0.4);*/
}

img {
    max-width: 100%;
    /*    transform: scale(1.02);*/
    transition: all 0.3s;
}

.resultat:hover img {
    transform: scale(1.05);
}

.source:hover img {
    transform: scale(1.05)
}

.page--pao li,
#page--web li {
    /*    width: 48%;*/
    /*
    justify-content: space-between;
    margin-bottom: 30px;
    overflow: hidden;
*/
}

.cd-image-container {
    margin-bottom: 5%;
}

.separation {
    background-image: url(../img/codegraphic.jpg);
    background-color: grey;
    background-blend-mode: multiply;
    height: 30vmin;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*    opacity: 0.9;*/
    /*    filter: blur(2px);*/
}

.separation p {
    font-family: 'Nothing You Could Do', cursive;
    font-size: 10vmin;
    color: white;
    text-align: center;
    padding-top: 10vmin;
    padding-left: 5vmin;
    transition: all 0.2s;
    /*    box-shadow: 100px 100px 400px black inset;*/
}
.separation p span {
    color: #007b91;
}


/*******************   WEB  *****************/

#page--web p,
.page--pao p {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    line-height: 1.2em;
    width: 98%;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

.affiches ul li {
    width: 30%;
    margin-left: 2%;
}

.affiches p{
    text-align: center;
}

#flipbook,
#flipbook2 {
    /*    transition: all 0.6s;*/
    margin-bottom: 50px;
    margin-top: 50px;
    z-index: 5;
    width: 850px;
    height: 595px;
}


}
.flip {
    position: relative;
    margin-left: 2%;
}
.turn-left {
    position: absolute;
    color: #bab9b9;
    left: 45%;
    margin-top: 10em;
    z-index: 2;
}
.turn-right {
    position: absolute;
    color: #bab9b9;
    right: 25%;
    margin-top: 10em;
    z-index: 2;
}

/**************  FOOTER  *************/
footer {
    background: rgb(31, 32, 32);
    height: 205px;
    width: 100%;
    text-align: center;
    color: white;
}

.footer-metier{
    font-family: 'Julius Sans One', sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tel {
    font-family: "Roboto";
}

.mentions{
    font-family: "Roboto";
    font-size: 0.8rem;
    margin-top: 20px;
}

/**************  RESPONSIVE  *************/
@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
    }
    
    .fancybox-thumbs {
        top: auto;
        width: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: 95px;
        padding: 10px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .fancybox-show-thumbs .fancybox-inner {
        right: 0;
        bottom: 95px;
    }
    
    #flipbook,
    #flipbook2 {
        width: 425px;
        height: 297px;
    }
}
@media screen and (max-width: 760px) {
    .page--pao h1 {
        font-size: 7vw;
    }
    
    #page--web h1 {
        font-size: 7vw;
    }
    
    .maquettes {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .page--pao h2,
    #page--web h2 {
        font-size: 2em;
    }
    
    #flipbook,
    #flipbook2 {
        width: 283px;
        height: 198px;
    }
}
@media screen and (max-width: 480px) {
    .source,
    .resultat,
    .resume {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .resume {
        margin-bottom: 30px;
    }
    
    .lateralG h1 {
        margin-top: 400px
    }
    
    .lateralD h1 {
        margin-top: 400px;
    }
    
    .page--pao h2,
    #page--web h2 {
        font-size: 7vw;
    }
    
    .nom {
        font-size: 12vw;
        top: 27%;
    }
    
    .metier {
        font-size: 5vw;
        top: 36%;
    }
    
    .hide {
        display: none;
    }
    
    #menu {
        display: none;
        font-size: 1em;
        width: 90%;
        text-align: center;
        top: 70%;
    }
    
    #menu2 {
        display: block;
        top: 50%
    }
    
    #menu ul,
    #menu li {
        display: none;
    }
    
    #menu2 h3 {
        margin: 20px;
    }
    
    #menu2 h3,
    #menu2 a {
        font-size: 6vmin;
        color: white;
        padding: 10px;
        text-align: center
    }
    
    #menu2 .subMenu li {
        text-align: center;
        margin-bottom: 10px;
    }
    
    #menu2 .subMenu a {
        font-size: 4vmin;
    }
    
    #menu li {
        padding: 1.5vh;
        display: none;
    }
    
    #menu .pao .sousmenu li {
        display: none;
    }
    
    #sousmenupao li {
        /*        display: inline;*/
        font-size: 4vmin;
    }
    
    .affiches ul li {
        width: 90%;
        margin-left: 2%;
        margin-bottom: 2%;
    }
    
    .scrollToTop {
        right: 20vw;
    }
    
    .blanche {
        top: 35%;
    }
    
    .blanche-ouvre {
        top: 0;
    }
    
    .fermeture {
        top: 30%;
    }
    
    .fermeture2 {
        top: 65%;
    }
    
    .bougenom {
        top: 19%;
    }
    
    .bougemetier {
        top: 55%
    }
    
    .togglecontact {
        top: 29%;
        font-size: 5vmin;
    }
    
    #accordion h3 {
        transition: all 0.5s;
    }
    
    #menu2 h3 {
        cursor: pointer;
    }
    
    #accordion .ui-accordion-header-active {
        /*        margin-top: -5%;*/
    }
    
    #flipbook,
    #flipbook2 {
        width: 259px;
        height: 181px;
    }
    
    .intro {
        top: 90%;
        font-size: 12px;
        line-height: 1.2em;
    }
    .page--pao li, #page--web li {
        margin: auto;
    }
    #page--web li.resume, #page--pao li.resume {
        margin: 0.7em auto 2em auto;
        text-align: left;
    }
    .resume h3, .affiches h3, .page--pao h3 {
        font-size: 5vw;
    }
}
