/************************** SNACKBAR **************************/

#snackbar {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 7px 15px;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 9999999;
    top: 15px;
    left: 15px;
    right: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: default;
}

@media only screen and (min-width: 1000px) {
    #snackbar {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

#snackbar.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 3s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#snackbar #snackbar-close {
    width: 12px;
    display: grid;
    align-items: center;
    cursor: pointer;
}

#snackbar #snackbar-close svg {
    width: 100%;
    display: block;
}

#snackbar #snackbar-close svg path {
    fill: white;
}