Switch ON
the motor of innovation
your partner in the design and development of electric motors
/* Contenitore Full Screen e Full Width */
.hero-full-video {
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: #000;
}
/* Video Background */
.bg-video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 1;
transform: translate(-50%, -50%);
object-fit: cover;
}
/* Overlay centrato */
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
display: flex;
align-items: center; /* Centra verticalmente */
justify-content: center; /* Centra orizzontalmente */
box-sizing: border-box;
background: rgba(0,0,0,0.25); /* Filtro per far risaltare il bianco */
}
.center-content {
width: 100%;
max-width: 1100px;
padding: 0 20px;
box-sizing: border-box;
text-align: center; /* Allineamento testo al centro */
}
/* Titolo Principale - GRANDE, BOLD con OMBRA RINFORZATA */
.hero-h1 {
color: #ffffff !important;
font-size: clamp(50px, 7vw, 90px);
font-weight: 700;
line-height: 1;
margin: 0 auto 20px auto;
letter-spacing: -1px;
/* Ombra più definita e spostata verso il basso per profondità */
text-shadow: 0px 5px 15px rgba(0,0,0,0.7);
}
/* Sottotitolo - PICCOLO E LEGGERO */
.hero-h2 {
color: #ffffff !important;
font-size: clamp(18px, 1.8vw, 22px);
font-weight: 500;
line-height: 1.5;
margin: 0 auto;
max-width: 800px; /* Evita che il testo si allarghi troppo */
text-transform: none;
opacity: 0.9;
position: relative;
display: block;
}
/* Linea Verde sotto H2 */
.hero-h2::after {
content: "";
display: block;
width: 100px; /* Lunghezza della linea decorativa */
height: 2px; /* Spessore richiesto */
background-color: #009640; /* Colore richiesto */
margin: 20px auto 0 auto; /* Centrata, con spazio sopra */
}
/* Ottimizzazione Mobile */
@media (max-width: 768px) {
.hero-full-video {
height: 85vh; /* Più alto su mobile per contenere bene il testo centrato */
}
.hero-h1 {
line-height: 1.1;
margin-bottom: 15px;
}
.hero-h2::after {
margin-top: 20px; /* Spazio ridotto su mobile */
}
}