.mtop500 {
	margin-top: 500px;
}

/*______________________________________________ Immagine*/
.immagine {
	justify-content: center;
	align-items: center;
	width: 100%;
	position: sticky;
	display: flex;
	height: 100%;
	background-attachment: fixed;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: -1;
	border: 1px solid #000000;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

.scroll {
	z-index: 2;
	margin-top: 200px;
	position: absolute;
	transform: translateY(-50%);
	color: white;
	padding: 20px 17px;
	height: 20px;
	border-radius: 50%;
	cursor: pointer;
	justify-content: center;
}

#scroll-left {
	left: 20px;
	top: 10%;
}

#scroll-right {
	right: 20px;
	top: 10%;
}

#scroll-left:hover,
#scroll-right:hover {

	color: rgb(58, 58, 58);

}

#scroll-left:active,
#scroll-right:active {
	transform: translateY(-50%) scale(0.95);
}

#carousel-img {
	width: 99%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	transition: opacity 0.5s ease-in-out, filter 1s, transform 1s;
	opacity: 1;
}

/*______________________________________________ Informazioni */
.informazioni {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 35vh;
	margin: auto 10px;
	text-decoration: none !important;
	margin-bottom: 35px;
}

.informazioni .info1 {
	font-size: 1.2em;
	color: #000000;
	margin: auto 10px;
	margin-bottom: 20px;
	padding: 20px;
	background-color: var(--white);
	width: 100%;
}

.informazioni #News {
	justify-content: center;
	text-align: center;
}

/*______________________________________________ Recent news scoll */
.newsscroll-container {
	width: 90%;
	margin: 5px auto;
	overflow: hidden;
	background-color: #fff;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	height: 50px;
	display: flex;
	align-items: center;
	position: relative;
	top: 70px;
	margin: 10px auto;
	border-radius: 15px;
	border: none;
	height: 40px;
}

.newsscroll-containerLogo {
	margin-top: 16rem;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
	height: fit-content;
	padding: 5px;
}

.newsscroll-content {
	display: flex;
	gap: 35px;
	white-space: nowrap;
	padding-left: 100%;
	animation: scroll-left 25s linear infinite;
}

.newsscroll-container:hover .newsscroll-content {
	animation-play-state: paused;
}

.newsscroll-containerLogo:hover .newsscroll-content {
	animation-play-state: paused;
}

@media all and (max-width: 610px) {
	.newsscroll-container {
		width: 95%;
		margin: 5px auto;
	}
}

.newsscroll-text {
	display: inline-block;
	font-size: 1.125rem;
	color: #7e0101;
}

.newsscroll-text::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	/* background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.356) 50%, rgba(255, 255, 255, 0) 100%); */
	transform: skewX(-20deg);
	animation: shine 3s infinite;
}

@keyframes shine {
	0% {
		left: -75%;
	}

	100% {
		left: 125%;
	}
}

@keyframes scroll-left {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

/* image fill the height of the div */
.image-container {
	height: 100px;
}

.image-container img {
	height: 100%;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.image-container a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-width: 150px;
}

.image-container .logo-with-bg {
	background-color: #23506a;
	padding: 4px;
	border-radius: 4px;
}

/*______________________________________________ */
@media screen and (min-width: 370px) and (max-width: 736px) {
	.container-bg:before {
		background-image: url('../images/due-tower.jpg');
		background-size: cover;
		background-position: center;
	}
}

.header-card,
.body-card,
.footer-card {
	max-width: 250px;
	align-items: center;
	text-align: center;
}

.textCME {
	width: 97vw;
	margin-top: 60px;
	display: block;
	justify-content: center;
	position: absolute;
	text-align: center;

}

.textCME .testo {
	margin: 0;
	font-size: clamp(18px, 5vw, 50px);
	z-index: 10;
	width: 100%;
	text-align: center;
	font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	text-shadow: 1px 1px 10px black;
	color: var(--white);
	font-weight: bolder;
}

.newsscroll-content a {
	text-decoration: none;
	color: #000000;
	text-transform: uppercase;
}

/* _____________ PROVA */
.glass {
	background: rgba(255, 255, 255, 0.39);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	padding-top: 10px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	color: #fff;
	padding: 16px 20px;
}

@media (prefers-color-scheme: dark) {
	.glass {
		background: rgba(22, 22, 24, 0.55);
		border-color: rgba(255, 255, 255, 0.18);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	}
}

/* Fallback se il browser NON supporta backdrop-filter */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
	.glass {
		background: rgba(255, 255, 255, 0.85);
		/* più opaco per leggibilità */
	}
}
