.navigation {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #222; /* Dark background for the nav bar */
}

.nav-title {
    color: #ffa500; /* Color matching the homepage title */
    text-decoration: none;
    font-size: 24px; /* Larger font size for the title */
    font-weight: bold;
    margin-right: 20px; /* Space between the title and the Swap button */
}

.nav-button {
    color: #fff;
    background-color: #ff4500; /* DeepSteak theme color */
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-right: 5px;
}

.nav-button:hover {
    background-color: #e53e3e; /* Slightly darker on hover */
}

.wallet-section {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.connect-wallet-button {
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.connect-wallet-button:hover {
    background-color: #e53e3e;
}

.connect-wallet-button.connected {
    background-color: #2E7D32;
}

.connect-wallet-button.connected:hover {
    background-color: #1B5E20;
}

.wallet-address {
    color: #cccccc;
    font-size: 0.8em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .navigation {
        flex-wrap: wrap;
        padding: 10px;
    }

    .nav-title {
        margin-right: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .wallet-section {
        width: 100%;
        align-items: center;
        margin-top: 10px;
    }
}

