body{
	margin: 0;
}

/********** Smartphone **********/

.main{
	background-color: #FDF8F4;
	margin: 3vh;
	padding: 3vh;
	display: flex;
	flex-direction: column;
}

.img-flex{
	width: 80%;
}

h1{
	font-size: 8vh;
	color: #F26F32;
	margin: 1vh 0;
	margin-top: 6vh;
	font-family: 'Roboto';
}

.trait{
	border-bottom: 1.5vh solid #F26F32;
    width: 10vh;
    margin: 2vh 0;
}

h2{
	font-family: 'Roboto';
	font-weight: normal;
	font-size: 3.5vh;
	margin: 5vh 0;
}

p{
	margin-top: 5vh;
	font-family: 'Roboto';
	color: #4A4A4A;
}

.img-pres{
	width: 47vh;
}

.button{
	display: block;
	width: fit-content;
	background-color: #1F43FF;
	color: white;
	font-family: 'Roboto';
	font-weight: bold;
	font-size: 2.5vh;
	text-decoration: none;
	padding: 3vh 6vh;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
    border-radius: 0.5vh;
    transition: all 0.5s ease;
}

.button:hover{
	opacity: 0.5;
	transition: all 0.5s ease;
	transform: translatey(-10px);
}

.project-content{
	text-align: center;
	margin: 2.5vh;
	margin-bottom: 10vh;
}

.center{
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.project{
	display: inline-block;
	margin-top: 6vh;
	margin-bottom: 6vh;
	position: relative;
}

.img-project{
	display: block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	transition: all 0.5s ease;
}

.project:hover .img-project{
	opacity: 0.2;
	transition: all 0.5s ease;
	transform: translatey(-10px);
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
}

.project:hover .overlay {
  opacity: 1;
}

.text {
  font-family: 'Roboto';
  font-weight: bold;
  font-size: 4vh;
  color: #1F43FF;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.presentation{
	background-color: #FDF8F4;
	margin: 3vh;
	padding: 3vh;
}

.social-media{
	text-align: center;
}

.fa {
  padding: 18px;
  margin: 2vh;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  background: #1F43FF;
  color: white;
  border-radius: 0.5vh;
  transition: all 0.5s ease;
}

.fa:hover{
	opacity: 0.5;
	transition: all 0.5s ease;
	transform: translatey(-10px);
}



/********** Smartphone Landscape **********/

@media (orientation: landscape) and (max-width: 768px) {

.main{
	margin: 5vh;
	flex-direction: row;
	padding: 5vh;
}

.pres{
	flex: 1;
}

.pres .button{
	margin-top: 0;
	margin-left: initial;
	font-size: 4vh;
	padding: 4vh 8vh;
}

.img{
	flex: 1;
	align-self: center;
}

.img-flex{
	display: block;
	margin: auto;
}

h1{
	font-size: 12vh;
}

h2{
	font-size: 6vh;
}

.button{
	margin-top: 10vh;
	font-size: 4vh;
	padding: 4vh 8vh;
}

.project-content{
	margin: 5vh;
	text-align: center;
}

.project{
	margin: 5vh 8vh;
}

.img-project{
	width: 60vh;
	display: inline-block;
}

.presentation{
	margin: 5vh;
	padding: 5vh;
}

.presentation>p{
	text-align: center;
}

}




/********** Tablette **********/

@media (min-width: 768px) and (max-width: 1280px) {

.img-flex{
	display: block;
	margin: auto;
}

.project-content{
	margin: 5vh 3vh;
}

.project{
	display: block;
}

.button{
	font-size: 2vh;
}

.presentation>p{
	text-align: center;
	font-size: 2.5vh;
}

}


/********** Tablette Landscape **********/

@media (min-width: 768px) and (max-width: 1280px) and (orientation: landscape){

.main{
	height: 75vh;
	margin: 5vh;
	flex-direction: row;
}

.pres{
	flex: 1;
}

.pres .button{
	margin-left: 0;
	font-size: 3vh;
}

.img{
	flex: 1;
}

.button{
	margin: 5vh auto 8vh;
}

.project-content{
	margin: 5vh;
	text-align: center;
}

.project{
	display: inline-block;
    margin: 5vh;
}

.presentation{
	margin: 5vh;
}

.presentation>p{
	width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

}



/********** Desktop **********/

@media (min-width: 1280px) {

.main{
	margin: 6vh;
	height: 73vh;
	flex-direction: row;
}

.pres{
	flex: 1.5;
}

.pres .button{
	margin-left: 0;
}

.img{
	flex: 1;
}

h1{
	font-size: 8vh;
}

h2{
	font-size: 4vh;
}

.project-content{
	margin: 10vh 6vh;
	text-align: center;
}

.img-project{
	width: 55vh;
	margin: 5vh 9vh;
}

.button{
	margin-left: auto;
	font-size: 2.2vh;
	padding: 2.5vh 5vh;
}

.presentation{
	margin: 6vh;
}

.presentation>p{
	text-align: center;
    font-size: 3vh;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

}






