<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport"…
- User
body { font-family: 'Quicksand', sans-serif; background: #FFFFFF; color: #0a2540; display: flex; justify-content: center; overflow-x: clip; /* ★ SNAP ★ ("clip" ne casse pas l'aimant, contrairement à "hidden") */ line-height: 1.6; } body.locked { position: fixed; width: 100%; height: 100%; overflow: hidden; } .app { position: relative; width: 100%; max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; overflow: hidden; background: linear-gradient(180deg, #9bbadb 0%, #2d6a9f 40%, #4a9fd4 70%, #87ceeb 100%); box-shadow: 0 0 40px rgba(0,0,0,0.5); } /* ========================================= 🌟 PAGE DE CHARGEMENT (PRELOADER) ========================================= */ .preloader { position: fixed; top: 0; left: 0; right: 0; margin-left: auto; margin-right: auto; max-width: 480px; width: 100%; height: 100%; background: linear-gradient(180deg, #9bbadb 0%, #4a9fd4 70%, #87ceeb 100%); z-index: 10000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease; } .preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; } .loader-snowflake { font-size: 4em; color: #ffffff; animation: spin 2s linear infinite, float 2s ease-in-out infinite; text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(135,206,250,0.6); margin-bottom: 20px; } .loader-text { font-family: 'Great Vibes', cursive; font-size: 2em; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); animation: fadeInOut 2s infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .page-section { min-height: 100vh; min-height: 100dvh; /* ★ SNAP ★ vraie hauteur sur mobile */ scroll-snap-align: start; /* ★ SNAP ★ l'aimant (pages 2 et 3) */ display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px 20px; position: relative; } /* ========================================= 🚪 PORTES D'OUVERTURE (Overlay) ========================================= */ .ice-door-overlay { position: fixed; top: 0; left: 0; right: 0; margin-left: auto; margin-right: auto; max-width: 480px; width: 100%; height: 100%; background: linear-gradient(180deg, #9bbadb 0%, #4a9fd4 70%, #87ceeb 100%); z-index: 9999; display: flex; justify-content: center; align-items: center; perspective: 3000px; overflow: hidden; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } .ice-door-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 1s ease 1.5s; } .ice-door-panel { position: absolute; top: 0; width: 50%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; box-shadow: inset 0 0 100px rgba(0,0,0,0.3); overflow: hidden; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; outline: none; transform-style: preserve-3d; } .ice-door-left { left: 0; transform-origin: left center; background-image: url('elsagauche.jpg'); border-right: 2px solid rgba(192,192,192,0.5); } .ice-door-right { right: 0; transform-origin: right center; background-image: url('elsadroit.jpg'); border-left: 2px solid rgba(192,192,192,0.5); } .center-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 100%; background: linear-gradient(180deg, transparent 0%, #ffffff 20%, #c0c0c0 50%, #ffffff 80%, transparent 100%); box-shadow: 0 0 20px #ffffff, 0 0 40px #87ceeb; z-index: 3; transition: opacity 0.5s ease; } .door-text { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); font-family: 'Great Vibes', cursive; font-size: 2.5em; color: #ffffff; text-shadow: 0 0 20px rgba(135,206,250,1), 0 2px 10px rgba(0,0,0,0.8); z-index: 5; animation: fadeInOut 2s infinite; white-space: nowrap; text-align: center; pointer-events: none; background: rgba(0,0,0,0.3); padding: 10px 30px; border-radius: 30px; backdrop-filter: blur(5px); } @keyframes fadeInOut { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } } .sparkle { position: absolute; background: #fff; border-radius: 50%; box-shadow: 0 0 10px #fff, 0 0 20px #87ceeb; z-index: 6; animation: floatSparkle 3s infinite ease-in-out; pointer-events: none; } @keyframes floatSparkle { 0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; } 50% { transform: translateY(-20px) scale(1.5); opacity: 1; } } .ice-door-overlay.open .ice-door-left { transform: rotateY(-105deg); } .ice-door-overlay.open .ice-door-right { transform: rotateY(105deg); } .ice-door-overlay.open .center-line, .ice-door-overlay.open .door-text, .ice-door-overlay.open .sparkle { opacity: 0; pointer-events: none; transition: opacity 0.5s ease; } .ice-door-panel { cursor: pointer; } /* ========================================= SITE PRINCIPAL ========================================= */ .main-content { opacity: 0; transition: opacity 1.5s ease; } .main-content.visible { opacity: 1; } .snowflakes { position: fixed; top: 0; left: 0; right: 0; margin-left: auto; margin-right: auto; max-width: 480px; width: 100%; height: 100%; pointer-events: none; z-index: 1000; } .snowflake { position: absolute; top: -10px; color: #fff; animation: fall linear infinite; opacity: 0.8; } @keyframes fall { 0% { transform: translateY(-10px) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(360deg); opacity: 0.3; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } } @keyframes iceGlow { 0%, 100% { filter: drop-shadow(0 0 8px rgba(173,216,230,0.8)) drop-shadow(0 0 15px rgba(135,206,250,0.5)); } 50% { filter: drop-shadow(0 0 15px rgba(173,216,230,1)) drop-shadow(0 0 25px rgba(135,206,250,0.8)); } } @keyframes iconFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(3deg); } } @keyframes photoGlow { 0%, 100% { box-shadow: 0 0 20px rgba(135,206,250,0.4), 0 0 40px rgba(173,216,230,0.3); } 50% { box-shadow: 0 0 30px rgba(135,206,250,0.6), 0 0 60px rgba(173,216,230,0.5); } } /* ========================================= PAGE 1 : HERO ★ TOUT EN clamp(...vh...) POUR TENIR EN 1 ÉCRAN ★ ========================================= */ .hero { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 3vh 18px 0; position: relative; scroll-snap-align: start; /* ★ SNAP ★ l'aimant (page 1) */ background-image: url('elzazvzeveveeeev.jpg'); background-size: cover; background-position: center top; background-repeat: no-repeat; background-attachment: scroll; background-color: #0a1628; } .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(184,208,232,0.6) 0%, rgba(168,200,224,0.7) 50%, rgba(152,184,216,0.8) 100%); z-index: 1; } .frozen-frame { max-width: 600px; width: 100%; background: transparent; border: none; border-radius: 0; padding: 1vh 16px; animation: fadeInUp 1s ease-out; position: relative; z-index: 2; } .invitation-text { font-family: 'Great Vibes', cursive; font-size: clamp(1.1rem, 3.2vh, 1.9rem); color: #0f2b4d; margin: 1vh 0; animation: fadeInUp 1s ease-out, iceGlow 3s ease-in-out infinite; text-shadow: 0 2px 15px rgba(0,0,0,0.7), 0 0 30px rgba(135,206,250,0.5); } .hero h1 { font-family: 'Cinzel Decorative', serif; font-size: clamp(1.5rem, 5.2vh, 2.8rem); font-weight: 900; line-height: 1.1; background: linear-gradient(90deg, #0a2540 0%, #ffffff 25%, #0a2540 50%, #ffffff 75%, #0a2540 100%); background-size: 1000px 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s infinite, fadeInUp 1s ease-out 0.3s both; margin-bottom: 0.5vh; letter-spacing: 2px; filter: drop-shadow(0 2px 4px rgba(10,37,64,0.6)); } .hero h2 { font-family: 'Quicksand', sans-serif; font-size: clamp(0.85rem, 2.4vh, 1.3rem); font-weight: 600; color: #0f2b4d; margin-bottom: 1vh; animation: fadeInUp 1s ease-out 0.5s both; letter-spacing: 2px; text-shadow: 0 0 10px rgba(255,255,255,0.6); } .birthday-photo-container { display: flex; justify-content: center; margin: 1.5vh 0; animation: fadeInUp 1s ease-out 0.8s both; } .birthday-photo { width: clamp(110px, 21vh, 210px); height: clamp(110px, 21vh, 210px); border-radius: 50%; overflow: hidden; border: 5px solid rgba(173,216,230,0.8); box-shadow: 0 0 30px rgba(135,206,250,0.5); animation: photoGlow 3s ease-in-out infinite, float 4s ease-in-out infinite; position: relative; } .birthday-photo img { width: 100%; height: 100%; object-fit: cover; display: block; } .birthday-photo::before { content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; border-radius: 50%; border: 2px solid rgba(135,206,250,0.4); animation: shimmer 3s infinite; pointer-events: none; } .age-badge { display: inline-block; font-family: 'Cinzel Decorative', serif; font-size: clamp(2.8rem, 9vh, 5.5rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, #87ceeb 0%, #ffffff 50%, #add8e6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: float 3s ease-in-out infinite, fadeInUp 1s ease-out 0.7s both, iceGlow 3s ease-in-out infinite; margin: 1vh 0; position: relative; filter: drop-shadow(0 0 25px rgba(135,206,250,0.8)) drop-shadow(0 3px 10px rgba(0,0,0,0.5)); } .age-badge::after { display: none; } .characters-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 30px); margin: 1vh 0 0; animation: fadeInUp 1s ease-out 0.9s both; } .characters-row svg { width: clamp(36px, 6.5vh, 58px); height: auto; } .character-icon { animation: iconFloat 3s ease-in-out infinite; } .character-icon:nth-child(1) { animation-delay: 0s; } .character-icon:nth-child(2) { animation-delay: 0.5s; } .character-icon:nth-child(3) { animation-delay: 1s; } .scroll-indicator { position: absolute !important; bottom: 2.5vh !important; left: 50% !important; transform: translateX(-50%) !important; color: #0a2540; font-size: clamp(0.85rem, 2.2vh, 1.1rem); font-weight: 600; animation: float 2s infinite ease-in-out; z-index: 10; cursor: pointer; text-decoration: none; white-space: nowrap; text-align: center; background: rgba(255,255,255,0.85); padding: 8px 24px; border-radius: 30px; backdrop-filter: blur(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: inline-flex; align-items: center; gap: 8px; } /* ========================================= PAGE 2 : COMPTE À REBOURS + DÉTAILS ========================================= */ .page-two { background: linear-gradient(180deg, #B8D0E8 0%, #A8C8E0 50%, #98B8D8 100%); } .countdown-section { text-align: center; padding: 40px 20px; width: 100%; max-width: 900px; } .countdown-title { font-family: 'Cinzel Decorative', serif; font-size: 2.5em; font-weight: 700; color: #0a2540; margin-bottom: 40px; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 0 10px rgba(255,255,255,0.5); } .countdown { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: nowrap; margin-bottom: 60px; } .countdown-item { background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%); border: 2px solid rgba(255,255,255,0.6); border-radius: 20px; padding: 20px 10px; min-width: 80px; max-width: 120px; flex: 1; text-align: center; animation: fadeInUp 1s ease-out; box-shadow: 0 10px 30px rgba(135,206,250,0.2); transition: all 0.3s ease; backdrop-filter: blur(5px); } .countdown-item:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(135,206,250,0.4); border-color: #fff; } .countdown-number { font-family: 'Cinzel', serif; font-size: 2.2em; font-weight: 900; color: #0f2b4d; display: block; line-height: 1; margin-bottom: 5px; text-shadow: 0 0 10px rgba(255,255,255,0.6); } .countdown-label { font-family: 'Quicksand', sans-serif; font-size: 0.75em; color: #1a3a5c; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; } .details-section { width: 100%; max-width: 900px; padding: 20px; } .section-title { font-family: 'Cinzel Decorative', serif; font-size: 2.8em; font-weight: 700; color: #0a2540; text-align: center; margin-bottom: 40px; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 0 10px rgba(255,255,255,0.5); position: relative; padding-bottom: 20px; } .section-title::after { display: none !important; } .detail-card { background: rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.5); border-radius: 25px; padding: 40px; backdrop-filter: blur(10px); animation: fadeInUp 1s ease-out; box-shadow: 0 15px 40px rgba(135,206,250,0.15); } .detail-item { display: flex; align-items: center; margin-bottom: 30px; font-size: 1.1em; padding: 15px; border-radius: 15px; transition: all 0.3s ease; } .detail-item:hover { background: rgba(255,255,255,0.4); transform: translateX(10px); } .detail-item:last-child { margin-bottom: 0; } .detail-icon { margin-right: 25px; min-width: 60px; text-align: center; display: flex; justify-content: center; align-items: center; } .detail-icon svg { width: 50px; height: 50px; filter: drop-shadow(0 0 3px rgba(255,255,255,0.8)) brightness(1.2) contrast(1.1); transition: all 0.3s ease; } .detail-item:hover .detail-icon svg { transform: scale(1.15) rotate(-5deg); filter: drop-shadow(0 0 15px rgba(135,206,250,1)); } .detail-content { flex: 1; } .detail-content strong { font-family: 'Cinzel Decorative', serif; color: #0f2b4d; display: block; margin-bottom: 5px; font-size: 1.1em; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; } .detail-content span { font-family: 'Quicksand', sans-serif; color: #1a3a5c; font-size: 1em; font-weight: 500; line-height: 1.5; } .dress-code-text { margin-top: 8px; margin-bottom: 12px; text-align: center; } .dress-code-text p { margin: 5px 0; font-size: 1.05em; line-height: 1.6; color: #1a3a5c; } .dress-subtitle { font-size: 0.95em !important; font-weight: 500; color: #2d5a7a; margin-top: 8px !important; } .color-circles { display: flex; justify-content: center; gap: 12px; margin-top: 12px; } .color-circle { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); box-shadow: 0 3px 8px rgba(0,0,0,0.15); transition: transform 0.3s ease; } .color-circle:hover { transform: scale(1.15); } /* ========================================= PAGE 3 : LOCALISATION + FOOTER ========================================= */ .page-three { background: linear-gradient(180deg, #98B8D8 0%, #A8C8E0 50%, #B8D0E8 100%); } .map-section { width: 100%; max-width: 900px; text-align: center; padding: 40px 20px; } .map-container { border-radius: 25px; overflow: hidden; border: 3px solid rgba(255,255,255,0.6); box-shadow: 0 15px 50px rgba(135,206,250,0.3); } .map-container iframe { width: 100%; height: 400px; border: none; } .footer { width: 100%; text-align: center; padding: 40px 20px; border-top: 2px solid rgba(255,255,255,0.4); background: rgba(168,200,224,0.5); margin-top: 40px; } .footer .frozen-message { font-family: 'Great Vibes', cursive; font-size: 2.2em; color: #0a2540; margin-bottom: 10px; text-shadow: 0 0 10px rgba(255,255,255,0.6); } .footer p:last-child { font-family: 'Quicksand', sans-serif; font-size: 0.95em; color: #1a3a5c; font-weight: 500; letter-spacing: 1px; } .footer .characters-footer { display: flex; justify-content: center; gap: 20px; margin: 15px 0; } .footer .characters-footer svg { width: 50px; height: 50px; animation: iconFloat 3s ease-in-out infinite; } .footer .characters-footer svg:nth-child(1) { animation-delay: 0s; } .footer .characters-footer svg:nth-child(2) { animation-delay: 0.5s; } .footer .characters-footer svg:nth-child(3) { animation-delay: 1s; } /* ========================================= RESPONSIVE ========================================= */ @media (max-width: 768px) { .ice-door-panel { background-size: cover !important; background-position: center 20% !important; } .ice-door-left { background-position: right 20% center !important; } .ice-door-right { background-position: left 20% center !important; } .door-text { font-size: 1.3em !important; bottom: 2% !important; padding: 6px 12px !important; } .countdown { gap: 8px; } .countdown-item { min-width: 65px !important; max-width: 90px !important; padding: 15px 5px !important; } .countdown-number { font-size: 1.6em !important; } .countdown-label { font-size: 0.6em !important; letter-spacing: 0.5px; } .countdown-title, .section-title { font-size: 1.6em; } .detail-card { padding: 25px 15px; } .detail-item { flex-direction: column; text-align: center; } .detail-icon { margin-right: 0; margin-bottom: 15px; } .detail-icon svg { width: 45px; height: 45px; } .footer .frozen-message { font-size: 1.6em; } .color-circle { width: 35px; height: 35px; } .dress-code-text p { font-size: 1em; } .dress-subtitle { font-size: 0.9em !important; } } </style> Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.