OpenDayII / index.html
Alberta08's picture
Update index.html
b0742da verified
Raw History Blame Contribute Delete
5.28 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;
}
h1 span {
color: #4A90E2;
background: linear-gradient(45deg, #4A90E2, #50E3C2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.divider {
border: none;
height: 1px;
background: #eee;
margin: 20px 0;
}
h2 {
font-size: 16px;
color: #34495e;
margin-bottom: 10px;
text-align: left;
}
/* Video Principale */
video.main-video {
width: 100%;
border-radius: 12px;
outline: none;
background: #000;
}
/* Locandina Immagine Statica */
.poster-container {
width: 100%;
margin-bottom: 5px;
}
.poster-img {
width: 100%;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* Box Instagram Singolo */
.single-grid {
display: flex;
flex-direction: column;
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: 180px;
object-fit: cover;
}
.insta-card span {
font-size: 13px;
font-weight: bold;
padding: 10px;
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; }
</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 -->
<video class="main-video" controls poster="anteprima_personaggio.jpg">
<source src="video.mp4" type="video/mp4">
Il tuo browser non supporta il tag video.
</video>
<hr class="divider">
<!-- 3. LOCANDINA (Immagine statica) -->
<div class="poster-container">
<!-- Sostituisci "locandina.jpg" con il nome della tua immagine locandina -->
<img src="locandina.png" alt="Locandina Evento" class="poster-img">
</div>
<hr class="divider">
<!-- 4. BOX UNICO CON VIDEO / LINK INSTAGRAM -->
<h2>๐Ÿ“ฑ Il nostro tour</h2>
<div class="single-grid">
<a href="https://www.instagram.com/reel/DRmHF-DDYgR/?xtok=OXprY3ZvMDJhYXQ1" target="_blank" class="insta-card">
<img src="laterza.jpg" alt="Anteprima Post">
<span>โ–ถ Guarda su Instagram</span>
</a>
</div>
<hr class="divider">
<!-- 5. PULSANTE SOCIAL -->
<h2>๐ŸŒ Seguici online</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>