/* Stile dell'overlay che copre lo schermo */
#anniversary-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 10, 10, 1.0);
	z-index: 10020;
	/* Si assicura che stia sopra a tutto */
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: opacity 1s ease-out;
	/* Effetto dissolvenza in uscita */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}

/* Stile per il numero 35 */
.anniversary-number {
	font-size: 148px;
	font-weight: 300;
	text-align: center;
	line-height: 0.9;
	margin: 0;
	/* Effetto testo dorato */
	background: linear-gradient(to bottom, #f6d365 0%, #ffb347 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 10px 20px rgba(255, 179, 71, 0.3));
	/* Animazione di "comparsa esplosiva" */
	transform: scale(0.5);
	opacity: 0;
	animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.anniversary-number span {
	display:block;
	font-size: 16px;
}

/* Stile per il testo sotto al numero */
.anniversary-text-overlay {
	color: #f6d365;
	font-size: 16px;
	font-weight: 300;
	text-align: center;
	padding-top: 16px;
	line-height: 1.4;
	opacity: 0;
	animation: fadeIn 1s ease forwards 0.5s;
}

/* Animazioni CSS */
@keyframes popIn {
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.logoOverlay {
	position: fixed;
	top: 16px;
	left: 16px;
	border-radius: 50%;
    z-index: 10030;
	width: 84px;
	height: 84px;
}


/* -----------------------------------
Galaxy Fold
------------------------------------ */
@media only screen and (max-width: 280px){

	.anniversary-number {
		font-size: 128px;
	}

	.anniversary-number span {
		font-size: 12px;
	}

	.anniversary-text-overlay {
		font-size: 12px;
		padding-top: 12px;
	}

}


/* -----------------------------------
TABLETS PORTRAIT
------------------------------------ */
@media only screen and (min-width: 768px) {

	.anniversary-number {
		font-size: 192px;
	}

	.anniversary-number span {
		font-size: 20px;
	}

	.anniversary-text-overlay {
		font-size: 20px;
		padding-top: 20px;
	}

	.logoOverlay {
		top: 16px;
		left: 16px;
		width: 144px;
		height: 144px;
	}
}

/* -----------------------------------
IPAD LANDSCAPE + NETBOOK
------------------------------------ */
@media only screen and (min-width: 1024px) {

	.logoOverlay {
		left: 32px;
	}
}

@media only screen and (min-width: 1200px) and (min-height: 712px) {

	.logoOverlay {
		top: 32px;
		left: 32px;
	}
}