OpenDay / index.html
Alberta08's picture
Update index.html
c3217ba verified
Raw History Blame Contribute Delete
5.98 kB
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Benvenuti a scuola!</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f4f7f6;
color: #333;
display: flex;
justify-content: center;
padding: 20px;
}
.container {
width: 100%;
max-width: 480px;
background: #ffffff;
border-radius: 20px;
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
overflow: hidden;
padding: 20px;
text-align: center;
}
/* Intestazione */
.logo {
width: 100%;
max-height: 120px;
object-fit: contain;
margin-bottom: 15px;
}
h1 {
font-size: 24px;
font-weight: 700;
color: #2c3e50;
margin-top: 10px;
margin-bottom: 5px;
}
/* Un tocco di colore speciale sulla parola "scuola" */
h1 span {
color: #4A90E2;
background: linear-gradient(45deg, #4A90E2, #50E3C2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
p.subtitle {
font-size: 15px;
color: #666;
margin-bottom: 20px;
font-style: italic;
}
.divider {
border: none;
height: 1px;
background: #eee;
margin: 20px 0;
}
/* Sezione Video Principale */
h2 {
font-size: 16px;
color: #34495e;
margin-bottom: 10px;
text-align: left;
}
video.main-video {
width: 100%;
border-radius: 12px;
outline: none;
background: #000;
}
/* Griglia Instagram 2x2 */
.instagram-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-top: 10px;
}
.insta-card {
background: #fff;
border: 1px solid #e1e8ed;
border-radius: 10px;
overflow: hidden;
text-decoration: none;
color: #333;
display: flex;
flex-direction: column;
transition: transform 0.2s, box-shadow 0.2s;
}
.insta-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.insta-card img {
width: 100%;
height: 110px;
object-fit: cover;
}
.insta-card span {
font-size: 12px;
font-weight: bold;
padding: 8px 4px;
color: #E1306C;
background: #fafafa;
}
/* Pulsanti Social */
.social-buttons {
display: flex;
gap: 10px;
margin-top: 10px;
}
.btn-social {
flex: 1;
padding: 12px 10px;
border-radius: 10px;
text-decoration: none;
color: white;
font-weight: bold;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.btn-instagram { background: #E1306C; }
.btn-facebook { background: #1877F2; }
</style>
</head>
<body>
<div class="container">
<!-- 1. INTESTAZIONE / LOGO -->
<img src="WhatsApp Image 2026-10-30 at 15.31.25.jpeg" alt="Logo Scuola" class="logo">
<h1>Benvenuti nella nostra <span>scuola!</span> 👋</h1>
<hr class="divider">
<!-- 2. VIDEO PRINCIPALE DEL PERSONAGGINO -->
<video class="main-video" controls poster="anteprima_personaggio.jpg">
<source src="personaggio.mp4" type="video/mp4">
Il tuo browser non supporta il tag video.
</video>
<hr class="divider">
<!-- 3. DUE RIQUADRI SOPRA -->
<h2>📱 I nostri video</h2>
<div class="instagram-grid">
<!-- Riquadro 1 -->
<a href="https://www.instagram.com/reel/DRorsPxjf-P/?psln=c3k4cXJtNWh6d254" target="_blank" class="insta-card">
<img src="de amicis.jpg" alt="Video 1">
<span>▶ Guarda</span>
</a>
<!-- Riquadro 2 -->
<a href="https://www.instagram.com/reel/DfU1VUltGCA/?vrfl=czdleGFsMTNmcjV6" target="_blank" class="insta-card">
<img src="san michele.jpg" alt="Video 2">
<span>▶ Guarda</span>
</a>
</div>
<hr class="divider">
<!-- 4. DUE RIQUADRI SOTTO -->
<div class="instagram-grid">
<!-- Riquadro 3 -->
<a href="https://www.instagram.com/reel/DfRfk8cNUv1/?rpxt=cW41ZHM5aHZjZWhr" target="_blank" class="insta-card">
<img src="plesso san michele.jpg" alt="Video 3">
<span>▶ Guarda</span>
</a>
<!-- Riquadro 4 -->
<a href="https://www.instagram.com/reel/DfU0RKQtW8d/?cplk=MXB5cHR4MHB4MWtvaA==" target="_blank" class="insta-card">
<img src="mungivacca.jpg" alt="Video 4">
<span>▶ Guarda</span>
</a>
</div>
<hr class="divider">
<!-- 5. PULSANTI SOCIAL -->
<h2>🌐 Seguici online per maggiori informazioni</h2>
<div class="social-buttons">
<a href="https://www.instagram.com/ic_monte_san_michele?vrfl=eDMzeHV6cTFkYThq" target="_blank" class="btn-social btn-instagram">Instagram</a>
</div>
</div>
</body>
</html>