/* ============================== 🔤 1. Font & Reset cơ bản ============================== */ @import url('https://fonts.googleapis.com/css?family=Quicksand:400,700&display=swap'); * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Quicksand', sans-serif; background: linear-gradient(to right, #fce4ec, #f3e5f5); color: #333; min-height: 100vh; padding: 20px; display: flex; justify-content: center; align-items: center; position: relative; overflow-x: hidden; animation: softGlow 15s infinite alternate; } /* ============================== 📦 2. Wrapper tổng chứa nội dung ============================== */ #wrapper { background: #fff0f5; box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); border-radius: 15px; max-width: 1200px; width: 100%; padding: 30px; text-align: center; margin-top: 60px; } /* ============================== 🎨 3. Style chữ & layout chung ============================== */ h1 { font-size: 4rem; margin-bottom: 20px; color: #ff4d88; transition: 0.3s; } h1:hover { color: #ff3366; transform: scale(1.1); } .section-title { font-size: 2.4rem; margin: 70px 0 30px; color: #ff4d88; text-align: center; text-shadow: 0 2px 4px rgba(255, 105, 180, 0.3); } /* ============================== 🛠 4. Các lớp layout tái sử dụng ============================== */ .text-center { text-align: center; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } .hidden { display: none !important; } .rounded { border-radius: 15px; } .shadow { box-shadow: 0 4px 12px rgba(0,0,0,.1); } /* ============================== 🎞 5. Hiệu ứng dùng chung ============================== */ @keyframes softGlow { 0% { filter: brightness(100%); } 100% { filter: brightness(105%) saturate(105%); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } /* ============================== 🧪 6. Audio mặc định (nếu dùng lại) ============================== */ audio { width: 100%; border-radius: 50px; border: 2px solid #ff4d88; transition: border-color 0.3s, box-shadow 0.3s; } audio:hover { border-color: #ff3366; box-shadow: 0 0 8px rgba(255, 51, 102, 0.5); } html, body { height: auto !important; min-height: 100%; }