/* Center alignment for home section */
.home__container {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
  }
  
  .home__data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .home__title {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }

/* Notification styles */
.notification {
    position: fixed;
    top: 6.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: var(--small-font-size);
    max-width: 300px;
    z-index: var(--z-tooltip);
    box-shadow: 0 4px 12px hsla(207, 24%, 35%, 0.15);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: var(--body-font);
}

.notification.success {
    background-color: var(--body-color);
    color: var(--first-color);
    border: 1px solid var(--first-color);
}

.notification.error {
    background-color: var(--body-color);
    color: var(--text-color);
    border: 1px solid var(--text-color-light);
}

.notification.hide {
    opacity: 0;
    transform: translateY(-10px);
}

/* Media queries for responsive design */
@media screen and (max-width: 576px) {
    .notification {
        top: 5.6rem;
        right: 1rem;
        left: 1rem;
        max-width: calc(100% - 2rem);
        text-align: center;
    }

    .home__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .home__container > .home__info { /* Target direct .home__info children */
        align-self: flex-start; /* Override container's centering, align item to the start (left) */
        width: 100%; /* Ensure the info blocks take full width */
        /* Optional: Explicitly set text-align left for content within */
        text-align: left;
    }

    /* Optional: Ensure divs inside are also explicitly left-aligned if needed */
    .home__container > .home__info > div {
        text-align: left;
    }
}

/* Dark theme adaptations */
.dark-theme .notification {
    box-shadow: 0 4px 12px hsla(207, 24%, 8%, 0.4);
}

/* Auto-hide animation */
@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.notification.auto-hide {
    animation: fadeOutUp 0.5s ease 4s forwards;
}