/***********************
GENERAL
***********************/
*{
    box-sizing: border-box;
    margin: 0;
}

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


@font-face {

    src: url('css/fonts/geosanslight-webfont.woff2') format('woff2'),
         url('css/fonts/geosanslight-webfont.woff') format('woff'),
         url('css/fonts/geosanslight-webfont.ttf') format('ttf');
 /*   font-weight: normal;
    font-style: normal;
*/
}

::selection {
    background: #F9CBBD;
}


/* Code for Firefox */

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

/***********************
FIN GENERAL
***********************/

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

body{
    color: #410608;
    font-family: GeosansLight, 'Josefin sans', sans-serif;
    height: 100vh;
    
}

.titre_metier{
    text-align: center; 
    font-weight: bold; 
    margin-bottom: 55px; 
    font-size: 1.4em; 
    color: #410608; 
    margin-top: -30px;
}

h1{
    margin: auto;
    margin-bottom: 25px;
    font-size: 3.5em;
    text-align: center;
    color: #A12B26;
    animation-delay: 0s;
    animation-duration: 2s;
}
.titre-projets{
    top: 60px;
}




.h1-projets{
    position: relative;
    background-color: #ffffff;
}
.h1-projets, .projetCardPM, .projet72-78, .projetchoisyfete, .projetkdk, .projeteiffel, .projetiob, .projetdune, .projetchoisyroumanie, .projetterregourmande, .projetguitarist, .projetSaduwa, .projetTEDxBordeaux, .projetCultura, .projetUIdesign, .projetalc{
    top: 150px;
    opacity: .85;
    height: 140px;
}
.projetCardPM, .projet72-78, .projetchoisyfete, .projetkdk, .projeteiffel, .projetiob, .projetdune, .projetchoisyroumanie, .projetterregourmande, .projetguitarist, .projetSaduwa, .projetTEDxBordeaux, .projetCultura, .projetUIdesign, .projetalc{
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    width: 100%;
}
.projetCardPM{
    background-image: url(../Images/projets/cardpm/Romy_Ravor_card.pm_toppage.jpg);
}

.projet72-78{
    background-image: url(../Images/projets/72-78/Romy_Ravor_72-78_toppage.jpg);
}

.projetchoisyfete{
    background-image: url(../Images/projets/choisy_feteforaine/Romy_Ravor_choisyfeteforaine_toppage.jpg);
}

.projetiob{
    background-image: url(../Images/projets/iob/Romy_Ravor_iob_toppage.jpg);
}

.projetkdk{
    background-image: url(../Images/projets/kaylasdresskode/Romy_Ravor_kaylasdresskode_toppage.jpg);
}

.projetalc{
    background-image: url(../Images/projets/alc/Romy_Ravor_alc_performances_toppage.jpg);
}

.projetterregourmande{
    background-image: url(../Images/projets/terregourmande/Romy_Ravor_terregourmande_toppage.jpg);
}

.projetchoisyroumanie{
    background-image: url(../Images/projets/choisy_roumanie/Romy_Ravor_choisyroumanie_toppage.jpg);
}

.projetdune{
    background-image: url(../Images/projets/projetperso1/Romy_Ravor_dune_toppage.jpg);
}


.projeteiffel{
    background-image: url(../Images/projets/projetperso/Romy_Ravor_eiffel_toppage.jpg);
}

.projetguitarist{
    background-image: url(../Images/projets/projetperso3/Romy_Ravor_guitarist_toppage.jpg);
}


.projetSaduwa{
    background-image: url(../Images/projets/saduwa/Romy_Ravor_saduwa_toppage.jpg);
}


.projetTEDxBordeaux{
    background-image: url(../Images/projets/tedxbordeaux/Romy_Ravor_tedxbordeaux_toppage.jpg);
}


.projetguitarist{
    background-image: url(../Images/projets/projetperso3/Romy_Ravor_guitarist_toppage.jpg);
}

.projetCultura{
    background-image: url(../Images/projets/cultura/Romy_Ravor_cultura_toppage.jpg);
}

.projetUIdesign{
    background-image: url(../Images/projets/projetperso4/Romy_Ravor_UI_design_toppage.jpg);
}






.H1_GB{

}



a{
    text-decoration: none;
}

h2{
    color: #a12b26;
}
/*
.langues{
    position: absolute;
    top: 10px;
    right: 20px;
    color: #410608;
}

.langues > u > a, .langues > a{
    color: #410608;
}

.langues > a:hover{
    color: #f1753d;
}
*/

.logo{
    /*width: 650px;
    margin: auto;
    display: block;
    margin-bottom: 30px;*/
}

.logo-projets{
    width: 185px;
    margin: auto;
    display: block;
    margin-bottom: 30px;
}


.content{
    width: 1000px;
    margin: auto;
    font-size: 1.5em;
    position: relative;
    top: 150px;
}

.content > p{
    margin-bottom: 15px;
}

.portfolio{
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.creation{
    width: 180px;
    height: 130px;
}

.cv > a{
    color: #410608;  
    font-weight: bold;
    display: block;
    width: 250px;
}

.cv > a:hover {
    transform: translateX(10px);
    transition: all .3s ease;
}


.CV_GB > a:hover {
    transform: translateX(10px);
    transition: all .3s ease;
}

.CV_GB > a {
    color: #410608;  
    font-weight: bold;
    display: block;

}


.projet_hover{
    position: absolute;
    background-color: #fcd8cf;
    opacity: 0;
    display: block;
    width: 180px;
    height: 130px;
    color: #410608; 
}

.projet_hover_titre, .projet_hover_titreGB{
    color: #a12b26;
    font-size: 1.2em;
    position: relative;
    top: 20px;
    font-weight: bold;
    display: block;
    text-align: center;
    margin: auto;
}


.projet_hover:hover{
    opacity: .8;
    transition: all .3s ease;
}

.titre-mail-tel{
    width: 1000px;
    margin: auto;
}

.titre-mail-tel > h2{
    color: #fcd8cf;
}


.content_contact{
    background-color: #F9CBBD;
    width: 100vw;
    margin: auto;
    position: absolute;
    bottom: 0;
}

.mail-tel{
    text-align: center;
    margin-bottom: 5px;
    margin-top: 5px;
}
.coordonnees{
    font-size: 1.5em;
    text-decoration: none;
    color: #410608;
    font-weight: bold;
}


/***********************
FIN HOMEPAGE
***********************/

/***********************
PROJET
***********************/

.content_projet{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
 
}


.projet_colonne_gauche img, .projet_colonne_droite img{
    width: 480px;
    height: 375px;
}
/****lightbox*****/
.details_projet_hover > img{
    width: 20%;
    margin: auto;
}

.details_projet_hover > img:hover{
    transform: scale(1.1);
    transition: all .5s ease;
}


.details_projet_hover{
    opacity: 0;
    width: 480px;
    height: 375px;
    position: absolute;
    background-color: rgba( 255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.close{
    width: 80px;
    transition: all .5s ease;

}

.close:hover{
    transform: scale(0.9);
}

.details_projet_hover:hover{
    opacity: 1;
    transition: all .3s ease;
}

div[id^="ZOOM"]{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .9);
    display: none;
    z-index: 1000;
}


div[id^="ZOOM"] a{
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
}

/*on va responsiver l'image*/
div[id^="ZOOM"] .ZOOM_IMG{
    width: calc( 100% - 100px ); 
    height: calc( 100% - 100px );
    position: absolute;
    top: 50px;
    left: 50px;
    overflow: auto;
}

/*partie code lightbox avec utilisation du selecteur target*/
div[id^="ZOOM"]:target{
    display: block;
}/*on s'adresse à ZOOM1 quand il devient une destination de lien*/


div[id^="ZOOM"] .ZOOM_IMG img{
    width: 100%;
    height: auto;
}


.72-78{
    width: 480px;
    height: 375px;
}

/*******fin lightbox*****/


.description{
    font-size: 1.2em;
    margin-bottom: 20px;
}

h3{
    color: #f1753d;
    margin-top: 15px;
}

.img-prec{
    float: left;
    transition: all .5s ease;
}

.img-prec:hover{
    transform: translateX(-10px);
}

.img-suiv{
    float: right;
    transition: all .5s ease;
}
.img-suiv:hover{
    transform: translateX(10px);
}

.hoverSuivant{
    opacity: 0;
}

.hoverSuivant:hover{
    opacity: 1;
}


.img-prec a, .img-suiv a, {
    display: block;
    width: 50px;
}

.img-prec, .img-suiv {
    width: 50px;
}




.contact_projet{
    position: relative;
    bottom: -85px;


}

.content_contact_projet{
    width: 100%;
}

.up{
    width: 90px;
    position: relative;
    top: 100px;
    left: 910px;
    transition: all .5s ease;
}

.up:hover{
    /*opacity: .6;*/
    transform: translateY(-10px);
}

legend{
    font-size: .8em;
}
/***********************
FIN PROJET
***********************/

/***********************
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
************************/

/*   DESKTOP 2   */
@media (min-width: 801px) and (max-width: 1000px){
    h1{

        font-size: 3em;
        }
    
    
    .content{
        width: 768px;
        font-size: 1.2em;
    }

    .creation{
        width: 145px;
        height: 113px;
        }


    .projet_hover{
        width: 145px;
        height: 113px;
        }

    .projet_hover_titre{
        font-size: 1.2em;
        }

    .projet_hover_titreGB{
        font-size: 1.2em;
        }
    iframe, .projet_colonne_gauche img, .projet_colonne_droite img{
        width: 370px;
        height: 289px;
        }

    .retour > a:hover {
        background-position: -40px 0px;
        }
    
    .up{
        left: 678px;
        }
    .details_projet_hover{
        width: 370px;
        height: 289px;
        }
    
    .details_projet_hover img{
        width: 20%;
        }
}

/*   TABLETTE 1   */
@media (min-width: 565px) and (max-width: 800px){
    .logo {
        width: 530px; 
        }
    h1{
        font-size: 2.35em;
        }

    .portfolio{
        display: block;
        margin-bottom: 50px;
        }
    .content{
        width: 540px;
        font-size: 1.2em;
        }
    .content_projet{
        display: block;
    }

    .creation{
        width: 540px;
        height: 422px;
        }


    .projet_hover{
        width: 540px;
        height: 422px;
        }

    .projet_hover_titre, .projet_hover_titreGB{
        font-size: 2em;
        top: 18px;
        }

    iframe, .projet_colonne_gauche img, .projet_colonne_droite img{
        width: 540px;
        height: 422px;
        }
    .details_projet_hover{
        width: 540px;
        height: 422px;
        }
    .details_projet_hover img{
        width: 25%;
        }
    .retour > a:hover {
        background-position: -40px 0px;
        }
    
    .up{
        left: 470px;
        width: 70px;
        }
    .contact{
        font-size: 0.8em;
        position: fixed;
        bottom: 0px;
    }
    .content_contact_projet {
        width: 100vw;
    }
    .cv, .CV_GB{
    margin-bottom: 100px;
    }
}

/*   TABLETTE 2   */
@media (min-width: 412px) and (max-width: 564px){
    .logo {
        width: 397px; 
        }
   /* .langues{
        font-size: .8em;
        position: absolute;
        top: 97%;
        z-index: 10;
        position: fixed;
        }*/
    h1{
        font-size: 2.1em;
        }
    .titre_metier{ 
        font-size: 1em; 
        }
    
    .content{
        width: 370px;
        font-size: 1.1em;
        }

    .portfolio{
        display: block;
        
        }

    .creation{
        width: 370px;
        height: 288px;
        }


    .projet_hover{
        width: 370px;
        height: 288px;
        }

    .projet_hover_titre, .projet_hover_titreGB{
        font-size: 2em;
        top: 51px;
        }

    .content_projet{
        display: block;
    }

    iframe, .projet_colonne_gauche img, .projet_colonne_droite img{
        width: 370px;
        height: 289px;
        }
    .details_projet_hover{
        width: 370px;
        height: 289px;
        }
    .details_projet_hover img{
        width: 25%;
        }
    .projet_colonne_gauche{
        margin-bottom: 10px;
        }


    .content > p{
        margin-bottom: 60px;
        }
    .retour > a:hover {
        background-position: -40px 0px;
        }
    
    .up{
        left: 310px;
        width: 60px;
        top: -50px;
        }
    .contact{
        font-size: 0.8em;
        position: fixed;
        bottom: 0px;
    }
    .content_contact_projet {
        width: 100vw;
    }
    .cv, .CV_GB{
        margin-bottom: 80px;
    }
}
    
/*   TELEPHONE   */
@media (max-width: 412px){

    .logo {
        width: 100%; 
        }
    .logo-projets {
        width: 50%;
        position: absolute;
        top: 16px;

    }
    h1{
        font-size: 1.5em;
        }
    .titre_metier{ 
        font-size: 1em; 
        }
    
    .content{
        width: 220px;
        font-size: 1em;
        }
    
    .content > p {
        margin-bottom: 30px;
        }

    .portfolio{
        display: block;
        }

    .creation{
        width: 220px;
        height: 171px;
        }


    .projet_hover{
        width: 220px;
        height: 171px;
        }

    .projet_hover_titre, .projet_hover_titreGB{
        font-size: 1.5em;
        top: 47px;
        }


    .content_projet{
        display: block;
    }
    iframe, .projet_colonne_gauche img, .projet_colonne_droite img{
        width: 220px;
        height: 172px;
        }
    .details_projet_hover{
        width: 220px;
        height: 172px;
        }
    .details_projet_hover img{
        width: 25%;
        }
    .projet_colonne_gauche{
        margin-bottom: 10px;
    }


    p.retour{
        margin-bottom: 80px;
    }
    .retour > a:hover {
        background-position: -30px 0px;
        }
    
    .up{
        display: none;
        }
    .contact{
        font-size: 0.8em;
        position: fixed;
        bottom: 0px;
    }
    .content_contact_projet {
        width: 100vw;
    }
    
    .cv, .CV_GB{
        margin-bottom: 80px;
    }
    
    .cv > a:hover {
        background-position: 60px 0px;
    }
    .CV_GB > a:hover {
        background-position: 65px 0px;
    }
    .mail-tel {
        position: relative;
        left: 15px;
        text-align: left;
        font-size: 0.8em;
    }


}
/**********Fin Medias queries************/
    .footer-projets{
        top: 180px;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    





