body { margin: 0; padding: 0; background-image: url('deatnote.gif'); background-size: cover; background-position: center center; background-attachment: fixed; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; color: white; font-family: Arial, sans-serif; } .card { background-color: rgba(0, 0, 0, 0.8); width: 300px; height: 350px; border-radius: 15px; display: flex; justify-content: flex-start; align-items: center; flex-direction: column; padding: 20px; position: relative; opacity: 0; transform: translateY(30px); animation: cardEntrance 1.2s ease-out forwards; } @keyframes cardEntrance { 0% { opacity: 0; transform: translateY(30px); } 50% { opacity: 0.6; transform: translateY(-10px); } 100% { opacity: 1; transform: translateY(0); } } .avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #102; margin-bottom: 20px; } h1 { color: #fff; font-size: 22px; font-weight: bold; text-align: center; display: inline-block; } h2 { color: #fff; font-size: 18px; font-weight: normal; text-align: center; text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.5); } .name-container { display: flex; align-items: center; justify-content: center; } .verified-badge { width: 20px; height: 20px; margin-left: 8px; } .social-icons { display: flex; justify-content: center; align-items: center; width: 100%; position: absolute; bottom: 20px; gap: 10px; } .social-icon { width: 40px; height: 40px; cursor: pointer; transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease; border-radius: 50%; } .social-icon:hover { transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4); } .social-icon:active { transform: scale(0.9); opacity: 0.7; } /* Info Icon Button */ .info-icon { width: 25px; height: 25px; position: absolute; top: 10px; right: 10px; cursor: pointer; transition: transform 0.3s ease; } .info-icon:hover { transform: scale(1.1); } /* Notification Pop-up */ .notification { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #000; padding: 20px; border-radius: 15px; color: white; width: 300px; text-align: center; box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); z-index: 20; opacity: 0; transform: translate(-50%, -50%) translateY(30px); animation: notificationEntrance 1s ease-out forwards; } @keyframes notificationEntrance { 0% { opacity: 0; transform: translate(-50%, -50%) translateY(30px); } 100% { opacity: 1; transform: translate(-50%, -50%) translateY(0); } } @keyframes notificationExit { 0% { opacity: 1; transform: translate(-50%, -50%) translateY(0); } 100% { opacity: 0; transform: translate(-50%, -50%) translateY(30px); } } .notification-header { position: absolute; top: 10px; right: 10px; z-index: 10; } .close-btn { font-size: 20px; cursor: pointer; color: white; } .close-btn:hover { color: #ff0000; } .notification-content h2 { font-size: 20px; font-weight: bold; margin-bottom: 10px; } .notification-content p { font-size: 16px; margin-bottom: 20px; } .notification button { background-color: grey; /* Changed to purple */ color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; } .notification button:hover { background-color: rgba; /* Darker purple on hover */ }