#toast-container {
    visibility: hidden;
    width: 100%;
    height: fit-content;
    z-index: 9999999;
    position: fixed;
    padding-bottom: 8px;
    bottom: 64px;
}

#toast-container > .toast {
    background-color: #333;
    color: #fff;
    border-radius: 12px;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: fit-content;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#toast-container.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 64px; opacity: 1;}
}

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

@-webkit-keyframes fadeout {
  from {bottom: 64px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

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