/* ============================== 🕒 1. Đồng hồ & Ngày tháng ============================== */ #clock-box { margin: 20px 0; } #clock { display: inline-block; background: #ffe5ec; border: 3px solid #ffb6c1; border-radius: 38px; padding: 26px 48px; box-shadow: 0 4px 28px rgba(255, 105, 180, 0.10); min-width: 320px; text-align: center; transition: box-shadow .3s, transform .2s; } #clock:hover { box-shadow: 0 8px 32px rgba(255, 105, 180, 0.17); transform: scale(1.02); } #clock date, #clock time { display: inline; padding: 0 12px; font-weight: bold; font-size: 2rem; color: #ff3366; } /* ============================== 🧑‍🤝‍🧑 2. Thông tin avatar + tên ============================== */ #info { display: grid; gap: 20px; margin: 30px 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); justify-content: center; align-items: center; } #info .avt { width: 250px; height: 250px; border-radius: 50%; border: 3px solid #ffb6c1; object-fit: cover; transition: transform .3s; } #info .avt:hover { transform: scale(1.1); } /* ============================== ✨ 3. Hiệu ứng chữ shine ============================== */ .shine-text { font-size: 30px; font-weight: bold; background: linear-gradient(120deg, #ff4d88 0%, #ff4d88 40%, #fff 48%, #ff4d88 56%, #ff4d88 100%); background-size: 200% auto; background-clip: text; -webkit-background-clip: text; color: transparent; animation: shine 2s linear infinite; } @keyframes shine { 0% { background-position: 200% center; } 100% { background-position: -200% center; } } /* ============================== ❤️ 4. Trái tim & ngày kỷ niệm ============================== */ .big-heart-container { display: flex; justify-content: center; align-items: center; margin: 38px 0 28px; } .big-heart { position: relative; font-size: 250px; color: #ff3366; animation: heartbeat 1.1s infinite cubic-bezier(0.6, 0, 0.4, 1); text-shadow: 0 6px 34px #ffb6c1, 0 0 42px #fff0f5; line-height: 1; width: 1em; height: 1em; } .big-heart::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url("/Image/heart.svg"); background-size: contain; background-repeat: no-repeat; background-position: center; filter: drop-shadow(0 6px 34px #ffb6c1) drop-shadow(0 0 42px #fff0f5); } .heart-date { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); font-size: 1.4rem; color: #fff; font-weight: bold; text-shadow: 0 3px 14px #ff4d88, 0 0 18px #ff4d88; animation: heart-date-beat 1.1s infinite cubic-bezier(0.6, 0, 0.4, 1); } @keyframes heartbeat { 0% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(1.32); } 30% { transform: scale(1.22); } 40% { transform: scale(1); } 50% { transform: scale(1.15); } 60% { transform: scale(1.3); } 70% { transform: scale(1.18); } 80% { transform: scale(1); } 100% { transform: scale(1); } } @keyframes heart-date-beat { 0% { transform: translate(-50%, -50%) scale(1); } 20% { transform: translate(-50%, -50%) scale(1.13); } 40% { transform: translate(-50%, -50%) scale(1); } 60% { transform: translate(-50%, -50%) scale(1.12); } 80% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(1); } } /* ============================== 💌 5. Hộp tin nhắn ============================== */ .message-container { background: #ffe0e6; border-radius: 15px; padding: 30px 35px; margin: 60px auto 30px; max-width: 700px; text-align: center; font-size: 1.1em; line-height: 1.6; color: #4a4a4a; position: relative; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08), 0 0 0 5px #ff9aa2; } .message-container::before { content: ''; position: absolute; top: -15px; left: -15px; width: 45px; height: 45px; background: url('/Image/fav.png') no-repeat center/contain; } /* ============================== 🎵 6. Nhạc & Danh sách nhạc ============================== */ #music { margin: 20px auto; padding: 20px; border-radius: 50px; background: #fff0f5; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); text-align: center; max-width: 800px; border: 6px solid #ffccd9; } .controls { background: #ff85a2; padding: 10px; border-radius: 50px; box-shadow: 0 4px 6px rgba(0, 0, 0, .15); border: 2px solid #ff99bb; margin-bottom: 10px; } #playlist-display { list-style: none; padding: 0; margin-top: 15px; } #playlist-display li { padding: 10px; border-radius: 50px; border-bottom: 1px solid #ffc0cb; font-size: 1rem; cursor: pointer; transition: .3s; } #playlist-display li:hover { background: #ffe6f0; color: #ec407a; } #playlist-display li.active { background: #ff4d88; color: #fff; font-weight: bold; } /* ============================== 📜 7. Hero section & tiêu đề ============================== */ .hero-section { background: linear-gradient(145deg, #ffdde9, #ffe6f0); padding: 100px 20px 80px; text-align: center; border-radius: 20px; box-shadow: 0 10px 40px rgba(255, 105, 180, 0.2); margin-top: 10px; position: relative; overflow: hidden; } .hero-section h1 { font-size: 3.5rem; color: #ff4d88; margin-bottom: 15px; z-index: 1; position: relative; animation: floatUp 1.8s ease forwards; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: nowrap; text-align: center; } .hero-section p { font-size: 1.5rem; color: #ff3366; z-index: 1; position: relative; animation: floatUp 2.4s ease forwards; } @keyframes floatUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } } /* ============================== 🖼️ 8. Gallery hình ảnh ============================== */ .gallery-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; } .gallery-group img { width: calc(33.33% - 14px); border-radius: 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease; } .gallery-group img:hover { transform: scale(1.05); } /* 👉 Swiper Pagination */ .swiper-container { width: 100%; padding: 0 20px 60px; } /* Pagination */ .swiper-pagination-bullet { width: 14px; height: 14px; background: #ffc1d8; opacity: 0.6; border-radius: 50%; margin: 0 6px; transition: all 0.3s ease; } .swiper-pagination-bullet-active { background: #ff4d88; opacity: 1; transform: scale(1.4); box-shadow: 0 0 0 4px #ffe4f0; } /* ============================== 🎥 9. Video box ============================== */ .video-box { position: relative; display: flex; justify-content: center; margin: 60px auto; animation: dreamyZoomIn 2.8s ease-out both; overflow: visible; } /* Iframe video */ .video-box iframe { border-radius: 24px; box-shadow: 0 0 60px rgba(255, 192, 203, 0.25); /* Bóng hồng mềm */ transition: transform 1s ease, box-shadow 1s ease; animation: subtleGlow 10s ease-in-out infinite; } /* Hover: chiếu sáng nhẹ nhàng */ .video-box iframe:hover { transform: scale(1.02); box-shadow: 0 0 80px rgba(255, 182, 193, 0.45); } /* Hiệu ứng xuất hiện phóng mờ */ @keyframes dreamyZoomIn { 0% { opacity: 0; transform: scale(0.94) translateY(30px); filter: blur(5px); } 100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); } } /* Hiệu ứng ánh sáng thay đổi nhẹ như sương mờ */ @keyframes subtleGlow { 0%, 100% { box-shadow: 0 0 60px rgba(255, 192, 203, 0.25); } 50% { box-shadow: 0 0 80px rgba(255, 182, 193, 0.35); } } /* ============================== 💬 10. Quote trích dẫn ============================== */ .quote { max-width: 760px; margin: 80px auto; font-size: 1.5rem; text-align: center; font-style: italic; color: #c2185b; padding: 20px; background: #fff0f5; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); animation: fadeIn 2s ease 0.6s both; } /* ============================== 🔗 11. Menu & navbar ============================== */ .navbar { position: fixed; width: 100%; top: 0; background: linear-gradient(90deg, #ffd6e0, #ffe3ed, #ffd6e0); box-shadow: 0 6px 24px rgba(255, 105, 180, 0.35); backdrop-filter: blur(6px); z-index: 1000; font-family: 'Quicksand', sans-serif; transition: background 0.3s ease; animation: fadeInDown 0.8s ease-out; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 0.7rem 1.5rem; display: flex; justify-content: center; align-items: center; position: relative; } .nav-menu { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; justify-content: center; } .nav-menu li a { color: #fd538c; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); text-decoration: none; font-size: 1.1rem; font-weight: 600; padding: 10px 18px; border-radius: 10px; background: transparent; transition: background 0.3s ease, color 0.3s ease, transform 0.1s ease; } .nav-menu li a:hover { background: linear-gradient(135deg, rgba(255, 192, 203, 0.4), rgba(255, 182, 193, 0.5)); color: #ad1457; box-shadow: 0 0 12px rgba(255, 105, 180, 0.4), 0 0 20px rgba(255, 182, 193, 0.3); transform: scale(1.05); } .nav-menu li a.active { background: linear-gradient(135deg, #ffc9da, #ffe2ec); /* ngọt hơn, gần màu navbar */ color: #c2185b; /* hồng mận trầm – dễ đọc & nổi bật */ font-weight: 700; box-shadow: 0 4px 16px rgba(255, 105, 180, 0.3); /* bóng hồng nhẹ */ transform: scale(1.05); } .menu-toggle { display: none; } .map-iframe-wrapper { width: 100%; max-width: 700px; margin: 0 auto; overflow: hidden; border-radius: 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15); } .swiper-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; font-size: 16px; color: #555; animation: fadeIn 1.5s ease-in-out; } .swipe-icon { width: 36px; height: 36px; object-fit: contain; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }