* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

main {
	position: relative;
	min-height: 100vh;
	width: 100vw;
	height: auto;
}

main div.page {
	position: relative;
	min-height: 100vh;
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
}

main div.page:nth-child(2) {
	background-color: #EAEAEA;
	align-items: center;
}

main div.page:nth-child(3) {
	flex-direction: row-reverse;
	text-align: left;
}

main div#copertina {
	background-image: url("../img/associazione/copertina.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

main div.page div.container {
	width: 50%;
	position: relative;
	height: auto;
	min-height: 100vh;
	text-align: left;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-top: 10%;
	padding-bottom: 10%;
}

main div.page div.container div.imageContainer {
	position: relative;
	width: 80%;
	margin: auto;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	min-height: 100vh;
	height: auto;
}

main div.page:nth-child(2) div.container:nth-child(2) div.imageContainer {
	background-image: url(../img/associazione/immagine1.jpg);
}

main div.page:nth-child(3) div.container {
	text-align: right;
}

main div.page:nth-child(3) div.container:nth-child(2) div.imageContainer {
	background-image: url(../img/associazione/immagine2.jpg);
}

main div.page div.container h1,
main div.page div.container h2 {
	position: relative;
	display: block;
	width: 90%;
	left: 10%;
	color: #E84592;
	font-family: 'GBlack';
	font-size: 55px;
	line-height: 66px;
	margin-bottom: 100px;
}

main div.page:nth-child(3) div.container h1,
main div.page:nth-child(3) div.container h2,
main div.page:nth-child(3) div.container p {
	left: 0;
}

main div.page div.container p {
	position: relative;
	display: block;
	width: 90%;
	left: 10%;
	color: #6B108B;
	font-family: 'GMedium';
	font-size: 23px;
	line-height: 31px;
	margin-bottom: 20px;
}

main div.page div.container p b {
	font-family: 'GBlack';
}


@media (max-width: 1180px) {

	main div.page {
		flex-direction: column;
	}

	main div.page div.container {
		width: 100%;
		margin: auto;
		text-align: center;
	}

	main div.page div.container:nth-child(2) {
		display: none;
	}

	main div.page div.container h1,
	main div.page div.container h2,
	main div.page div.container p {
		left: 0;
		text-align: center;
		width: 90%;
		margin: auto;
	}

	main div.page div.container p {
		margin-top: 5%;
	}
	/*main div.page {
		text-align: center;
	}

	main div.page:nth-child(3) {
		flex-direction: row;
		left: 0;
		text-align: center;
	}

	main div.page div.container {
		left: 0;
		margin: auto;
		width: 70%;
		min-width: 250px;
		text-align: justify;
		margin-bottom: 30%;
	}

	main div.page:nth-child(2) div.container {
		text-align: center;
	}

	main div.page:nth-child(3) div.container {
		text-align: center;
	}

	main div.page:nth-child(3) div.container p {
		text-align: justify;
	}

	main div.page:nth-child(2) div.container p {
		text-align: justify;
	}
}

@media (orientation: portrait) {
	main div#copertina {
		background-image: url("../img/associazione/copertinaMob.jpg");
	}

	main div.page div.container {
		top: 0;
		margin-top: 25%;
	}

	main div.page div.container p {
		font-size: 35px;
		line-height: 43px;
	}
}*/

@media (max-device-width: 600px) and (orientation: portrait) {
	main div#copertina {
		background-image: url("../img/associazione/copertinaMob.jpg");
	}
}




