-
All checks were successful
Deploy / trigger (push) Successful in 2s

This commit is contained in:
2026-05-01 12:00:48 +02:00
parent 83970f7d1e
commit f870943a22

View File

@@ -254,21 +254,30 @@ a {
}
}
.iframe-background {
position: fixed;
top: 0;
left: 0;
top: 50%;
left: 50%;
width: 100vw;
height: 100vh;
border: none;
/* Centra l'iframe prima della scalatura */
transform: translate(-50%, -50%) scale(1.5);
object-fit: cover;
z-index: -2;
pointer-events: none;
transform: scale(1.5);
transform-origin: center;
}
@media (max-width: 768px) {
.iframe-background {
/* Aumenta la scala per coprire lo schermo stretto e lungo */
transform: translate(-50%, -50%) scale(2.5);
/* Opzionale: forza una larghezza maggiore per evitare bande nere */
width: 300vw;
height: 100vh;
}
}
.title-conteiner {
position: relative;
width: 100%;