body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}
.center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(246, 248, 250);
}
.notification {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translate(-50%, -200px);
    background: rgb(0, 0, 0);
    width: fit-content;
    height: 54px;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 15mm;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: rgba(38, 57, 77, 0.7) 0px 20px 30px -10px;
    transition: 0.5s ease-in;
    max-width: 1000px;
}
.notification img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 4px solid rgb(80, 80, 80);
    transition: 0.35s ease-in;
}
.details {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    font-family: poppins;
    margin: 0 15px;
    padding: 1px;
    white-space: nowrap;
}
.name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.message {
    font-size: 14px;
    color: white;
}
.btn {
    width: 35px;
    height: 35px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    text-align: center;
    line-height: 35px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
}
.notify {
    background: rgb(226, 230, 233);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
}
.notify span {
    font-size: 30px;
}
.notification.hidden {
    animation: closeNote 1s ease-in-out;
    transform: translate(-50%, -200px);
    max-width: 54px;
    padding: 0;
}
.notification.hidden img {
    width: 38px;
    height: 38px;
    border: 8px solid rgb(80, 80, 80);
}
@keyframes closeNote {
    0% {
        transform: translate(-50%, 0);
        max-width: 1000px;
        padding: 8px;
    }
    65% {
        transform: translate(-50%, 0);
        max-width: 54px;
        padding: 0px;
    }
    100% {
        transform: translate(-50%, -200px);
        max-width: 54px;
        padding: 0;
    }
}
.notification.active {
    animation: showNote 1s ease-in-out;
    max-width: 1000px;
    transform: translate(-50%, 0);
    padding: 8px;
}
.notification.active img {
    animation: resize 1s ease-in-out;
    width: 32px;
    height: 32px;
    border: 4px solid rgb(80, 80, 80);
}
@keyframes showNote {
    0% {
        transform: translate(-50%, -200px);
        max-width: 54px;
        padding: 0;
    }
    35% {
        transform: translate(-50%, 0px);
        max-width: 54px;
        padding: 0;
    }
    100% {
        transform: translate(-50%, 0px);
        max-width: 1000px;
        padding: 8px;
    }
}
@keyframes resize {
    0%,
    40% {
        width: 38px;
        height: 38px;
        border: 8px solid rgb(80, 80, 80);
    }
    100% {
        width: 32px;
        height: 32px;
        border: 4px solid rgb(80, 80, 80);
    }
}