body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.notification {
    display: none; /* Początkowo ukryty */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    width: 90%;
    justify-content: space-between;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.text-content {
    flex: 1;
    text-align: left;
    margin-right: 20px;
}

.text-content h1 {
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-content p {
    font-size: 32px;
    margin: 5px 0 0;
    font-weight: 700;
}

.close-btn {
    background-color: transparent;
    color: black;
    border: none;
    font-size: 54px;
    cursor: pointer;
    margin-left: 20px;
    transition: transform 0.2s;
}

.close-btn:hover {
    color: #ff5c5c;
    transform: scale(1.2);
}

/* Dostosowanie przycisku zamykania dla urządzeń mobilnych */
@media (max-width: 600px) {
    .close-btn {
        font-size: 18px;

    }

    .text-content h1 {
        font-size: 16px;
    }

    .text-content p {
        font-size: 12px;
    }
}

/* Dostosowanie przycisku zamykania dla urządzeń mobilnych */
@media (max-width: 600px) {
    .close-btn {
        font-size: 30px;
        padding: 8px;
        z-index: 999;
        margin-left: -100px !important;
        font-weight: 800px;
        color: gray !important;
    }

    .text-content h1 {
        font-size: 16px;
    }

    .text-content p {
        font-size: 12px;
    }
}

@media (min-width: 1280px) {

    .notification-content {

        margin-left: 45vw !important;
    }
}