﻿
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');




.notifications {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index:1000;
}

.toastCustom {
    position: relative;
    padding: 10px;
    color: #ffffff;
    margin-bottom: 10px;
    width: 400px;
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    border-radius: 5px;
    --color: #ffffff;
    background-image: linear-gradient( to right, #0abf3055, #00c410 30% );
    animation: show 0.3s ease 1 forwards
}

    .toastCustom i {
        color: var(--color);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: x-large;
    }

    .toastCustom .title {
        font-size: x-large;
        font-weight: bold;
    }

    .toastCustom span, .toastCustom i:nth-child(3) {
        color: #ffffff;
    }

@keyframes show {
    0% {
        transform: translateX(100%);
    }

    40% {
        transform: translateX(-5%);
    }

    80% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-10%);
    }
}

.toastCustom::before {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--color);
    width: 100%;
    height: 3px;
    content: '';
    box-shadow: 0 0 10px var(--color);
    animation: timeOut 5s linear 1 forwards
}

@keyframes timeOut {
    to {
        width: 0;
    }
}

.toastCustom.error {
    --color: #f24d4c;
    background-image: linear-gradient( to right, #f24d4c55, #22242F 30% );
}

.toastCustom.warning {
    --color: #e9bd0c;
    background-image: linear-gradient( to right, #e9bd0c55, #22242F 30% );
}

.toastCustom.info {
    --color: #3498db;
    background-image: linear-gradient( to right, #3498db55, #22242F 30% );
}



.toastCustom.love {
    --color: #ffffff;
    background-image: linear-gradient( to right, #d62828, #e63946 30% );
}
