@charset "UTF-8";
*, *::before, *::after { /*pseudo element*/
	box-sizing: border-box;
}

/*==============  CONTAINER =====================*/

.container{
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 880px auto auto;
}
.BigPicture{
	background-image: url("../images/02-hdf/hdf-couv1-et-double.png");
	grid-column: 1/7;
	grid-row: 1/2;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 30px
}
/*==============  ENCADRÉ TEXTE =====================*/
.resume{
	/*background-color: aqua;*/
	grid-column: 1/7;
	grid-row: 2/3;
	display: grid;
	grid-template-columns: 120px 1fr;
	padding: 0px 20px;
	grid-column-gap: 10px;
 }
.resum-vignette{
	margin-top: 15px;
	background-image: url("../images/02-hdf/hdf-vignette.png");
	background-size: contain;
	background-repeat: no-repeat;
	width: 110px;
	grid-column: 1/2;
	grid-row: 1/3;
}
.resum-text{
	grid-column: 2/3;
	grid-row: 1/3;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.resum-text h2{
	font-size: 1.4rem;
	margin: 0px 0px 10px 0px;
}
.resum-text h3{
	font-size: 0.9em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(79,79,79,0.7);
	margin: 0px 0px 3px 0px;
}
.resum-text p{
	font-size: 1rem;
	line-height: 1.5;
	margin: 0px 0px 3px 0px;
}

/*==============  ARTICLE (portfolio) =====================*/
article{
	margin-top: 30px;
	display: grid;
	/*background-color:fuchsia;*/
	grid-column: 1/7;
	grid-template-columns: repeat(4, 1fr);
	grid-row-gap: 20px;
	grid-column-gap: 30px;
	grid-template-rows: 350px 350px 730px;
}
article div{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
article div:nth-of-type(1){
	background-image: url("../images/02-hdf/hdf-dble-edito-sommaire.png");
	grid-column: 1/3;
	grid-row: 1/2;
}
article div:nth-of-type(2){
	background-image: url("../images/02-hdf/hdf-dble1.png");
	grid-column: 3/5;
	grid-row: 1/2;
}
article div:nth-of-type(3){
	background-image: url("../images/02-hdf/hdf-dble2.png");
	grid-column: 1/3;
	grid-row: 2/3;
}
article div:nth-of-type(4){
	background-image: url("../images/02-hdf/hdf-dble-pari-fou.png");
	grid-column: 3/5;
	grid-row: 2/3;
}
article div:nth-of-type(5){
	background-image: url("../images/02-hdf/hdf-dble-camille.png");
	grid-column: 1/5;
	grid-row: 3/4;
	}

/*==============  1150PX  ===========================*/

@media only screen and (max-width: 1150px){
	.container{
	max-width: 660px;
	grid-template-rows: 570px auto auto;
	grid-column-gap: 15px;
}
	article{
	grid-template-rows: 200px 200px 450px;
}
	.resum-text h2{
	font-size: 1.3rem;
	margin: 0px 0px 8px 0px;
}
}
/*==============  680PX  ===========================*/
@media only screen and (max-width: 680px){
	header a{
	line-height: 1.5;
	text-decoration: none;
	padding: 0px 20px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: rgba(0,0,0,0.90);
	font-size: 0.8rem
}
	.container{
	max-width: 430px;
	grid-template-rows: 300px auto auto;
	grid-column-gap: 15px;
}
	.resum-vignette{
	display: none;
}
	.resum-text{
	padding-right: 0px;
	padding-left: 0px;
	grid-column: 1/3;
	grid-row: 1/3;
}
	.resum-text h2{
	font-size: 1.2rem;
}
	.resum-text p{
	line-height: 1.3;
}
	.resum-text h3{
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: 800;
	color: rgba(79,79,79,0.7);
}
	article{
	margin-top: 20px;
}
article div:nth-of-type(1){
	background-image: url("../images/02-hdf/hdf-dble-edito-sommaire.png");
	grid-column: 1/5;
	grid-row: 1/2;
}
article div:nth-of-type(2){
	background-image: url("../images/02-hdf/hdf-dble1.png");
	grid-column: 1/5;
	grid-row: 2/3;
}
article div:nth-of-type(3){
	background-image: url("../images/02-hdf/hdf-dble2.png");
	grid-column: 1/5;
	grid-row: 3/4;
}
article div:nth-of-type(4){
	background-image: url("../images/02-hdf/hdf-dble-pari-fou.png");
	grid-column: 1/5;
	grid-row: 4/5;
}
article div:nth-of-type(5){
	background-image: url("../images/02-hdf/hdf-dble-camille.png");
	grid-column: 1/5;
	grid-row: 5/6;
}

	article{
	grid-template-rows: 280px 280px 280px 280px 280px;
}
}
/*==============  450PX  ===========================*/

@media only screen and (max-width: 450px){
	.BigPicture{
	background-image: url("../images/02-hdf/hdf-couv1.png");
	grid-column: 1/7;
	grid-row: 1/2;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

	.resum-text{
	grid-column: 1/3;
	grid-row: 1/3;
}
	.container{
	max-width: 350px;
	grid-template-rows: 435px auto auto;
}
	article{
	grid-template-rows: 220px 220px 220px 220px 220px;
	grid-row-gap: 20px;
	margin-top: 20px;
}
	article div{
	background-size: contain;
	background-repeat: no-repeat;
}
	p{
	font-size: 0.9rem;
}
}
@media only screen and (max-width: 360px){
	.container{
	max-width: 260px;
	grid-template-rows: 320px auto auto;
	grid-column-gap: 5px;
}
	article{
	grid-template-rows: repeat(5, 180px);
	margin-top: 20px;
	grid-row-gap: 10px;
	
}
}
