#snackbar {
    position: fixed;
    width: 100%;  
    top: -100vh;
    transition: .6s;
    background: rgba(0,0,0,.2);
    height: 100vh;
    z-index: 9999;
}

#snackbar.active {
    top: 0;
    padding-top: 25px;
}

#snackbar.success > .content > .icon > svg.error,
#snackbar.success-large > .content > .icon > svg.error,
#snackbar.error > .content > .icon > svg.success,
#snackbar.error-large > .content > .icon > svg.success {
    display: none;
}

#snackbar > .content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 237px;
    max-width: 260px;
    height: 50px;
    padding: 8px 16px;
    background: #03010C;
    opacity: 0.9;
    border-radius: 4px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#snackbar.error > .content {
    max-width: 350px !important;
}

#snackbar.error-large > .content,
#snackbar.success-large > .content {
    max-width: 375px !important;
    height: auto;
}

#snackbar > .content > .message > p {
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    margin-bottom: 0;
    margin-left: 5px;
    white-space: break-spaces;
}

#snackbar > .content > .close > svg {
    cursor: pointer;
    transition: .1s;
}

#snackbar > .content > .close > svg:hover {
    transform: scale(1.1);
}