@font-face {
    font-family: 'Monarch Grotesk';
    src: url(./MonarchGrotesk-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'Monarch Grotesk';
    src: url(./MonarchGrotesk-Bold.ttf);
    font-weight: 700;
}

.header {
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 15px 20px !important;
    display: flex;
    flex-direction: row; /* Default layout is horizontal (for desktop) */
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.header img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 15px;
    flex-grow: 1;
    justify-content: flex-end; /* Right-align menu items on desktop */
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    box-sizing: border-box;
    min-width: 0;
}

.nav a:hover {
    text-decoration: underline;
}

.nav a.active {
    font-weight: bold;
}

/* Mobile-friendly styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column; /* Stack logo and menu vertically on mobile */
        align-items: center; /* Center logo and menu */
        padding: 10px; /* Adjust padding for mobile */
    }

    .header img {
        height: 35px; /* Optional: smaller logo on mobile */
        margin-bottom: 10px; /* Add space between logo and menu */
    }

    .nav {
        flex-direction: column; /* Stack menu items vertically */
        gap: 10px; /* Adjust gap between items */
        justify-content: center; /* Center the items */
        align-items: center; /* Center align the items */
        width: 100%; /* Full width of the header */
    }

    .nav a {
        font-size: 18px; /* Slightly bigger font for better readability on mobile */
        padding: 10px 20px; /* Adjust padding for larger clickable area */
    }
}
