@charset "UTF-8";
/* CSS Document */

body{margin:0px;}

html {
  scroll-behavior: smooth;
}

:root {
  --mainColor: #F39795;
}

h1{
    font-family: 'PT Serif', serif;
    color: #F39795;
    font-size: 48px;
    text-transform: uppercase;
	padding: 133px 0 20px;
	font-weight:400;
	margin: 0;
	line-height: 0.9em;
}

.home{
	padding: 80px 0 0;

}

h2{
    font-family: 'PT Serif', serif;
    color: #F39795;
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 400;
	margin: 10px auto 0;
	line-height: 1.1em;
	transition: 1s;
}

h3{
	font-family: 'PT Serif', serif;
    color: #F39795;
    font-size: 20px;
    font-weight: 400;
	margin: 24px 0 0 20px;
}

p{
    font-family: 'PT Serif', serif;
    color: black;
    font-size: 14px;
	line-height: 1.5em;
	font-weight: 400;
	margin: 0;
}

p a {
  background:
     linear-gradient(
       to bottom, var(--mainColor) 0%,
       var(--mainColor) 100%
     );
	background-position: 0 100%;
	background-repeat: repeat-x;
	background-size: 4px 4px;
  color: #000;
  text-decoration: none;
  transition: background-size .2s;
}

/*/// BACKGROUND HOMEPAGE///*/
.parallax {
    /* The image used */
    background-image: url("../img/boroni1.jpg");

    /* Set a specific height*/
    min-height: 100vh;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/*/// MENU NAVIGATION BARRE DU HAUT ///*/
.welcome{
	font-size: 18px;
    bottom: 40px;
    left: 50%;
    z-index: 2;
	text-transform: uppercase;
	position: absolute;
    font-family: 'PT Serif', serif;
	color: white;
}

.welcome img{
	width: 40px;
	height: 40px;
	transition:1s;
}

.head{
    padding:10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    box-shadow:0 5px 0 rgba(0,0,0,0.1);
    z-index: 3;
}

.menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title{
    font-family: 'PT Serif', serif;
    color: #F39795;
    font-size: 26px;
    text-transform: uppercase;
	cursor: pointer;
	margin-left: 20px;
}

.btn{
    background-image: url("../img/btn_afficher_menu.png");
    height: 100%;
    background-size: cover;
    margin: 0;
    cursor: pointer;
	margin-right: 20px;
}

.btn_closed{
    background-image: url("../img/btn_masquer_menu.png");
    height: 100%;
    background-size: cover;
    margin: 0;
    cursor: pointer;
	margin-right: 20px;
}

input#checkbox_menu {
	display: none;
}
nav {
	display: none;
}

input#checkbox_menu:checked~nav {
	display: block;
    position: fixed;
	z-index: 1;

}
input#checkbox_menu:checked~ .welcome {
	display: none;
}

/* Bouton retour*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 10px;
  z-index: 99;
  border: none;
  outline: none;
  color: black;
  background-color: transparent;
  cursor: pointer;
  padding: 15px;
  transition: 1s;
}

#myBtn:hover {
	transform: scale(1.2);
}


/* MENU */
.menu_principal{
	height: 100vh;
	width: 100vw;
    text-align: center;
    background-color: white;
    padding: 60px 0;
	margin: 0;
	position: fixed;
	z-index: 1000;
}

.menu_principal>li{
	border-bottom: 2px solid white;
}

.menu_principal>li a{
    font-family: 'PT Serif', serif;
    color: #F39795;
	text-transform: uppercase;
	font-weight: 300;
	text-decoration: none;
    font-size: 32px;
    line-height: 4em;
	list-style: none;
}

.menu_principal>li a:active{
    color: black;
}

/*/// PAGE /// */
.container{
	max-width: 1200px;
	margin: 0 auto;
}

.container a{
	text-decoration: none;
}

/*/// PAGE PROJET ////*/
.pageproject{
	width: 100%;
	padding: 20px 0;
}

.pageproject div img{
	width: 100%;
	margin: 10px 0;
}

.pageproject div img:first-of-type{
	margin-top: 0;
}

.pageproject div p{
	padding: 0 20px 20px;
}

.pageproject div p span{
	font-weight: 700;
}

.toppage{
	display: flex;
    justify-content: space-between;
	align-items: baseline;
	margin: 0 20px;
}

.toppage span{
	font-family: 'PT Serif', serif;
    font-size: 12px;
    text-transform: uppercase;
	font-weight: 400;
	padding-bottom: 20px;
}

.toppage span a {
  background:
     linear-gradient(
       to bottom, var(--mainColor) 0%,
       var(--mainColor) 100%
     );
	background-position: 0 100%;
	background-repeat: repeat-x;
	background-size: 4px 4px;
  color: #000;
  text-decoration: none;
  transition: background-size .2s;
}

.toppage span a:hover{
	background-size: 4px 50px;
}

/*/// PROJET ///*/
.portfolio{
    width: 100%;
	margin-top:30px;
	max-width: 100vw;
    overflow: hidden;
}

.project{
	width: 100%;
	margin: 30px 0;
}

.titlezoneright, .titlezoneleft {
	padding:10px;
}

.cover1, .cover2, .cover3, .cover4, .cover5, .cover6, .cover7, .cover8, .cover9{
	width: 100%;
	height: 250px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.cover1{
	background-image:url("../img/projets/cover/Capitao_cover.jpg");
}

.cover2{
	background-image:url("../img/projets/cover/Capitao_expo_cover.jpg");
}

.cover3{
	background-image:url("../img/projets/cover/Nuit_lecture_cover.jpg");
}

.cover4{
	background-image:url("../img/projets/cover/Zigzag_cover.jpg");
}

.cover5{
	background-image:url("../img/projets/cover/Lili_cover.jpg");
}

.cover6{
	background-image:url("../img/projets/cover/Almasta_cover.jpg");
}

.cover7{
	background-image:url("../img/projets/cover/Dessins_presse_cover.jpg");
}

.cover8{
	background-image:url("../img/projets/cover/dessins_personnels_cover.jpg");
}

.cover9{
	background-image:url("../img/projets/cover/Pedra_cover.jpg");
}

.linksbottommenu{
	font-family: 'PT Serif', serif;
    color: black;
    font-size: 20px;
	line-height: 1.6em;
    text-transform: uppercase;
    font-weight: 400;
	padding: 20px 0 20px;
	margin: 0 20px;
}

.linksbottommenu span:first-of-type{
	color: #F39795;
}

.linksbottommenu span{
	color: darkgrey;
}

.linksbottommenu a{
	  background:
     linear-gradient(
       to bottom, var(--mainColor) 0%,
       var(--mainColor) 100%
     );
	background-position: 0 100%;
	background-repeat: repeat-x;
	background-size: 4px 4px;
  color: #000;
  text-decoration: none;
  transition: background-size .2s;
}

/*/// FOOTER ///*/
footer{
	background-color: #F39795;
	margin-top: 40px;
}

footer .fas{
	color: white;
}

footer div:first-of-type{
	padding: 20px 0 10px 20px;
	margin: 0;
}

footer div:last-of-type{
	padding: 10px 0 20px 20px;
}

footer div p{
	font-size: 12px;
}

footer div p a{
	color: black;
	text-decoration: none;
}

/* Turn off parallax scrolling for all tablets and phones. Increase/decrease the pixels if needed */
@media only screen and (max-device-width: 1024px) {
  .parallax {
    background-attachment: scroll;
  }
}
@media screen and (min-width: 769px){
h1{
    font-size: 68px;
	padding: 173px 0 120px;
	margin: 0;
}
	
.home{
	padding: 120px 0 0;
	}

h2{
    font-size: 46px;
}

h3{
    font-size: 24px;
}

p{
    font-size: 16px;
}

p a:hover {
  background-size: 4px 50px;
}
	
.menu_principal>li a{
        font-size: 46px;
        line-height: 3em;
    }

.menu_principal>li:hover{
	border-bottom: 2px solid #F39795;
    }
    
.welcome{
    bottom: 100px;
}
	
.welcome img:hover{
	transform: scale(1.2)
}
		
.portfolio{
	display: flex;
    flex-wrap: wrap;
    width: 100%;
	justify-content: space-between;
	margin-top:30px;
}
	
.project{
	width: 49%;
	margin:0;
	
}
	
.cover1, .cover2, .cover3, .cover4, .cover5, .cover6, .cover7, .cover8, .cover9{
	width: 100%;
	height: 400px;
	transition: 1s;
}
		
.titlezoneright h2:hover, .titlezoneleft h2:hover{
	color: black;
	}
	
/*/// PAGE PROJET ////*/
.pageproject{
	display: flex;
	width: 100%;
	padding: 20px 0;
}

.pageproject div:first-of-type{
	width: 25%;
	padding-right: 10px;
}
		
.pageproject>div>p:nth-of-type(2){
	margin-top: 16px;
	
}

.pageproject div:last-of-type{
	width: 75%;
	padding-left: 10px;
}
	
.project{
	margin: 30px 0;	
}

.pictures{
	display: flex;
	padding: 0 !important;
	width: 100% !important;
	justify-content: space-between;
	}
	
.pictures img:first-of-type{
	width: 49%;
	height: 49%;
	}
	
.pictures img:last-of-type{
	width: 49%;
	height: 49%;
	margin:0;
	}
	
.linksbottommenu{
	font-size: 24px;
	margin: 0;
	padding: 80px 0 20px;

}
	
.linksbottommenu a:hover{
	background-size: 4px 50px;
}
	
footer{
	margin-top: 120px;
	}

footer div:first-of-type{
	padding: 40px 0 20px 20px;
	margin: 0;
}

footer div:last-of-type{
	padding: 20px 0 40px 20px;
}

}
@media screen and (max-width: 1219px){
.linksbottommenu{
	margin: 0 20px;
}
	
.home{
	margin-left: 20px;
	}
}
@media screen and (min-width: 1100px){
.menu_principal>li a{
        font-size: 46px;
        line-height: 3em;
    }
    
}
@media only screen and (min-width: 1199px){
h1, h3{
	margin-left:0;
} 
.cover1, .cover2, .cover3, .cover4, .cover5, .cover6, .cover7, .cover8, .cover9{
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
	
.cover1:hover, .cover2:hover, .cover3:hover, .cover4:hover, .cover5:hover, .cover6:hover, .cover7:hover, .cover8:hover, .cover9:hover{
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
	transform: scale(1.02)
}
		
.toppage{
	margin: 0;
}
	
.pageproject div p{
	margin:0;
	padding: 0;
}
}