/* 🎨 กำหนดสีหลักให้ธีม */ :root { --bg-color: #1a1a2e; --text-color: #eaeaea; --neon-color: #ff00ff; --shadow-neon: 0 0 10px var(--neon-color), 0 0 20px var(--neon-color), 0 0 30px var(--neon-color); } /* 🔥 ตั้งค่าพื้นฐาน */ body { background-color: var(--bg-color); color: var(--text-color); font-family: 'Arial', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; overflow: hidden; } /* 🎯 Container */ .container { text-align: center; position: relative; } /* 🔥 Neon Text Effect */ .neon-text { font-size: 3em; text-shadow: var(--shadow-neon); animation: glow 1.5s infinite alternate; } /* 🔥 Neon Animation */ @keyframes glow { from { text-shadow: var(--shadow-neon); } to { text-shadow: 0 0 20px var(--neon-color), 0 0 30px var(--neon-color), 0 0 40px var(--neon-color); } } /* 👤 Profile Section */ .profile { margin: 20px 0; } /* 🖼️ Profile Image */ .profile-photo { width: 150px; height: 150px; border-radius: 50%; border: 5px solid var(--neon-color); box-shadow: var(--shadow-neon); animation: bounce 2s infinite ease-in-out; } /* 🔄 Bounce Animation */ @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } /* 📝 Bio Text */ .bio { font-size: 1.2em; margin: 10px 0; animation: fadeIn 2s ease-in-out; } /* 📜 Fade-In Effect */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* 🔹 Navigation Bar */ .neon-nav { background-color: var(--bg-color); padding: 10px; text-align: center; position: fixed; width: 100%; top: 0; z-index: 1000; } /* 🔗 Navigation Links */ .neon-nav a { margin: 0 15px; font-size: 1.5em; color: var(--text-color); text-decoration: none; position: relative; transition: color 0.3s ease; } /* 🎨 Hover Effect */ .neon-nav a:hover { color: var(--neon-color); } /* 🔥 Underline Animation */ .neon-link { color: var(--text-color); text-decoration: none; font-size: 1.5em; margin: 0 15px; position: relative; } .neon-link::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--neon-color); transform: scaleX(0); transition: transform 0.3s ease; } .neon-link:hover::after { transform: scaleX(1); } /* 🌟 Logo Styling */ .logo-container { text-align: center; margin-bottom: 20px; } /* 🔥 Main Logo */ .main-logo { width: 200px; height: auto; filter: drop-shadow(0 0 15px var(--neon-color)); transition: transform 0.3s ease, filter 0.3s ease; } .main-logo:hover { transform: scale(1.1); filter: drop-shadow(0 0 30px var(--neon-color)); } /* 📞 Contact Icons */ .contact-logo { width: 80px; height: auto; margin: 10px; transition: transform 0.3s ease, filter 0.3s ease; filter: drop-shadow(0 0 10px var(--neon-color)); } .contact-logo:hover { transform: scale(1.1); filter: drop-shadow(0 0 25px var(--neon-color)); }