.notification-popup {
    visibility: hidden;
    width: 300px;
    margin-left: -150px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: fixed;
    right: 30px;
    bottom: 10px;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    z-index: 10000;
}

.notification-popup.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s forwards;
    animation: fadein 0.5s forwards;
}

.notification-popup.hide {
    visibility: hidden;
    -webkit-animation: fadeout 0.5s forwards;
    animation: fadeout 0.5s forwards;
}

.close-notification-btn {
    width: 20px;
    height: 20px;
    background-color: #e6454f;
    color: white;
    border: 1px solid white;
    border-radius: 20px;
    font-size: 13px;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 10;
}

.close-notification-btn:hover {
    cursor: pointer;
    background-color: #e25761;
}

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

@media screen and (max-width: 768px) {
    .notification-popup  {
        width: 90%;
        position: fixed;
        right: 5%;
        bottom: 10px;
    }
}
