.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10%;
    color: #ddd;
    border-bottom: 2px solid #3c3c3c;
}

.navbar .logo {
    width: max(12vw, 200px);
    margin-right: 40px; /* Adjust this value to increase or decrease the gap */
}

.navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* Ensures the nav-right section is on the right */
}

.navbar .menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding-left: 129px;
}

.navbar .menu.open {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 70px;
    font-size: large;
    font-weight: 400;
    font-style: inherit;

    left: 0;
    width: 100%;
    background-color: #243064;
  border-top: 2px solid #3c3c3c;
  border-radius: 5px;
  border-color: bisque;
    padding: 10px 1px;
    border-bottom: 2px solid #3c3c3c;
    height: auto;
    padding-left: 95px;
    /* z-index: 1000; Ensure it overlays other content */
}

.navbar .menu.open li {
    text-align: center;
    padding: 1px;
    padding-bottom: 0;
}

.navbar .menu.open li a {
    color: #ddd;
}

.navbar select {
    padding: 5px 8px;
    border-radius: 6px;
    border: 2px solid white;
    background: transparent;
    color: white;
}

.navbar option {
    background-color: #09005c;
    color: white;
}

.navbar button {
    display: none;
}

@media (max-width: 600px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }

    .navbar .menu {
      display: none;
    }

    .navbar button {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 15px;
      border-radius: 20px;
      font-size: 15px;
      font-weight: 15px;
      color: #393939;
      background: white;
      border: none;
      cursor: pointer;
    }

    .navbar button img {
      width: 13px;
    }

    .navbar .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }
}
