body{
	font-family: 'Domine', serif;
	color: rgb(40,40,40);
	font-size: 18px;
	background-color: #f3f8ff;
	line-height: 1.5;
	margin: 0;
}
a{
	color: rgb(40,40,40);
	text-decoration: none;
	font-weight: 800;
}
a:hover{
	text-decoration: underline;
}
ul{
	list-style: none;
}
.container{
	margin: 20px;
}
.title{
	font-family: 'Gupter', serif;
	line-height: 1;
	font-size: 2em;
	margin: 60px 20px 0 0;
}
.title__header{
	font-size: 3em;
	margin-bottom: 10px;
}
.title__small{
	font-size: 1.5em;
	margin: 30px 20px 0 0;
}
.guide__quote{
	width: 100%;
	height: 20%;
	background-color: #F2D21D;
    display: block;
    position: relative;
    left: -20px;
    padding: 40px 20px;
    font-size: 1.3em;
    margin: 20px 0 ;
    text-align: center;
    font-style: italic;
}
.guide__quote p:before{
	content: "“ ";
}
.guide__quote p:after{
	content: " ”";
}
.list{
	list-style: disc;
	padding-left: 60px;
}
.list__big{
	list-style: decimal;
	padding-left: 20px;
}
.list__group{
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	padding: 0;
	margin: 30px 0;
}
.list__group li{
	padding: 15px;
}
.list__group img{
	width: 100px;
	height: 100px;
	border-radius: 50px;
	display: block;
	margin: 0 auto;
}
.list__group p{
	text-align: center;
}
.header__list{
	padding: 0;
	padding-top: 10vh;
	margin: 20px; 
}
.header__list--element{	
	border-bottom: 1px solid grey;
	color: white;
}
.header__list li{
	padding: 10px 0;
	cursor: pointer;
	color: white;
}
.header__list a{
	color: white;
	font-weight: 500;
}
.header__list a:hover{
	text-decoration: none;
}
.header__list li:hover{
	color: #E0C009;
}
.header__list a:hover{
	color: #E0C009;
	display: block;
}
.chapitres{
	cursor: pointer;
}
.header__list--chapitres{
	padding-left: 20px; 
}
.img{
	width: 80%;
	display: block;
	margin: 20px auto 5px auto;
}
.img__source{
	font-size: 0.7em;
	display: block;
	text-align: center;
}
.img__jason{
	width: 60%;
	display: block;
	margin: 10px auto;
}

.btn__menu{
	position: fixed;
	background-image: url(images/menubtn.png);
	height: 40px; 
	width: 40px;
	right: 20px;
	padding: 2px;
	background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
  	border: none;	
  	transform-origin: center;
  	transition: transform 0.4s ease-out;
 	will-change: transform;
 	z-index: 10;
 	cursor: pointer;
 	outline-style:none;
}

.btn__menu--open{
	background-image: url(images/menubtn__close.png);
	outline-style:none;
}

.nav{
	background-color: rgb(40,40,40);
	color: rgb(208,233,241);
	width: 70%;
	height: 100vh;
	position: fixed; 
	right: 0;
	top: 0;
	transform: translateX(100%);
  	transition: transform 0.4s ease-out;
 	will-change: transform;
 	z-index: 10;
}
.nav__open{
	transform: translateX(0);
}
.footer{
	background-color: rgb(40,40,40);
	width: 100%;
}
.footer__list{
	padding: 50px;
	margin: 0;
	text-align: center;
}
.footer__list li{
	margin: 10px auto;
}
.footer__list a{
	color: #E0C009;
}
.footer__list a:hover{
	color: white;
}
.hidden{
	display: none;
}
body[data-page="main"] #casestudy{
  display: none;
}
body[data-page="main"] main{
  display: block;
}
body[data-page="casestudy"] #casestudy{
  display: block;
}
body[data-page="casestudy"] main{
  display: none;
}
#casestudy{
	margin: 20px;
}

@media (min-device-width: 700px){
	.container{
		margin: 50px;
	}
	.img__jason {
	    width: 50%;
	}
	.guide__quote {
		left: -50px;
		padding: 40px 50px;
	}
	p{
		width: 90%;
		margin: 20px auto;
	    display: block;
	}
	.nav {
	    width: 40%;
	}
	#casestudy{
		margin: 50px;
	}
	.img__vertical{
		width: 25%;
	}
}
@media (min-device-width: 1020px){
	body{
		font-size: 22px;
	}
	.container{
		margin: 100px;
	}
	.img__jason {
	    width: 30%;
	}
	.guide__quote {
		left: -100px;
		padding: 40px 100px;
		margin: 100px 0;
	}
	p{
		width: 90%;
		margin: 30px auto;
	    display: block;
	}
	.img {
	    width: 60%;
	}
	#casestudy{
		margin: 70px;
	}
	.img__vertical{
		width: 30%;
	}
}
@media (min-width: 1400px){
	body{
		font-size: 25px;
	}
	.img__jason {
	    width: 30%;
	}
	p{
		width: 800px;
		margin: 50px;
	}
	.text__center{
		margin: 50px auto;
	}
	.img {
	    width: 600px;
	}
	.img__vertical{
		width: 25%;
	}
	.title__header{
		width: 50%;
	}
	.title--center{
		margin: 60px auto;
		width: 40%;
	}
	.title__small{
		margin: 80px 20px 0 0;
	}
	.desktop__flex{
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
		margin: 0 50px;
	}
	.img__jason {
	    width: 75%;
	}
	.list {
	    padding-left: 200px;
	    display: block;
	    margin: 50px auto;
	}
	.list__big {
	    padding-left: 300px;
	    margin-top: 100px;
	}
	.list__group img {
	    width: 300px;
	    height: 300px;
	    border-radius: 500px;
	}
	.list__group li {
	    width: 40%;
	}
	.btn__menu {
	    height: 60px;
	    width: 60px;
	}
	.nav {
	    width: 500px;
	}
	.header__list {
	    margin: 50px;
	}
}