/* CSS Document */

/* Background */
#homeVideo { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
#homeBG .backgroundImage{
    display: none;
	}

/* Général */
body {
	background-color:#fff;
	margin:0;
	padding: 0;
	font-family: 'neue-haas-grotesk-display', sans-serif;
	font-style: normal;
}
h1 {
	font-family: 'montserrat',sans-serif;
    font-style: normal;
}
h2 {
	font-family: 'montserrat',sans-serif;
    font-style: normal;
}
a {
	text-decoration: none;
}
.flex {
	display: flex;
}

/* Titres */
#homeTitle h1 {
	background-color:rgba(256, 256, 256, 0.8);
	height: 150px;
	position: fixed;
	bottom: 100px;
	width: 100%;
	padding-top: 50px;
	text-align: center;
    font-weight: 500;
	font-size: 5em;
}
h1 {
	color: #000;
	-webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;
}
h1:hover {
	color: #EB8C8E;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
#pageTitle h1{
	margin:0;
	top: 0px;
	right: 20px;
	height: 100%;
	text-align: center;
	position: fixed;
	writing-mode: vertical-rl;
    font-weight: 500;
	font-size: 2.5em;
	color: #000;
    -webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;	
}

/*navbar*/
#homepagenavbar #social .flex {
	flex-direction: row;
	position: fixed;
    left: 0;
	right: 0;
	bottom: 60px;
	justify-content: center;
	align-items: center;
}
#regularnavbar { 
	position: fixed;	
	z-index: 9;
}
#regularnavbar .flex {
	position: fixed;
    top: 0;
    bottom: 0;
	padding-bottom: 10px;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}
#social .flex {
	position: relative;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	margin-right: auto;
	margin-left: auto;
}

/*icônes réseau sociaux*/
.fas {
	font-size: 2.5em;
	padding: 20px;
	align-self: center;
	-webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;
}
.fas:hover {
	color: #EB8C8E;
	-ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
.fab {
	color:#000;
	font-size: 2.5em;
	padding: 10px;
	-webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;
}
.fab:hover {
	color: #EB8C8E;
	-ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
.far {
	color:#000;
	font-size: 2.5em;
	padding: 10px;
	-webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;
}
.far:hover {
	color: #EB8C8E;
	-ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;	
}
#regularnavbar .fas {
	font-size: 2em;
}
#regularnavbar .fab {
	font-size: 1.8em;
}
#regularnavbar .far {
	font-size: 1.8em;
}

/*Portfolio*/
#portfolio h2 {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 5em;	
	line-height: 1;
}
#portfolio h2 span {
	font-weight: 400;
	letter-spacing: 0.05em;
}
#posters .flex{
	flex-wrap: wrap;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	width: 70%;
}
#posters img{
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
}
.posterimage {
	position: relative;
}
.posterimage figcaption {
	margin: auto;
	padding-left: 10px;
	padding-bottom: 10px;
}

/*A propos*/
#portrait {
	display: block;
	position:fixed;
    max-width: 100%;
    height: auto;
	bottom: 40px;
	margin-left: 200px;
	left:0;
}
#demarche h2 {
	font-size: 5em;
	line-height: 1;
}
#demarche h2 span {
	font-weight: 400;
	letter-spacing: 0.095em;
}
#demarche {
	display: block;
	position: absolute;
	right: 0;
	margin-right: 300px;
	margin-top: 200px;
	margin-bottom: 40px;
	width: 30%;
}
#demarche p{
    font-size: 1.2em;
    line-height: 1.5;
	letter-spacing: 3px;
}
#cv{
    font-size: 1em;
    line-height: 1.5;
	letter-spacing: 3px;
}
#infos {
	color: #EB8C8E;
    font-size: 1.2em;
    line-height: 1.5;
	letter-spacing: 3px;
}
hr{
	width:75%;
	text-align:left;
	margin-left:0
}
#contact {
	padding-top: 20px;
}
#phone {
	padding-top: 20px;
}
#courriel a{
	color: #EB8C8E;
	-webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;
}
#courriel a:hover {
	color: #000;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
#cv a{
	font-family: 'neue-haas-grotesk-display', sans-serif;
    font-style: normal;
    font-weight: 500;
	color:#000;
	font-size: 1.2em;
	padding: 10px;
	-webkit-transition: 0.7s;
	-moz-transition: 0.7s;
	-o-transition: 0.7s;
	transition: 0.7s;
}
#cv a:hover {
	color: #EB8C8E;
	-ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

/* The Overlay (background) */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(255,255,255, 0.9);
  overflow-x: hidden; 
  transition: 0.7s;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; 
  width: 100%; 
  text-align: center; 
  margin-top: 30px;
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 5em;
  color: #EB8C8E;
  display: block;
  transition: 0.3s;
}

/* Mouse over*/
.overlay a:hover, .overlay a:focus {
  color: #8D8D8D;
}

/* button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* media queries */
@media (min-aspect-ratio: 16/9) {
	#homeVideo {
		width: 100%;
		height: auto;
	}
}
@media (max-aspect-ratio: 16/9) {
	#homeVideo {
		width: auto;
		height: 100%;
	}
}
@media screen and (max-width: 1500px){
    #posters .flex{
        width: 80%;
    }
	#portrait {
        margin-left: 180px;
    }
	#demarche h2 {
        font-size: 4em;
        line-height: 1;
    }
    #demarche h2 span {
        font-weight: 400;
        letter-spacing: 0.1em;
    }
    #demarche {
        margin-right: 200px;
        margin-top: 200px;
        width: 30%;
    }
}
@media screen and (max-width: 1200px){
	#homeTitle h1 {
        font-size: 4em;
    }
	.overlay a {
        font-size: 4em;
	}
	.fas {
		font-size: 2.5em;
	}
    #posters .flex{
        width: 85%;
    }
    #portrait {
		width: 35%;
        display: block;
        position:static;
		margin-left: auto;
		margin-right: auto;
		margin-top: 60px;
    }
	#portrait img{
		width: 100%;
		max-width: 100%;
        height: auto;
	}
    #demarche h2 {
        display: none;
		font-size: 3em;
        text-align: center;
    }
    #demarche {
        display: block;
        position: static;
        margin-right: auto;
        margin-top: auto;
		padding-top: 60px;
        width: 100%;
    }
	#demarche p{
		width: 70%;
		margin-left: auto;
		margin-right: auto;
		font-size: 1.1em;
        line-height: 1.5;
        letter-spacing: 2.5px;
	}
    #demarche #cv{
        width: 70%;
        margin-left: auto;
        margin-right: auto;
		font-size: 0.9em;
		letter-spacing: 2.5px;
	}
    #demarche #infos {
		width: 70%;
		margin-left: auto;
		margin-right: auto;
		font-size: 1.1em;
        line-height: 1.5;
        letter-spacing: 2.5px;
	}
}
@media screen and (max-width: 960px){
	#homeTitle h1 {
        font-size: 3em;
    }
	.overlay a {
        font-size: 3em;
	}
	.fas {
		font-size: 2.5em;
	}
    .fab {
        font-size: 2em;
    }
    .far {
        font-size: 2em;
    }
	#about .flex {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }
	#portrait {
		margin-left: auto;
		margin-right: auto;
	}
	.column50 {
		width: 80%;
	}
    #demarche {
		padding-top: 30px;
	}
	#demarche p{
		font-size: 1.1em;
        line-height: 1.5;
        letter-spacing: 2.5px;
	}
    #demarche #cv{
		font-size: 0.9em;
		letter-spacing: 2.5px;
	}
    #demarche #infos {
		font-size: 1.1em;
        line-height: 1.5;
        letter-spacing: 2.5px;
	}
}
@media screen and (max-width: 620px){
    #homeVideo {
        display: none;
    }
	#homeBG .backgroundImage {
		display: contents;
	}
    .overlay a {
        font-size: 2.5em;
    }
    .fas {
        font-size: 2em;
    }
    .fab {
        font-size: 1.3em;
    }
    .far {
        font-size: 1.3em;
    }
    #homeTitle h1 {
        background-color:rgba(256, 256, 256);
		font-size: 2em;
		font-weight: 700;
		height: 120px;
		padding-top: 40px;
		bottom: 0;
    }
	#homepagenavbar #social .flex{
        bottom: 50px;
    }
    #pageTitle h1{
		display: none;
    }
    #posters .flex{
		flex-wrap: wrap;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 60px;
        margin-bottom: 60px;
        width: 70%;
    }
	#posters {
		z-index: -2;
	}
	#regularnavbar .column50Vertical {
		background-color: rgba(255,255,255,0.5);
		width: 50%;
		height: auto;
    }
    #regularnavbar .flex {
		position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        flex-direction: row;
    }
    #regularnavbar #social .flex {
		position: relative;
        left: 0;
		width: 100%;
		top: 0;
		padding-top: 15px;
		padding-bottom: 15px;
        flex-direction: row;
		z-index: 1;
    }
	#regularnavbar .fas {
		font-size: 1.8em;
	}
	#regularnavbar .fab {
		font-size: 1.2em;
	}
	#regularnavbar .far {
		font-size: 1.2em;
	}
    #about .flex {
        margin-top: 50px;
    }
    h2 {
		font-size: 1.1em;
	}
	#portrait {
		margin-top: 80px;
	}
    #demarche {
		padding-top: 20px;
	}
	#demarche p{
		font-size: 1em;
	}
    #demarche #cv{
		font-size: 0.9em;
	}
    #demarche #infos {
		font-size: 1em;
	}
	#portrait figcaption {
		font-size: 0.8em;
	}
}
@media screen and (max-width: 500px) {
	.overlay a {
        font-size: 2.5em;
    }
    .fas {
        font-size: 2em;
    }
    .fab {
        font-size: 1.2em;
    }
    .far {
        font-size: 1.2em;
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
	#homeTitle h1 {
		font-size: 1.5em;
	}
    #demarche {
		padding-top: 40px;
	}
	#demarche p{
		font-size: 0.9em;
	}
    #demarche #cv{
		font-size: 0.8em;
	}
    #demarche #infos {
		font-size: 0.9em;
	}
    #demarche #longtexte p{
		display: none;
	}
	#portrait {
		margin-top: 120px;
	}
}