body { background-color: #000000; margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } #container { max-width: 1280px; margin: 0 auto; background-color: #8B4513; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } #header { height: 200px; background: url("../media/Banner2.png") center/cover no-repeat; position: relative; } .navbar { background: linear-gradient(45deg, #8B0000, #A52A2A); padding: 0; top: 0; z-index: 100; display: flex; justify-content: space-around; align-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); opacity: 1; transform: none; } .navbar ul { list-style-type: none; padding: 0; margin: 0; display: flex; justify-content: center; background: transparent; } .navbar a { color: #ADD8E6; padding: 15px 90px; display: block; text-align: center; text-decoration: none; font-weight: bold; transition: all 0.3s ease; position: relative; overflow: hidden; } .navbar a:before { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background-color: #ADD8E6; transition: all 0.3s ease; transform: translateX(-50%); } .navbar a:hover { color: white; transform: translateY(-2px); } .navbar a:hover:before { width: 100%; } .navbar li { float: left; } #content { height: auto; font-family: "Radiance","Noto Sans",sans-serif; background-color: silver; background-image: url(../media/utama.png); float: left; } #content h1 { font-size: 50px; margin: 0; } #content h1 small { font-size: 1em; display: inline; margin-right: 10px; } #content img { float: right; margin: 0; padding: 0; border-radius: 0; box-shadow: none; } #content p { font-family: verdana; line-height: normal; margin-bottom: 15px; text-align: left; padding: 0 15px; } #content ul { margin-left: 20px; line-height: 1.6; padding-right: 15px; } #footer { width: 1280px; height: 50px; background-color: brown; color: yellow; text-align: center; font-size: 15px; padding-top: 2px; clear: both; } @media (max-width: 768px) { #container { width: 100%; } .navbar ul { flex-direction: column; } .navbar a { padding: 10px 20px; } #content img { float: none; display: block; margin: 20px auto; max-width: 100%; height: auto; } } /* Adding new styles for the hero page */ .hero-container { padding: 20px; color: #333; } .hero-header { text-align: center; margin-bottom: 30px; } .hero-header h1 { font-size: 48px; color: #990000; margin-bottom: 10px; } .hero-title { font-size: 24px; color: #666; margin: 0; } .hero-overview { display: flex; align-items: center; margin-bottom: 40px; gap: 30px; } .hero-image { flex: 0 0 400px; } .hero-image img { width: 100%; height: auto; border-radius: 8px; } .hero-description { flex: 1; font-size: 18px; line-height: 1.6; } .hero-abilities { background: rgba(255, 255, 255, 0.9); padding: 20px; border-radius: 8px; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; } .hero-abilities h2 { color: #990000; margin-bottom: 20px; text-align: center; } .ability { margin-bottom: 25px; padding: 15px; background: rgba(0, 0, 0, 0.05); border-radius: 6px; } .ability h3 { color: #990000; margin-bottom: 10px; } .ability p { margin: 0; line-height: 1.5; } /* Responsive adjustments */ @media (max-width: 768px) { .hero-overview { flex-direction: column; } .hero-image { flex: 0 0 auto; width: 100%; max-width: 400px; margin: 0 auto; } } .hero-content { color: white; padding: 20px; background-color: rgba(0, 0, 0, 0.8); } .hero-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; } .hero-title { font-size: 1.5em; color: #4b9cd4; } .hero-type { display: flex; align-items: center; gap: 10px; margin-top: 20px; } .hero-complexity { display: flex; gap: 5px; margin-bottom: 20px; } .diamond { width: 15px; height: 15px; border: 1px solid white; background-color: rgba(0, 0, 0, 0.8); transform: rotate(45deg); margin-right: 5px; } .diamond.filled { border: 1px solid white; background-color: #fff; } .hero-description { font-size: 1.2em; line-height: 1.6; } .abilities { display: flex; gap: 10px; margin-top: 15px; } .ability-icon { width: 64px; height: 64px; border-radius: 8px; } .badge { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; margin-left: 7px; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; } .hero-subtitle { color: #a5e0f3;; font-size: 1.2em; margin: 10px 0; } .hero-stats { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; } .stat-item { display: flex; align-items: center; gap: 10px; } .stat-icon { width: 24px; height: 24px; } .stat-values { display: flex; flex-direction: column; align-items: flex-start; } .base-stat { font-size: 17px; font-weight: bold; } .stat-gain { font-size: 14px; color: #959595; } .stats-container { display: flex; gap: 20px; } .hero-portrait { display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateX(-20px); animation: fadeInLeft 0.8s ease forwards; } .hero-image { width: 100px; height: 100px; border-radius: 50%; } .hero-bars { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .health-bar, .mana-bar { display: flex; align-items: center; gap: 10px; } .gain { font-size: 14px; color: #959595; } .attributes { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; } .attribute { display: flex; align-items: center; gap: 10px; } .value { font-size: 17px; font-weight: bold; } .stats-layout { display: flex; gap: 20px; } .left-column { display: flex; flex-direction: column; align-items: flex-start; } .right-column { display: flex; flex-direction: column; align-items: flex-start; } .attack-type { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; } .complexity { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; } .diamonds { display: flex; gap: 5px; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(45px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-45px); } to { opacity: 1; transform: translateX(0); } } /* Hero Section Animations */ .badge, h1[style*="font-family: Albertus-MT"], .hero-subtitle, .hero-description, .hero-type, .hero-complexity, .hero-stats-container, .hero-portrait-stats, .attributes, .abilities, span[style*="text-transform: uppercase"][style*="font-weight: bold"][style*="letter-spacing: 2px"][style*="font-size: 17px"] { opacity: 0; animation: fadeInUp 0.8s ease forwards; } /* Main hero image and video animation - More flexible selector */ img[style*="position: absolute"][style*="top: 0"], video[style*="position: absolute"][style*="right: 0"][style*="top: 0"] { opacity: 0; animation: fadeInLeft 1.2s ease forwards; } /* Arrow section - explicitly no animations */ .Arrow { opacity: 0.4; transform: none; animation: none; } /* Add this at the end of the file */ script { display: none; } /* Ensure the content is scrollable */ html, body { height: 100%; scroll-behavior: smooth; } /* Add this script to every hero page */ @media print { script[data-autoscroll] { display: block; content: "window.onload = function() { window.scrollTo(0, document.body.scrollHeight); }"; } }