body { margin: 0; font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #f0e3ff, #ffe0e0); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100vh; color: #333; padding: 20px; text-align: center; } header { text-align: center; margin-bottom: 30px; width: 100%; max-width: 800px; } h1 { font-size: 2.5em; color: #4A148C; margin-bottom: 20px; } /* Logo responsive */ .logo-tampon { max-width: 100%; height: auto; max-height: 300px; margin: 0 auto 20px; display: block; } /* Carrousel */ .carousel-container { width: 100%; max-width: 800px; overflow: hidden; position: relative; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 20px; } .carousel { display: flex; transition: transform 0.5s ease-in-out; height: 300px; } .carousel-item { flex: 0 0 100%; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; } .carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; } .image-credit { font-size: 0.75em; color: #666; position: absolute; bottom: 0; left: 10px; background: rgba(255,255,255,0.7); padding: 3px 8px; border-radius: 6px; margin: 5px; } /* Responsive */ /* @media (max-width: 768px) { h1 { font-size: 2em; } .carousel-item { height: 220px; } } @media (max-width: 480px) { h1 { font-size: 1.6em; } .carousel-item { height: 180px; } .image-credit { font-size: 0.65em; padding: 2px 6px; } }*/ /* Responsive */ @media (max-width: 768px) { .carousel-container { max-width: 100%; } .carousel { height: 200px; } .video-container { max-width: 100%; padding: 0 10px; } .video-frame video { height:520px; } } @media (max-width: 480px) { .carousel { height: 150px; } .btn-volume { width: 26px; height: 26px; border-width: 2px; } .btn-volume svg { width: 12px; height: 12px; } .video-frame video { height:300px; } } /* Vidéo */ .video-container { width: 100%; max-width: 800px; margin-top: 30px; display: flex; justify-content: center; background-color: #f4e1d2; padding: 20px; border-radius: 20px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); position: relative; margin-bottom: 30px; } .video-frame { width: 100%; max-width: 720px; border: 20px solid #f4e1d2; border-radius: 30px; padding: 10px; background-color: #222; background: linear-gradient(to bottom, #555, #222); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); } .video-frame video { width: 100%; object-fit: cover; border-radius: 10px; display: block; box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6); } .video-credit { font-size: 0.8em; color: #555; text-align: center; margin-top: 5px; } .video-credit a { color: #4A148C; text-decoration: none; } .video-credit a:hover { text-decoration: underline; } /* Bouton réservation */ a.button { display: inline-block; padding: 15px 30px; font-size: 1.2em; color: #fff; background-color: #4A148C; border-radius: 8px; text-decoration: none; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: background-color 0.3s, transform 0.2s; text-align: center; margin: 20px auto 40px auto; width: fit-content; } a.button:hover { background-color: #7B1FA2; transform: translateY(-2px); } /* Bouton Langue */ #language-switcher { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; justify-content: center; } #language-switcher button { padding: 10px 15px; margin-left: 10px; background-color: #4A148C; color: white; border: none; border-radius: 5px; cursor: pointer; } #language-switcher button:hover { background-color: #7B1FA2; } /* Bouton son rond style TV rétro */ .btn-volume { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; background: #d6c9a5; border-radius: 50%; border: 3px solid #a68e5d; box-shadow: inset 0 0 5px #b2a270; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; z-index: 10; } .btn-volume:hover { background: #c4b87c; } .btn-volume svg { fill: #4A148C; width: 16px; height: 16px; } /*Button slider */ /* Container du switch */ .switch-container { display: flex; align-items: center; gap: 10px; } /* Style du switch */ .switch { position: relative; display: inline-block; width: 50px; height: 28px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .slider { background-color: #4CAF50; } input:checked + .slider:before { transform: translateX(22px); }