header {
    background: linear-gradient(135deg, #E69A01, #E0017E);
    color: #f3e0eb;
    padding: 20px 0;
    text-align: center;
}

header .logo a {
    color: #f3e0eb;
    font-size: 24px;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;  /* Use Flexbox to align items */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    justify-content: center; /* Center the items */
}

header nav ul li {
    margin: 10px 15px; /* Horizontal space between items */
}

.header a {
    color: #f3e0eb;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}

.header a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.header a:active {
    background: rgba(255, 255, 255, 1);
}

/* Optional Media Query for very small screens */
@media (max-width: 540px) {
    header nav ul {
        flex-direction: column; /* Stack items vertically on very small screens */
        margin-top: 10px;
    }

    header nav ul li {
        margin: 10px 0;
    }
}
