/*********************
Général
**********************/

/***********************
MEDIA QUERIES

Seuils Media queries

HP: 
    >1000px : desktop
    780 - 1000px: desktop 2
    412 - 780 : tablet
    <412 : phone

projet:
    >1037px : desktop
    780 - 1037px: desktop 2
    412 - 780 : tablet
    <412 : phone
************************/

@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300');


@font-face {
    font-family: 'geosanslightregular';
    src: url('fonts/geosanslight-webfont.eot');
    src: url('fonts/geosanslight-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/geosanslight-webfont.woff2') format('woff2'),
         url('fonts/geosanslight-webfont.woff') format('woff'),
         url('fonts/geosanslight-webfont.svg#geosanslightregular') format('svg');
    font-weight: normal;
    font-style: normal;

}



* {
    margin: 0;
    padding: 0;
    font-family: 'geosanslightregular', 'Josefin sans', sans-serif;
    box-sizing: border-box;
    color: #A42516;
}


html {
    overflow-x: hidden;
}

h2 {
    font-weight: normal;
    font-size: 5em;
    color: #F5A98E;
    position: absolute;
    left: 30px;
    top: 95px;
	z-index:150;
}

p {
    font-size: 1.8em;
}

::selection {
    background: #F9CBBD;
}


/* Code for Firefox */

::-moz-selection {
    background: #F9CBBD;
}


/*body {
    cursor: url("Images/cursor.png"), auto;
}*/


/*********************
Fin Général
**********************/


/*********************
Body
**********************/


/*********************
Navigation
**********************/

header {
    z-index: 100;
}




/*********************
Fin Navigation
**********************/

/**************** FIN MENU ******************/

/*********************
Hero
**********************/

section {
    padding: 0;
    margin: 0;
    background-image: url(../Images/Romy_Ravor_Hero_blanc1.png);
    background-repeat: no-repeat;
    background-size: 1000px;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    z-index: 0;
    transform: scale(1,1);
    min-height: 700px;
    animation: hero 4s;
    animation-fill-mode: forwards;
/*    animation-delay: 1.5s;*/
    opacity: 0;
}

/* Chrome, Safari, Opera */

@-webkit-keyframes hero {
    from {
        opacity: 0;
        background-size: 900px;
    }
    to {
        opacity: 1;
        background-size: 1000px;
    }
}


/* Standard syntax */

@keyframes hero {
    from {
        opacity: 0;
        background-size: 900px;
    }
    to {
        opacity: 1;
        background-size: 1000px;
    }
}



/********* H1 **************/

h1 {
    font-size: 2.2em;
    position: relative;
    top: 72%;
    /* Chrome, Safari, Opera */
    animation: titre 4s;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
    opacity: 0;
    text-align: center;
    font-weight: normal;
    z-index: 6;
}


/* Chrome, Safari, Opera */

@-webkit-keyframes titre {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Standard syntax */

@keyframes titre {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero {
    width: 1000px;
}

.scroll_down {
    position: absolute;
    bottom: 0.5em;
    left: calc( 50% - 34px / 2);/*jouer là-dessus pour trouver le bon positionnement*/
    transition: 1s;
    background-color: white;
    opacity: 0;
    -webkit-animation: apparition-2 5s;
    /* Chrome, Safari, Opera */
    animation: apparition-2 5s;
    animation-fill-mode: forwards;
    animation-delay: 2s;
    animation-duration: 1.5s;
}

.scroll_down a {
  padding-top: 70px;
}
.scroll_down a span {
  position: absolute;
  bottom: 45px;
  left: 50%;
  width: 24px; /*jouer là-dessus pour trouver le bon positionnement*/
  height: 24px;
  border-left: 1px solid #F6A58C;
  border-bottom: 1px solid #410608;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb05 1.5s infinite;
  animation: sdb05 1.5s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb05 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb05 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

/* Chrome, Safari, Opera */

@-webkit-keyframes apparition-2 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Standard syntax */

@keyframes apparition-2 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll_down:hover {
    transform: translateY(8px);
}


/************** Fin H1 ***********/

/***********Media Queries**************/
@media (min-width: 801px) and (max-width: 1000px){
    section {
        background-image: url(../Images/Romy_Ravor_Hero_blanc_800px.png);

        }
}

@media (min-width: 601px) and (max-width: 800px){
    section {
        background-image: url(../Images/Romy_Ravor_Hero_blanc_600px.png);
        animation-name: none;
        opacity: 1;
        }
    h1{
        font-size: 1.8em;
    }
.scroll_down a span {
    bottom: 110px;
}
}

@media (min-width: 450px) and (max-width: 600px){
#main-nav {
    height: 50px;
    position:fixed;
 }
.logo {
    top: 7px;
}

section {
        background-image: url(../Images/Romy_Ravor_Hero_blanc_400px.png);
        background-position: top center;
        animation-duration: 0s;
        animation-name: none;
        height: 375px;
        min-height: 375px;
        opacity: 1;
        }

h1 {
    font-size: 1.7em;
    top: 68%;
}
}

@media (max-width: 449px){
    #main-nav {
    height: 50px;
 }
    .logo {
    top: 7px;
}
section {
        background-image: url(../Images/Romy_Ravor_Hero_blanc_316px.png);
        background-position: top center;
        animation-duration: 0s;
        animation-name: none;
        height: 300px;
        min-height: 300px;
        opacity: 1;
    }
h1{
        font-size: 1.3em;
        top: 58%;
    }
}


/***********Fin Media queries***********/







/*********************
Fin Hero
**********************/


/*********************
Présentation
**********************/

.presentation {
    /*border: 2px solid indianred;*/
    height: 100vh;
    /*display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;*/
    position: relative;
}


.presentation_image_texte {
    display: flex;
    z-index: 1;
    position: absolute;
    top: 280px;
}
.question_presentation{
    font-size: 1.1em;
    margin-top: 10px;
    display: inline-block;
    color:;
    
}
.question_presentation strong{

    color: #A42516;
    font-size: 1.1em;
    display: inline-block;
}
.presentation_image_texte p {
    color: #410608;
    width: 655px;
   /*height: 300px;*/
    position: absolute;
    left: 47vw;
    top: -100px;
    font-size: 1.2em;
}

.presentation_image_texte p a{
    text-decoration: none;
    color: #410608;
}
.flatlay {
    width: 707px;
    position: absolute;
}
    
.illustration {
    width: 120px;
    bottom: 6px;
    position: relative;
    left: 565px;
    transform: rotate(7deg);
}
.lien_presentation{
    color: #410608;
}

.lien_presentation:hover{
    color: #F6A58C;
    transition: all .4s;
}

div#presentation {
    /*width: 100vw;*/
    height: 750px;
    background: url(../Images/background_presentation.png) right no-repeat;
}

.scrolltop {
 display:none;
}


#to-top {
    position: fixed;
    bottom: 20px;
    left: calc( 85% - 65px / 2);
    width: 65px;
    z-index: 9;
}

#to-top:hover {
    transition: 1s;
    transform: translateY(-8px);
}




/***********Media Queries*************/
@media (min-width: 1101px) and (max-width: 1295px){
.presentation_image_texte p {
    width: 579px;
    left: 46vw;
}
.illustration {
    left: 460px;
}
}

@media (min-width: 801px) and (max-width: 1100px){
.presentation_image_texte p {
    width: 300px;
    font-size: 1em;
    left: 62vw;
}
.question_presentation strong{
    font-size: 1em;
}
.illustration{
    left: 219px;
    width: 90px;
    bottom: -15px;

}
}
@media (min-width: 801px) and (max-width: 920px){
.portfolio {
    /* border: 1px solid #6cff00; */
    position: relative;
    display: flex;
    justify-content: center;
    width: 1000px;
    z-index: 2;
    height: 460px;
}
}

@media (min-width: 601px) and (max-width: 800px){
.portfolio {

    bottom: 70px;
}
h2{
    font-size: 4em;
}
.presentation_image_texte {
    top: 185px;
}
.flatlay {
    width: 100vw;
}
.presentation_image_texte p {
    left: 7vw;
    top: 540px;
    font-size: 1em;
}
.question_presentation strong{
    font-size: 1em;
}
.illustration {
    width: 89px;
    left: 580px;
}
    
div#presentation {
    height: 1129px;
    background: url(../Images/background_presentation_600x800.png) right no-repeat;
}
}

@media (min-width: 601px) and (max-width: 720px){
.presentation_image_texte p {
    width: 500px;
    top: 470px;
}
.question_presentation strong{
    font-size: 1em;
}
.illustration {
    width: 89px;
    left: 417px;
    top: 12px;
}
    
div#presentation {
    height: 1129px;
    background: url(../Images/background_presentation_600x800.png) right no-repeat;
}
}

@media (min-width: 450px) and (max-width: 600px){
h2{
    font-size:4em;
    }
.presentation_image_texte {
    top: 185px;
}
.flatlay {
    width: 100vw;
}
.presentation_image_texte p {
    left: 7vw;
    top: 410px;
    font-size: 1em;
    width: 410px;
}
.question_presentation strong{
    font-size: 1em;
}
div#presentation {
    height: 1105px;
    background: url(../Images/background_presentation_600x800.png) right no-repeat;
}
.illustration{
    left: 323px;
    width: 80px;
    bottom: -10px;

}
}


@media (max-width: 449px){
h2{
    font-size: 3em;
    text-align: center;
    width: 100%;
    top: 75px;
    left: 0;
    }
.presentation_image_texte {
    top: 120px;
}
.flatlay {
    width: 100vw;
}
.presentation_image_texte p {
    left: 7vw;
    top: 302px;
    font-size: .8em;
    width: 280px;
}
.question_presentation strong{
    font-size: .9em;
}
div#presentation {
    height: 850px;
    background: url(../Images/background_presentation_600x800.png) right no-repeat;
}
.illustration{
    left: 210px;
    width: 59px;
    bottom: -10px;

}
}
/***********Fin Media queries***********/

/*********************
Fin presentation
**********************/


/*********************
portfolio
**********************/

.portfolio {
    /*border: 1px solid #6cff00;*/
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
	height: 0px;
}


.losange {
    /*changer dimensions -> scroll h*/
    position: relative;
    top: 250px;
    width: 1000px;
    /*border: 1px dashed red;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.losange img {
    /*border: 1px solid aqua;*/
    position: relative;
    width: 300px;
    padding-bottom: 30px;
}

.projet_hover{
    position: absolute;
    background-color: #fcd8cf;
    opacity: 0;
    display: block;
    width: 300px;
    height: 205px;
    color: #410608; 
    z-index: 5;
}
.projet_hover:hover{
    opacity: .85;
    /*transform: translateX(10px);*/
    transition: all 1s ease;
}
.projet_hover_titre{
    color: #a12b26;
    font-size: 2.2em;
    position: relative;
    top: 50px;
    font-weight: bold;
    display: block;
    width: 250px;
    text-overflow: clip;
    text-align: center;
    margin: auto;
    word-wrap: break-word;
    line-height: 45px;
}

.resume {
    position: relative;
    text-decoration: none;
    font-size: 2em;
    right: 347px;
}

.resume:hover {
    transform: translateX(10px);
    transition: all 1s ease;
}

.resume::before {
    content: url(../Images/resume.png);
    margin-right: 7px;
    line-height: 7px;
    position: relative;
    bottom: 3px;

}

/***********Media Queries*************/


@media (min-width: 1101px) and (max-width: 1295px){

}

@media (min-width: 931px) and (max-width: 980px){
.losange {
    width: 920px;
}
    .resume {
    right: 318px;
}
}

@media (min-width: 640px) and (max-width: 930px){
.losange {
    width: 640px;
}
.portfolio {
    height: 500px;
}
    .resume {
    right: 330px;
    top: 146px;
}
}

@media (min-width: 610px) and (max-width: 640px){
.losange {
    width: 610px;
}
    .resume {
     right: 0; 
}
}

@media (min-width: 801px) and (max-width: 1100px){
    
}



@media (min-width: 601px) and (max-width: 800px){

}

@media (min-width: 450px) and (max-width: 600px){
    .resume {
     right: 0; 
}
}


@media (max-width: 640px){
.losange {
    width: 559px;
}
    .portfolio {
        height: 1410px;
}
        .resume {
     right: 0; 
}
}

@media (max-width: 449px){
.losange {
    top: 120px;
}
    .portfolio {
    height: 1295px;
}
    
}
/***********Fin Media queries***********/
/*********************
Fin portfolio
**********************/


/*********************
contact
**********************/

.contact {
    position: relative;
    background: url(../Images/background_contact.png) bottom right no-repeat;
    background-size: 80%;
    top: 1460px;
    width: 100%;
    height: 600px;
    padding-top: 100px;
    background-color: #fffaf9;
}

.contact h2{
    top : 0;
    position: relative;
}

.coordonnees {
    width: 100%;
    color: #400507;
    text-align: center;
    top: 250px;
    position: absolute;

}

.coordonnees-detail a{
    display: block;
}

.mail{
    font-size: 2.5em;
}

.tel{
    font-size: 2em;
}

.mail a{
    text-decoration: none;
}

.mail a:hover{
    transform: scale(1.05);
    transition-duration: 1s;
}

.tel a:hover{
    transform: scale(1.05);
    transition-duration: 1s;
}

.tel a{
    text-decoration: none;
}

.social img {
    width: 40px;
    margin: 10px;
}


.social img:hover {
    transform: scale(1.1);
    transition-duration: 1s;
}

/***********Media Queries*************/

@media (min-width: 640px){
.contact {
    background-size: 600px;
}
}

@media (min-width: 995px) and (max-width: 1150px){
.coordonnees {
    /*width: 860px;*/
    }
.contact {
    height: 85vh;
}
}


@media (min-width: 450px) and (max-width: 994px){
.mail{
    font-size: 1.8em;
}

.tel{
    font-size: 1.5em;
}
}
@media (min-width: 776px) and (max-width: 994px){
.coordonnees {
        font-size: 1.5em;
    }
/*.mail{
    font-size: 2em;
}

.tel{
    font-size: 1.5em;
}*/
}


@media (min-width: 450px) and (max-width: 600px){
    .contact {

    top: 1710px;
}
}
    
@media (min-width: 640px) and (max-width: 775px){
body{
	width: 100%;
}

.coordonnees {
    font-size: 1.5em;
    }
.mail{
    font-size: 1.7em;
}

.tel{
    font-size: 1.3em;
}
}

@media (min-width: 550px) and (max-width: 640px){
.coordonnees {
   /* width: 500px;
    left: 33px;*/
    font-size: 1.5em;
    top: 200px;

}
    .contact {
    height: 500px;
    background-size: 65%;
    top: 2160px;
}
    
    footer {
    top: 2159px!important;
}
}

@media (min-width: 641px) and (max-width: 685px){
.coordonnees {
   /* width: 500px;
    left: 33px;*/
    font-size: 1.5em;
    top: 200px;

}
    .contact {
    height: 500px;
    background-size: 60%;
    /*top: 2160px;*/
}
}

@media (min-width: 450px) and (max-width: 551px){
.coordonnees {
   /* width: 300px;
    left: 33px;*/
    font-size: 1.5em;
}
    .social img {
    width: 25px;
    margin-right: 10px;
}
        .contact {
    height: 86vh;
        top: 2180px;
}
    footer {
    top: 2178px!important;
}
}


@media (max-width: 449px){
    .contact h2 {
    top: -30px;
    position: relative;
}
.coordonnees {
    /*width: 200px;
    left: 33px;*/
    font-size: 1.3em;
    top: 190px;
}
.mail{
    font-size: 1.4em;
}

.tel{
    font-size: 1.2em;
}
.social img {
    width: 20px;
    margin-right: 10px;
}
    .contact {
    height: 80vh;
        top: 2170px;
}
    footer {
    font-size: .8em;
}
}
/***********Fin Media queries***********/


/*********************
Fin contact
**********************/


/*********************
Footer
**********************/


/*.pied-de-page {
    top: 51px;
    position: relative;
}*/

footer {
    background-color: #FCD8CF;
    height: 70px;
    position: relative;
    width: 100%;
    top: 1460px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15em;
}



/***********Media queries***********/

@media (min-width: 551px) and (max-width: 600px){
    footer {

    top: 2160px;
}
}

@media (min-width: 450px) and (max-width: 551px){
    footer {

    top: 1695px;
}
}

@media (max-width: 449px){
    footer {
    font-size: 0.7em;
    top: 2170px;
}
}
/***********Fin Media queries***********/


/*********************
Fin footer
**********************/


/*********************
Fin Body
**********************/


/*********************
ANIMATION
**********************/


