#snackbar-container {
  display: flex;
  position: fixed;
  z-index: 10;
  bottom: 30px;
  width: 100%;
  justify-content: center;
  pointer-events: none;
}

#snackbar {
  visibility: hidden;
  color: #fff;
  background-color: #5c5c5c;
  min-width: 250px;
  border-radius: 0.5em;
  padding: 16px;
  text-align: center;
  font-weight: 500;
}
  
  /* This will be activated when the snackbar's class is 'show' which will be added through JS */
  #snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations for fading in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }

