:root {
    --navbar-background-color: rgba(255, 255, 255, 0.7);
    /* --text-color: #1F1F1F; */
}

body.dark-mode #top-navbar {
    --navbar-background-color: rgba(0, 0, 0, 0.7);
    /* --text-color: #f8f8f8; */
}

#top-navbar {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 0;
    background-color: transparent;
    backdrop-filter: blur(10px);
    transition: top 0.3s;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
  }
  
  /* Style for the logo container */
  .logo-container {
    /* position: fixed; */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    z-index: 1000;
  }
  
  #logoPrimary {
    position: relative;
    display: block;
    width: 92.5px;
    transition: display 0.3s;
  }
  
  .nav-spacer {
    flex-grow: 1;
  }
  
   #dark-mode-toggle-button {
    margin-right: 25px;
    display: inline-block;
    cursor: pointer;
   }
  
   #dark-mode-toggle-button-img {
    object-fit: contain;
    height: 30px;
    width: auto;
    max-height: 45px;
   }

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 15px;
    width: auto;
}

.nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 6px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 50%;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--text-color);
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(31, 31, 31, 0.1);
    transform: scale(1.05);
}

.contact-nav-button {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--text-color);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-nav-button:hover {
    background: rgba(31, 31, 31, 0.1);
}

/* Add media queries for responsive design */
@media only screen and (min-width: 786px) {
    #logoPrimary {
        width: 132.5px;
    }

    .nav-buttons {
        gap: 20px;
        margin-right: 25px;
    }

    .nav-button {
        padding: 8px 9px;
        font-size: 16px;
    }

    .contact-nav-button {
        font-size: 16px;
        padding: 8px 20px;
    }
}