/* gallery styling */ 
section {
	border: none;
	height: 50vh;
}

/* header gallery styling */
.heading {
	position: relative;
	width: 100%;
	overflow-x: hidden;
	top: 150px;
	height: 150px;
	border-bottom: 2px solid var(--mygold);
	margin-bottom: 200px;
}

.heading h1 {
	color: white;
	text-align: center;
	font-family: atrament-web, sans-serif;
	font-weight: 600;
	font-style: italic;
	letter-spacing: 27px;
	line-height: 78px;
	font-size: 83px;
}

/* section gallery styling */
.gallery {
	position: relative;
	min-height: 80vh;
	height: auto;
}

.gallery .max-width .title {
	font-family: great-vibes, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 98px;
	line-height: 117px;

}

.gallery .max-width h3 {
	font-family: atrament-web, sans-serif;
	font-weight: 300;
	font-style: italic;
	height: 48px;
	line-height: 87px;
}

.gallery .max-width .gallery-content {
	margin-top: 100px;
	height: 70vh;
	width: 100%;
	display: grid;
	grid-template-row: repeat(2, 1fr);
}

/* section tartare styling */

#tartare .max-width .gallery-content .fig1 {
	grid-row-start: 1;
	grid-row-end: 3;
	background-image: url(../img/gallery/tartare/tar_desk.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#tartare .max-width .gallery-content .fig2 {
	display: none;
}

/* section gamberi styling */

#gamberi .max-width .gallery-content .fig1 {
	grid-row-start: 1;
	grid-row-end: 3;
	background-image: url(../img/gallery/gamberi/gamb_desk.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#gamberi .max-width .gallery-content .fig2 {
	display: none;
}

/* section lumache styling */

#lumache .max-width .gallery-content .fig1 {
	grid-row-start: 1;
	grid-row-end: 3;
	background-image: url(../img/gallery/lumache/lum_desk.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#lumache .max-width .gallery-content .fig2 {
	display: none;
}

/* section filetto styling */

#manzo .max-width .gallery-content .fig1 {
	grid-row-start: 1;
	grid-row-end: 3;
	background-image: url(../img/gallery/manzo/fil_desk.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#manzo .max-width .gallery-content .fig2 {
	display: none;
}

/* section pastiera styling */

#pastiera .max-width .gallery-content .fig1 {
	grid-row-start: 1;
	grid-row-end: 3;
	background-image: url(../img/gallery/pastiera/past_desk.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#pastiera .max-width .gallery-content .fig2 {
	display: none;
}

/* design reattivo desktop */
@media (max-width: 1000px) {

	/* section gallery styling */

	.gallery .max-width .gallery-content {
		margin-top: 175px;
		height: 140vh;
		grid-gap: 20px;
	}

	/* section tartare styling */

	#tartare .max-width .gallery-content .fig1 {
		grid-row-start: 1;
		grid-row-end: 2;
		background-image: url(../img/gallery/tartare/tar_desk1.png);
	}

	#tartare .max-width .gallery-content .fig2 {
		display: block;
		grid-row-start: 2;
		grid-row-end: 3;
		background-image: url(../img/gallery/tartare/tar_desk2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}

	/* section gamberi styling */

	#gamberi .max-width .gallery-content .fig1 {
		grid-row-start: 1;
		grid-row-end: 2;
		background-image: url(../img/gallery/gamberi/gamb_desk1.png);
	}

	#gamberi .max-width .gallery-content .fig2 {
		display: block;
		grid-row-start: 2;
		grid-row-end: 3;
		background-image: url(../img/gallery/gamberi/gamb_desk2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}

	/* section lumache styling */

	#lumache .max-width .gallery-content .fig1 {
		grid-row-start: 1;
		grid-row-end: 2;
		background-image: url(../img/gallery/lumache/lum_desk1.png);
	}

	#lumache .max-width .gallery-content .fig2 {
		display: block;
		grid-row-start: 2;
		grid-row-end: 3;
		background-image: url(../img/gallery/lumache/lum_desk2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}

	/* section filetto styling */

	#manzo .max-width .gallery-content .fig1 {
		grid-row-start: 1;
		grid-row-end: 2;
		background-image: url(../img/gallery/manzo/fil_desk1.png);
		
	}

	#manzo .max-width .gallery-content .fig2 {
		display: block;
		grid-row-start: 2;
		grid-row-end: 3;
		background-image: url(../img/gallery/manzo/fil_desk2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}

	/* section pastiera styling */

	#pastiera .max-width .gallery-content .fig1 {
		grid-row-start: 1;
		grid-row-end: 2;
		background-image: url(../img/gallery/pastiera/past_desk1.png);
	}

	#pastiera .max-width .gallery-content .fig2 {
		display: block;
		grid-row-start: 2;
		grid-row-end: 3;
		background-image: url(../img/gallery/pastiera/past_desk2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	}


}

/* Per iPhone portrait*/
@media only screen
    and (max-device-width: 980px)
    and (min-device-height:  480px)
    and (orientation:portrait) {

    	.heading {
    		height: 100px;
    		margin-bottom: 125px;
    	}

    	.heading h1 {
    		letter-spacing: 17px;
			line-height: 58px;
			font-size: 63px;
    	}

    	.gallery .max-width .title {
			font-size: 78px;
			line-height: 97px;
		}

		.gallery .max-width h3 {
			height: 100px;
			line-height: 67px;
		}

    	/* section tartare styling */

		#tartare .max-width .gallery-content .fig1 {
			grid-column-start: 1;
			grid-column-end: 3;
			background-image: url(../img/gallery/tartare/tar_mob.png);
			background-size: cover;
		}

		#tartare .max-width .gallery-content .fig2 {
			display: none;
		}

		#tartare .max-width h3 {
			height: 150px;
		}

		/* section gamberi styling */

		#gamberi .max-width .gallery-content .fig1 {
			grid-column-start: 1;
			grid-column-end: 3;
			background-image: url(../img/gallery/gamberi/gamb_mob.png);
			background-size: cover;
		}

		#gamberi .max-width .gallery-content .fig2 {
			display: none;
		}

		/* section lumache styling */

		#lumache .max-width .gallery-content .fig1 {
			grid-column-start: 1;
			grid-column-end: 3;
			background-image: url(../img/gallery/lumache/lum_mob.png);
			background-size: cover;
		}

		#lumache .max-width .gallery-content .fig2 {
			display: none;
		}

		/* section filetto styling */

		#manzo .max-width .gallery-content .fig1 {
			grid-column-start: 1;
			grid-column-end: 3;
			background-image: url(../img/gallery/manzo/fil_mob.png);
			background-size: cover;
		}

		#manzo .max-width .gallery-content .fig2 {
			display: none;
		}

		#manzo .max-width h3 {
			height: 225px;
		}

		/* section pastiera styling */

		#pastiera .max-width .gallery-content .fig1 {
			grid-column-start: 1;
			grid-column-end: 3;
			background-image: url(../img/gallery/pastiera/past_mob.png);
			background-size: cover;
		}

		#pastiera .max-width .gallery-content .fig2 {
			display: none;
		}

    }

/* Per iPhone landscape*/
@media screen
    and (max-height:  480px)
    and (orientation:landscape) {

    	/* section tartare styling */

    	#tartare .max-width h3 {
			height: 100px;
		}

		/* section lumache styling */

		#lumache .max-width h3 {
			height: 125px;
		}

		/* section filetto styling */

		#manzo .max-width h3 {
			height: 225px;
		}

		/* section pastiera styling */

		#pastiera .max-width h3 {
			height: 125px;
		}

    }

/* Per iPad portrait*/
@media only screen
    and (min-device-width : 768px)
    and (max-device-width : 1024px)
    and (orientation:portrait) {

    	/* section tartare styling */

    	#tartare .max-width .gallery-content .fig1 {
			background-size: contain;
    	}

    	#tartare .max-width h3 {
			height: 100px;
		}

    	/* section gamberi styling */

		#gamberi .max-width .gallery-content .fig1 {
			background-size: contain;
		}

		/* section lumache styling */

		#lumache .max-width .gallery-content .fig1 {
			background-size: contain;
		}

		/* section filetto styling */

		#manzo .max-width .gallery-content .fig1 {
			background-size: contain;
		}

		#manzo .max-width h3 {
			height: 150px;
		}

		/* section pastiera styling */

		#pastiera .max-width .gallery-content .fig1 {
			background-size: contain;
		}

    }

/* Per iPad lanscape*/
@media only screen
    and (min-device-width : 768px)
    and (max-device-width : 1024px)
    and (orientation:landscape) {

    	#manzo .max-width h3 {
			height: 150px;
		}
    }