@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: 780px auto auto;
}
.BigPicture{
	background-image: url("../images/10-loire/loire-unes-mag.png");
	grid-column: 1/7;
	grid-row: 1/2;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
/*==============  ENCADRÉ TEXTE =====================*/
.resume{
	
	grid-column: 1/7;
	grid-row: 2/3;
	display: grid;
	grid-template-columns: 170px 1fr;
	padding: 40px 0px;
 }
.resum-vignette{
	background-image: url("../images/10-loire/dico-vignette-monstre.png");
	background-size: contain;
	background-repeat: no-repeat;
	width: 170px;
	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: 0px;
	display: grid;
	/*background-color:fuchsia;*/
	grid-column: 1/7;
	grid-template-columns: repeat(6, 1fr);
	grid-row-gap: 30px;
	grid-column-gap: 60px;
	grid-template-rows: 650px 450px 650px;
}
article div{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
article div:nth-of-type(1){
	background-image: url("../images/10-loire/loire-dbles-master-1500-118.png");
	grid-column: 1/7;
	grid-row: 1/2;
	background-size: contain;
	background-repeat: no-repeat;
}
article div:nth-of-type(2){
	background-image: url("../images/10-loire/loire-couv-dbles-119.png");
	grid-column: 1/5;
	grid-row: 2/3;
	background-size: contain;
}
article div:nth-of-type(3){
	background-image: url("../images/10-loire/dico-loire.png");
	grid-column: 5/7;
	grid-row: 2/3;
	background-size: contain;
}
article div:nth-of-type(4){
	background-image: url("../images/10-loire/loire-dbles-master-122.png");
	grid-column: 1/7;
	grid-row: 3/4;
	background-size: contain;
}


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

@media only screen and (max-width: 1150px){
	.container{
	max-width: 660px;
	grid-template-rows: 450px auto auto;
	grid-column-gap: 15px;
}
	article{
	margin-top: 20px;
	grid-template-rows: 380px 300px 380px;
}
	.resume{
	margin-top: 50px;
	padding: 0px 0px;
	grid-column-gap: 10px
}
	.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;
}
	.resume{
	margin-top: 40px;
	padding: 0px 0px;
	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){
	grid-column: 1/7;
	grid-row: 1/2;
}
article div:nth-of-type(2){
	grid-column: 1/7;
	grid-row: 2/3;
}
article div:nth-of-type(3){
	grid-column: 1/7;
	grid-row: 3/4;
	background-position: center;
}
article div:nth-of-type(4){
	grid-column: 1/7;
	grid-row: 4/5;
}
	article{
	grid-template-rows: 260px 260px 200px 260px;
}
}
/*==============  450PX  ===========================*/

@media only screen and (max-width: 450px){
	.BigPicture{
	grid-column: 1/7;
	grid-row: 1/2;
	background-size: cover;
	background-position: center;
}
	.resume{
	margin-top: 20px;
	padding: 20px;
}

	.resum-text{
	grid-column: 1/3;
	grid-row: 1/3;
}

	.container{
	max-width: 350px;
	grid-template-rows: 250px auto auto;
	grid-column-gap: 5px;
}
	article{
	grid-template-rows: 430px 430px 250px 220px;
	margin-top: 10px;
}
	p{
	font-size: 0.9rem;
}
article div:nth-of-type(1){
	background-image: url("../images/10-loire/Loire-couv-118.png");
	background-size: contain;
	grid-column: 1/7;
	grid-row: 1/2;
	background-position: center;
}
article div:nth-of-type(2){
	background-image: url("../images/10-loire/119_une.png");
	background-size: contain;
	grid-column: 1/7;
	grid-row: 2/3;
}
article div:nth-of-type(3){
	grid-column: 1/7;
	grid-row: 3/4;
	background-position: center;
}
article div:nth-of-type(4){
	grid-column: 1/7;
	grid-row: 4/5;
}
}
@media only screen and (max-width: 360px){
	.container{
	max-width: 260px;
	grid-template-rows: 320px auto auto;
}
	.resume{
	margin-top: 0px;
	}
	article{
	grid-template-rows: 300px 300px 160px 160px;
	grid-row-gap: 20px;
	margin-top: 10px;
}
	.BigPicture{
		height: 300px;
}
	article div:nth-of-type(1){
	background-image: url("../images/10-loire/Loire-couv-118.png");
	grid-column: 1/6;
	grid-row: 1/2;
}
article div:nth-of-type(2){
	background-image: url("../images/10-loire/119_une.png");
	background-size: contain;
	grid-column: 1/6;
	grid-row: 2/3;
}
article div:nth-of-type(3){
	grid-column: 1/6;
	grid-row: 3/4;
}
article div:nth-of-type(4){
	grid-column: 1/6;
	grid-row: 4/5;
}
}
