#rally{
	background-image: url("../img/rally.jpg");
}
#online{
	background-image: url("../img/online.png");
}
#sicura{
	background-image: url("../img/disabili.jpg");
}
@media(min-width: 900px){
	.copertina{
		width: 100%;
		background-image: url("../img/copertina.jpg");
		background-position: center;
		background-size: cover;
		height: 500px;
		display: flex;
		align-items: center;
		justify-content: left;
		margin-top: 80px;
	}
	.copertina div{
		width: 35%;
		border-radius: 25px;
		margin-left: 10%;
		background-color: #fff9;
		text-align: center;
	}
	.copertina h1{
		color: #f00;
		font-family: black;
		font-size: 36px;
		margin: 0px;
	}
	.copertina label{
		font-size: 22px;
	}
	.presentazione{
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 25px 0;
	}
	.presentazione img{
		height: 250px;
		margin-right: 25px;
		border-radius: 10px;
		box-shadow: 2px 2px 5px #111;
	}
	.presentazione div{
		width: 30%;
		text-align: center;
	}
	.presentazione h2{
		font-family: italic;
		font-size: 28px;
		margin: 0;
		color: #00f;
	}
	.presentazione p{
		font-size: 22px;
		text-align: center;
	}
	.cards{
		width: 100%;
		height: 300px;
		box-shadow: 5px 5px 10px #00f;
		background: rgba(0,0,255,0.9);
		background: linear-gradient(90deg, rgba(0,0,255,0.9) 0%, rgba(32,115,182,0.9) 40%, rgba(32,115,182,0.9) 60%, rgba(0,0,255,0.9) 100%);
		display: flex;
		align-items: center;
		justify-content: space-evenly;
	}
	.cards div{
		height: 250px;
		width: 20%;
		text-align: center;
		border-radius: 10px;
		border: 2px solid #fff;
		background-size: cover;
		background-position: center;
		transition: 0.2s;
		overflow: hidden;
		cursor: pointer;
	}
	.cards div:hover{
		scale: 1.02;
	}
	.opacity{
		border: 0 !important;
		width: 100% !important;
		height: 100%;
		background-color: #8880;
		transition: 0.2s;
	}
	.opacity:hover{
		background-color: #8888;
	}
	.cards h2{
		font-family: italic;
		color: #fff;
		margin: 0;
		padding-top: 5px;
		font-size: 24px;
		text-shadow: 1px 1px black;
		display: block;
	}
	.opacity div{
		border: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: calc(100% - 40px);
	}
	.cards p{
		font-family: normal;
		font-size: 18px;
		color: #fff;
		text-shadow: 1px 1px black;
		width: 75%;
		text-align: center;
		margin: auto;
		opacity: 0;
		transition: 0.2s;
	}
	.cards div:hover p{
		opacity: 1;
	}
}
@media(max-width: 900px){
	.copertina{
		width: 100%;
		background-image: url("../img/copertina.jpg");
		background-position: center;
		background-size: cover;
		height: 500px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 80px;
	}
	.copertina div{
		width: 90%;
		border-radius: 25px;
		background-color: #fff9;
		text-align: center;
	}
	.copertina h1{
		color: #f00;
		font-family: black;
		font-size: 36px;
		margin: 0px;
	}
	.copertina label{
		font-size: 22px;
	}
	.presentazione{
		width: 100%;
		text-align: center;
		padding: 25px 0;
	}
	.presentazione img{
		height: 250px;
		border-radius: 10px;
		box-shadow: 2px 2px 5px #111;
	}
	.presentazione div{
		width: 90%;
		margin: auto;
		text-align: center;
	}
	.presentazione h2{
		font-family: italic;
		font-size: 28px;
		margin: 0;
		color: #00f;
	}
	.presentazione p{
		font-size: 22px;
		text-align: center;
	}
	.cards{
		width: 100%;
		box-shadow: 5px 5px 10px #00f;
		background: rgba(0,0,255,0.9);
		background: linear-gradient(90deg, rgba(0,0,255,0.9) 0%, rgba(32,115,182,0.9) 40%, rgba(32,115,182,0.9) 60%, rgba(0,0,255,0.9) 100%);
		padding: 15px 0;
	}
	.cards div{
		height: 250px;
		width: 90%;
		margin: auto;
		margin-top: 15px;
		text-align: center;
		border-radius: 10px;
		border: 2px solid #fff;
		background-size: cover;
		background-position: center;
		transition: 0.2s;
		overflow: hidden;
		cursor: pointer;
	}
	.cards div:hover{
		scale: 1.02;
	}
	.opacity{
		border: 0 !important;
		width: 100% !important;
		height: 100%;
		background-color: #8880;
		transition: 0.2s;
	}
	.opacity:hover{
		background-color: #8888;
	}
	.cards h2{
		font-family: italic;
		color: #fff;
		margin: 0;
		padding-top: 5px;
		font-size: 24px;
		text-shadow: 1px 1px black;
		display: block;
	}
	.opacity div{
		border: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: calc(100% - 40px);
	}
	.cards p{
		font-family: normal;
		font-size: 18px;
		color: #fff;
		text-shadow: 1px 1px black;
		width: 75%;
		text-align: center;
		margin: auto;
		opacity: 0;
		transition: 0.2s;
	}
	.cards div:hover p{
		opacity: 1;
	}
}