diff --git a/www/css/style.css b/www/css/style.css index e91e50b..9323049 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -404,4 +404,32 @@ blockquote a { font-weight: bold; text-shadow: 0 0 10px black; z-index: 10; +} + +.perso { + position: relative; + overflow: hidden; + padding: 40px; + color: white; + /* texte lisible sur la vidéo */ + min-height: 500px; + /* tu peux ajuster */ +} + +/* vidéo en background */ +.perso .bg-video { + position: absolute; + top: 50%; + left: 50%; + width: 100%; + height: 100%; + object-fit: cover; + transform: translate(-50%, -50%); + z-index: 0; +} + +/* contenu par-dessus la vidéo */ +.perso .content { + position: relative; + z-index: 10; } \ No newline at end of file