
.main-container{
	width:100%;
	background-image: url("backgd-larger.png");
	background-repeat: repeat;
	min-height: 100vh;
}
.main{
	padding:5%;
}


.flex-header{
	background-color:white;
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding-left:15px;
	padding-right:15px;
}

.flex-header .flex-logo img{
	height:60px;
}
.flex-links{
	display:flex;
}
.flex-header .flex-nav, .flex-header .flex-social{
	display:flex;
	flex-direction: row;
}
.flex-nav > div{
	margin:0px 10px 0px 10px;
}

.flex-header a{
	text-decoration:none;
}
.flex-header a.fa{
	font-size:20px;
}
.flex-social > div{
	width:30px;
	height:30px;
	display:flex;
	align-items: center;
	justify-content: center;
}
.flex-nav > div{
	text-transform: uppercase;
	font-weight:bold;
	font-size: 12pt;
	height:30px;
	line-height: 30px;
	vertical-align: middle;
	/*transition: all 0.2s ease-in-out;*/
}

.flex-social-home > div{
	display: inline-block;
}

.flex-social-contact{
	max-width: 500px;
    margin-right: 30%;
    margin-left: 30%;
}

.flex-social-contact a, .flex-social-home a{
	padding:20px;
	font-size: 30px;
	text-decoration: none;
}
.flex-social-contact a span.social-text{
	font-family: 'Muli', sans-serif;
}

.flex-social div:hover a, .flex-social-contact div:hover a, .flex-social-home div:hover a{
	color: white;
}

.flex-social .div-facebook a, .flex-social-contact .div-facebook a, .flex-social-home .div-facebook a{
	color: #3b5999;
}
.flex-social .div-facebook:hover, .flex-social-contact .div-facebook:hover, .flex-social-home .div-facebook:hover{
	background-color: #3b5999;
}
.flex-social .div-twitter a, .flex-social-contact .div-twitter a, .flex-social-home .div-twitter a{
	color: #55acee;
}
.flex-social .div-twitter:hover, .flex-social-contact .div-twitter:hover, .flex-social-home .div-twitter:hover{
	background-color: #55acee;
}
.flex-social .div-instagram a, .flex-social-contact .div-instagram a, .flex-social-home .div-instagram a{
	color: #e4405f;
}
.flex-social .div-instagram:hover, .flex-social-contact .div-instagram:hover, .flex-social-home .div-instagram:hover{
	background-color: #e4405f;
}
.flex-social .div-courriel a{
	color: #404248;
}
.flex-social .div-courriel:hover{
	background-color: #404248;
}

/* HOVER */
.flex-nav > div a{
	color:black;
	-webkit-transition: color 0.4s ease;
	transition: color 0.4s ease;
	position:relative;
}
.flex-nav > div:hover{
	cursor:pointer;
}

.flex-nav > div a:after{
	content: "";
	height: 3px;
	width:0;
	position:absolute;
	left: 50%;
	bottom: -5px;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
		transform: translateX(-50%);
	-webkit-transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) width;
		transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) width;
}

.flex-nav > div.active-page a:after{
	content: "";
	height: 3px;
	width:100%;
}

.flex-nav > div:nth-child(1) a:after, .flex-nav > div.active-page:nth-child(1) a:after{
	background-color: #856688;
}
.flex-nav > div:nth-child(1) a:hover, .flex-nav > div.active-page:nth-child(1) a{
	color: #856688;
}
.flex-nav > div:nth-child(2) a:after, .flex-nav > div.active-page:nth-child(2) a:after{
	background-color: #b24041;
}
.flex-nav > div:nth-child(2) a:hover, .flex-nav > div.active-page:nth-child(2) a{
	color: #b24041;
}

.flex-nav > div:nth-child(3) a:after, .flex-nav > div.active-page:nth-child(3) a:after{
	background-color: #599964;
}
.flex-nav > div:nth-child(3) a:hover, .flex-nav > div.active-page:nth-child(3) a{
	color: #599964;
}

.flex-nav > div:nth-child(4) a:after, .flex-nav > div.active-page:nth-child(4) a:after{
	background-color: #bf8a5a;
}
.flex-nav > div:nth-child(4) a:hover, .flex-nav > div.active-page:nth-child(4) a{
	color: #bf8a5a;
}

.flex-nav > div:nth-child(5) a:after, .flex-nav > div.active-page:nth-child(5) a:after{
	background-color: #547d9a;
}
.flex-nav > div:nth-child(5) a:hover, .flex-nav > div.active-page:nth-child(5) a{
	color: #547d9a;
}

.flex-nav > div:nth-child(6) a:after, .flex-nav > div.active-page:nth-child(6) a:after{
	background-color: #82753f;
}
.flex-nav > div:nth-child(6) a:hover, .flex-nav > div.active-page:nth-child(6) a{
	color: #82753f;
}


.flex-nav > div a:hover:after {
	width: 100%;
}

/* HAMBURGER */

.menu-button-container {
	display:none;
	height: 100%;
	width:30px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items:center;
}
#menu-toggle {
	display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
	display: block;
	background-color: #404248;
	position: absolute;
	height: 4px;
	width: 30px;
	transition: -webkit-transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
	transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
	transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
	border-radius: 2px;
}

.menu-button::before {
	content: '';
	margin-top: -8px;
}

.menu-button::after {
	content: '';
	margin-top: 8px;
}
#menu-toggle{
	display: none;
}

/* Anim menu */
#menu-toggle:checked + .menu-button-container .menu-button::before {
	margin-top: 0px;
	-webkit-transform: rotate(405deg);
		transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
	margin-top: 0px;
	-webkit-transform: rotate(-405deg);
			transform: rotate(-405deg);
}

*{
	box-sizing: border-box;
}

@media (max-width: 900px){

	.header .menu-button-container{
		display:flex;
	}
	.header .flex-links{
		position:absolute;
		top:0;
		right:0;
		margin-top: 60px;
		
		justify-content: center;
		align-items: center;
		background-color:white;
	}

	.header .flex-links .flex-nav{
		flex-direction: column;
	}
	.header .flex-social{
		justify-content: center;
		align-items: center;
	}
	.header #menu-toggle ~ .flex-links{
		display:none;
	}
	.header #menu-toggle:checked ~ .flex-links{
		display:block;
	}
	.header .flex-links .flex-nav div, .header .flex-links .flex-social{
		padding-bottom:3px;
		padding-top:3px;
		padding-left:40px;
		padding-right:40px;
		margin:0;
		background-color: #EEE;
	}

	.header .flex-links .flex-nav div:not(:last-child) {
		border-bottom: 1px solid #444;
	}
}


/* FOOTER */

.footer {
	display:flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.footer a{
	color:white;
	text-decoration: none;
}
.footer a:hover{
	color:white;
	text-decoration: underline;
}