:root {
    --dark: #34495E;
    --light: #fffdf6;
    --success: #0ABF30;
    --error: #E24D4C;
    --warning: #E9BD0C;
    --info: #3498DB;
}
.notifications1 {
    z-index: 9999;
    position: fixed;
    top: 90px;
    right: 20px;
}
.notifications1 :where(.toastnew, .column) {
    display: flex;
    align-items: center;
}
.notifications1 .toastnew {
    width: 400px;
    position: relative;
    overflow: hidden;
    list-style: none;
    border-radius: 4px;
    padding: 26px 17px;
    margin-bottom: 10px;
    background: var(--light);
    justify-content: space-between;
    animation: show_toastnew 0.3s ease forwards;
}
@keyframes show_toastnew {
    0% {
        transform: translateX(100%);
    }
    40% {
        transform: translateX(-5%);
    }
    80% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-10px);
    }
}
.notifications1 .toastnew.hide {
    animation: hide_toastnew 0.3s ease forwards;
}
@keyframes hide_toastnew {
    0% {
        transform: translateX(-10px);
    }
    40% {
        transform: translateX(0%);
    }
    80% {
        transform: translateX(-5%);
    }
    100% {
        transform: translateX(calc(100% + 20px));
    }
}
.toastnew::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    animation: progress 5s linear forwards;
}
@keyframes progress {
    100% {
        width: 0%;
    }
}
.toastnew.success::before {
    background: var(--success);
}
.toastnew.error::before {
    background: var(--error);
}
.toastnew.warning::before {
    background: var(--warning);
}
.toastnew.info::before {
    background: var(--info);
}
.toastnew .column i {
    font-size: 2.75rem;
}
.toastnew.success .column i {
    color: var(--success);
}
.toastnew.error .column i {
    color: var(--error);
}
.toastnew.warning .column i {
    color: var(--warning);
}
.toastnew.info .column i {
    color: var(--info);
}
.toastnew .column span {
    font-size: 16px;
    margin-left: 12px;
}
.toastnew i:last-child {
    color: #aeb0d7;
    cursor: pointer;
}
.toastnew i:last-child:hover {
    color: var(--dark);
}
@media screen and (max-width: 530px) {
    .notifications1 {
        width: 95%;
    }
    .notifications1 .toastnew {
        width: 100%;
        font-size: 1rem;
        margin-left: 20px;
    }
}
