#notificationBox {
    position: fixed;
    top: 5rem;
    right: 1rem;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
    max-width: 90vw;
    z-index: 10000
}

.notificationShow {
    width: 25rem;
    height: 80px;
    background: var(--primary-bg-color);
    font-weight: 500;
    margin: 15px 0;
    box-shadow: 0 0 20px rgb(0 0 0 / .3);
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 10px;
    transform: translateX(100%);
    animation: 0.5s linear forwards notificationShowMoveLeft;
    font-family: Montserrat, sans-serif;
    color: var(--primary-font-color);
    font-size: clamp(1rem, 1.8vw, 1.3rem)
}

@keyframes notificationShowMoveLeft {
    100% {
        transform: translateX(0)
    }
}

.notificationShow svg {
    margin: 0 20px
}

.notificationShow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    animation: 5s linear forwards notificationShowAnimation
}

.notificationShow.success::after {
    background: green
}

.notificationShow.warning::after {
    background: orange
}

.notificationShow.error::after {
    background: red
}

@keyframes notificationShowAnimation {
    100% {
        width: 0
    }
}

@media (max-width:700px) {
    #notificationBox {
        right: 0;
        padding-right: .5rem;
        max-width: 400px;
        width: 100vw
    }

    .notificationShow {
        width: 20rem
    }
}