@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0');

.snackbar-container {
    position: fixed;
    top: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-top: 1rem;
}

.snackbar {
    display: flex;
    color: #fafafa;
    width: 349px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    border: 2px solid #BA2FC2;
}

.snackbar .icon {
    display: flex;
    padding: 0 14px;
    color: #d54f4f;
}

.snackbar .icon .material-symbols-outlined  {
    font-size: 24px;
}

.snackbar .body {
    padding: 13px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.25rem;
    text-align: left;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.snackbar .action {
    display: flex;
    padding: 0 19px;
    color: #afafaf;
    border: none;
    background: none;
}

.snackbar .action .material-symbols-outlined  {
    font-size: 15px;
}
.snackbar .body .header {
    font-weight: bold;
}

.snackbar.animated:not(.show) {
    opacity: 0;
    transform: matrix(0.5, 0, 0, 0.5, 0, -20);
}

.snackbar.animated.show {
    opacity: 1;
    transform: none;
}

@keyframes showSnackbar {
    0% {
        opacity: 0;
        transform: matrix(0.5, 0, 0, 0.5, 0, -20);
    }
    100% {
        opacity: 1;
        transform: matrix(1, 0, 0, 1, 0, 0);
    }
}