body { font-family: Arial, sans-serif; margin: 0; padding: 0; overflow: hidden; } #notifications { position: fixed; top: 10px; right: 10px; width: 300px; z-index: 1000; } .notification { background-color: #000; /* Black background */ color: white; padding: 15px; margin-top: 10px; border-left: 10px solid; /* Colored border */ border-radius: 5px; opacity: 0.9; display: flex; align-items: center; position: relative; animation: slideIn 0.5s forwards, slideOut 0.5s forwards 5s; } .notification.warning { border-color: #FFA500; /* Orange border for warning */ } .notification.ready { border-color: #00FF00; /* Green border for ready */ } .notification.alert { border-color: #FF0000; /* Red border for alert */ } .notification.information { border-color: #1E90FF; /* Blue border for information */ } .notification .logo { width: 30px; height: 30px; margin-right: 10px; } .notification .content { flex: 1; } .notification .title { font-size: 18px; font-weight: bold; margin-bottom: 5px; } .notification .message { font-size: 14px; } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 0.9; } } .notification.hide { animation: slideOut 0.5s forwards; } @keyframes slideOut { from { transform: translateX(0); opacity: 0.9; } to { transform: translateX(100%); opacity: 0; } }