.header {
    background-color: rgb(246, 246, 246, 0.5);
    backdrop-filter: blur(16px);
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: row;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 2 4vw;
}

.header-title {
    font-weight: bold;
    font-size: 24px;
}

.header-content-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.header-content-right p {
    margin: 0;
}

.header-content-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 40px;
}

::-webkit-scrollbar {
    display: none; /* Chrome, Edge */
}

.container::-webkit-scrollbar { 
    display: none;  /* Safari, Chromium */
}

.text-only {
    display: block; 
}

/* Hide the new icon links on large screens */
.icon-only {
    display: none; 
}

.nav-icon {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

@media (max-width: 624px) {
    
    /* 1. HIDE the text links ("Home" and "Projects") */
    .text-only {
        display: none; 
    }

    /* 2. SHOW the new icon links (House and Gear) */
    .icon-only {
        display: block; 
    }
    
    /* Optional: Adjust existing icon sizes for consistency */
    .icon-image { /* Targets Github/LinkedIn */
        width: 24px;
        height: 24px;
    }
    
    .header-content-right {
        gap: 20px; /* Reduces space between elements */
    }
    
}