@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --background-color: rgb(2, 0, 36);
    --background-card: rgba(0, 0, 0, 0.1);
    --color-blue: #004c7e;
    --color-hover-blue: #0069a0;
    --color-orange: #ed6a3f;
    --color-hover-orange: #f28a5c;
    --color-grey: #ddd;
    --color-hover-grey: #eee;
    --color-white: #fff;
    --color-hover-white: #f5f5f5;
    --color-black: #000;
    --color-hover-black: #333;
    --color-green: #00b894;
    --color-hover-green: #00d8a6;
}

body .notification {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 400px;
    height: 100px;
    background-color: var(--color-white);
    border: 1px solid var(--color-grey);
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateX(500px);
}

body .notification.success {
    border-left: 5px solid var(--color-green);
}

body .notification.error {
    border-left: 5px solid var(--color-orange);
}

body .notification.show {
    transform: translateX(0);
    transition: all .7s ease;
}

body .notification.hide {
    transform: translateX(500px);
    transition: all .8s ease;
}

body .notification-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body .notification-title h3 {
    margin: 0;
    font-size: 16px;
    color: var(--color-black);
}

body .notification-content {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-black);
}

body .close {
    cursor: pointer;
    color: var(--color-blue);
}

body .close:hover {
    color: var(--color-hover-blue);
}

@media screen and (max-width: 500px) {
    body .notification {
        width: 300px;
        height: 100px;
    }
}