.container { width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; z-index: 10; display: flex; align-items: center; justify-content: center; background-color: #00000037; } .alertContainer { display: flex; width: 449px; padding: 24px 16px 16px 16px; flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 14px; background: #21232f; animation-name: showAlert; animation-duration: 0.3s; } .show { animation-name: showAlert; animation-duration: 0.3s; } .hide { animation-name: hideAlert; animation-duration: 0.3s; } @keyframes showAlert { 0% { opacity: 0; transform: scale(0.7); } 75% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } } @keyframes hideAlert { 0% { opacity: 1; transform: scale(1); } 75% { transform: scale(1.1); } 100% { opacity: 0; transform: scale(0.7); } } .headers { display: flex; align-items: center; gap: 12px; align-self: stretch; } .iconContainer { display: flex; padding: 12px; justify-content: center; align-items: center; gap: 10px; border-radius: 50%; background: #2e305f; } .headers > p { color: #fff; font-family: Inter; font-size: 20px; font-style: normal; font-weight: 700; line-height: normal; letter-spacing: -0.5px; } .alertBody { display: flex; padding: 12px 0; align-items: center; gap: 10px; align-self: stretch; } .body > p { color: #fff; font-family: Inter; font-size: 14px; font-style: normal; font-weight: 500; line-height: 20px; } .actionButtons { display: flex; padding-top: 12px; justify-content: center; align-items: flex-end; gap: 10px; align-self: stretch; } .actionButtons > button { width: 100%; }