*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --background-color: #f4f7f6; --surface-color: #ffffff; --text-color: #2c3e50; --primary-color: #28a745; --primary-dark: #218838; --secondary-color: #007bff; --accent-color: #ffc107; --border-color: #e0e0e0; --shadow-color: rgba(0, 0, 0, 0.1); --gradient-start: #28a745; --gradient-end: #218838; } body.dark-mode { --background-color: #1a1a2e; --surface-color: #16213e; --text-color: #e0e0e0; --primary-color: #4CAF50; --primary-dark: #388E3C; --secondary-color: #64B5F6; --accent-color: #FFEB3B; --border-color: #3e455e; --shadow-color: rgba(0, 0, 0, 0.3); --gradient-start: #16213e; --gradient-end: #0f182c; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Poppins', sans-serif; background: var(--background-color); color: var(--text-color); line-height: 1.6; transition: background-color 0.3s ease, color 0.3s ease; display: flex; flex-direction: column; min-height: 100vh; } header { background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); color: #ffffff; padding: 1rem 0; box-shadow: 0 2px 10px var(--shadow-color); position: sticky; top: 0; z-index: 1000; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .navbar { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.8rem; font-weight: 700; color: #ffffff; text-decoration: none; } .nav-links { list-style: none; display: flex; gap: 1.5rem; } .nav-links a { color: #ffffff; text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .nav-links a:hover { color: var(--accent-color); } .auth-section { display: flex; align-items: center; gap: 1rem; } .btn { background-color: var(--primary-color); color: white; padding: 0.75rem 1.5rem; border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: background-color 0.3s ease, transform 0.2s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; } .btn:hover { background-color: var(--primary-dark); transform: translateY(-2px); } .btn-secondary { background-color: var(--secondary-color); } .btn-secondary:hover { background-color: #0056b3; } .dark-mode-toggle { background: none; border: none; color: #ffffff; font-size: 1.5rem; cursor: pointer; transition: color 0.3s ease; } .dark-mode-toggle:hover { color: var(--accent-color); } main { flex: 1; padding: 2rem 0; display: flex; justify-content: center; align-items: center; width: 100%;

Login

Don't have an account? Register