* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; background-image: url('apa.jpg'); background-repeat: no-repeat; background-size: cover; display: flex; justify-content: center; align-items: center; min-height: 100vh; overflow: hidden; } .login-container { background: #212121; padding: 40px; border-radius: 15px; width: 100%; max-width: 400px; box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1); text-align: center; animation: fadeIn 1s ease-in-out, bounceIn 1s ease-in-out; } .login-container h2 { color: white; margin-bottom: 20px; font-size: 2rem; font-weight: 700; animation: slideIn 1s ease-in-out, rotateIn 1s ease-in-out; } .login-container input { width: 100%; padding: 15px; margin: 10px 0; border-radius: 5px; font-size: 1rem; outline: none; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); animation: fadeInUp 1s ease-in-out; } .login-container input[type="submit"] { background-color: navy; color: white; font-weight: bold; cursor: pointer; transition: all 0.3s ease; animation: bounceIn 1.5s ease-in-out; } .login-container input[type="submit"]:hover { background-color: navy; transform: scale(1.05); } .login-container .forgot-password { color: #ecf0f1; text-decoration: none; font-size: 0.9rem; display: block; margin-top: 10px; transition: color 0.3s ease; animation: fadeInLeft 2s ease-in-out; } .login-container .forgot-password:hover { color: #1abc9c; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideIn { from { opacity: 0; transform: translateX(-100px); } to { opacity: 1; transform: translateX(0); } } @keyframes bounceIn { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } } @media (max-width: 768px) { .login-container { padding: 30px; } .login-container h2 { font-size: 1.5rem; } }