body { font-family: 'Inter', sans-serif; margin: 0; background: url('https://images.pexels.com/photos/8294624/pexels-photo-8294624.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center fixed; /* Replace with an AI-related image URL */ background-size: cover; color: #f1f5f9; overflow-x: hidden; } /* Header Styles */ header { text-align: center; padding: 4rem 2rem 2rem; background: rgba(0, 0, 0, 0.7); /* Transparent black background for modern feel */ color: white; border-bottom: 1px solid #ffffff33; /* Subtle bottom border */ animation: fadeIn 1s ease-in-out; box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */ } /* Header Text (h1) with animation */ h1 { font-size: 3rem; font-weight: bold; margin-bottom: 0.5rem; letter-spacing: 1px; animation: typing 2.5s steps(20) 1s 1 normal both, glow 1.5s ease-in-out infinite alternate; } /* Typing Animation */ @keyframes typing { from { width: 0; } to { width: 100%; } } /* Glow Animation */ @keyframes glow { 0% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #3b82f6, 0 0 20px #3b82f6, 0 0 25px #3b82f6, 0 0 30px #3b82f6, 0 0 35px #3b82f6; } 50% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #3b82f6, 0 0 40px #3b82f6, 0 0 50px #3b82f6, 0 0 60px #3b82f6, 0 0 70px #3b82f6; } 100% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #3b82f6, 0 0 20px #3b82f6, 0 0 25px #3b82f6, 0 0 30px #3b82f6, 0 0 35px #3b82f6; } } /* Main Section */ main { padding: 2rem; display: flex; flex-direction: column; align-items: center; } /* Card Container */ .cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 3rem; animation: fadeInUp 1s ease-in-out; } /* Card Style */ .card { background: #2c3e50; /* New modern color */ padding: 2rem; border-radius: 1.5rem; width: 280px; text-align: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; border: 1px solid #34495e; /* Soft border for definition */ transform: scale(1); /* Initial scale */ } .card:hover { transform: scale(1.05); /* Slight zoom effect */ box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3); background: #34495e; /* Darken the background on hover */ } /* Icon Style */ .icon { font-size: 3rem; margin-bottom: 1rem; color: #f39c12; /* Modern accent color */ } /* Tool Section Styles */ .tool-section { display: none; width: 100%; max-width: 600px; background: #1e293b; padding: 2rem; border-radius: 1rem; box-shadow: 0 10px 20px rgba(0,0,0,0.2); margin-bottom: 2rem; animation: fadeIn 0.5s ease-in-out; } /* Input and Textarea Styles */ textarea, input[type="file"] { width: 100%; margin-top: 1rem; padding: 0.75rem; border: none; border-radius: 0.5rem; background: #34495e; /* Darker background for input fields */ color: #f1f5f9; font-size: 1rem; } /* Button Style */ button { margin-top: 1rem; padding: 0.75rem 2rem; font-size: 1rem; border: none; border-radius: 0.5rem; background: #3b82f6; color: white; cursor: pointer; transition: background 0.3s ease; } button:hover { background: #2563eb; } /* Footer */ footer { text-align: center; padding: 2rem; color: #cbd5e1; font-size: 0.875rem; border-top: 1px solid #34495e; background: rgba(0, 0, 0, 0.8); /* Dark footer background */ } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }