.notifier {
    position: fixed;
    display: flex;
    flex-direction: column-reverse;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 480px;
    margin: 1em 0 0 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
    transform: translateX(-50%);
}

.notifier__item {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease;
}

.notifier__content {
    position: relative;
    display: block;
    margin: 1em 0 0 0;
    padding: 1em 2em;
    line-height: 1.375;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
    pointer-events: all;
    transition: 0.4s ease;
}

.notifier__item--hidden .notifier__content,
.notifier__item--canceling .notifier__content {
    transform: translateY(-200%);
    opacity: 0;
}
