#menubar {
    background-color: #3d405b;
    position: fixed; left: 0; top: 0;
    width: 100vw; height: 6rem; overflow: hidden;
    display: flex; align-items: center;
    z-index: 1000;
}

#pages-wrapper {
    display: flex; gap: 2rem; align-items: center;
    position: fixed; height: 6rem; right: 2rem;
    font-size: 1.2rem;
}

.has-sub::after {
    content: "\25BC";
    font-size: 0.6rem;
    position: relative; bottom: 0.2rem;
}

.sub .submenu {
    display: none;

    position: absolute;
    flex-direction: column;
    gap: 0.2rem;
    background-color: #3d405b;
    padding: 2.3rem 1rem 1rem;
    border-radius: 0.2rem;
}


.menu-link, .submenu-link {
    color: white;
    text-decoration: none;
}

.menu-link:hover, .submenu-link:hover {
    color: #f4a460;
    text-decoration: none;
}




/* for on hover opening */
@media all and (min-width: 992px) {
    .sub:hover .submenu {
        display: flex;
    }

    .submenu-link {
        padding-left: 0;
        padding-right: 0.5rem;
        -webkit-transition: .25s ;
        -moz-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }

    .submenu-link:hover {
        padding-left: 0.5rem;
        padding-right: 0;
        -webkit-transition: .25s ;
        -moz-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }

    #submenuAwards {
        margin-left: -3.5rem;
        white-space: nowrap;
    }
}

#mobile-menu-icon { opacity: 0 }

/* for mobile */
@media all and (max-width: 991px) {
    #mobile-menu-icon {
        opacity: 1;
        position: absolute; right: 0; top: 0;
        margin: 2.4rem 2.2rem 2.4rem 0;
    }

    #pages-wrapper {
        width: 100vw; height: 0;
        position: fixed; left: 0; top: 0;
        display: none;
        justify-content: center; align-items: center; gap: 1.5rem; flex-direction: column;
        font-size: 1.6rem; font-weight: bold;
    }

    .has-sub::after {
        display: inline-block;
        transform: rotate(270deg);
        font-size: 0.8rem;
        position: relative; bottom: 0.25rem;
    }

    .sub .submenu {
        width: 100vw; height: 100vh;
        position: absolute; left: 100vw; top: 0;
        justify-content: center; align-items: center; gap: 0.8rem; flex-direction: column;
        font-size: 1.3rem; font-weight: bold;
    }

    .back {
        display: flex; align-items: center;
        position: absolute; height: 100vh;
        width: 20vw;
        left: 0; top: 0;
        justify-content: right;
    }

    .back::before {
        content: '\140A';
        font-size: 2rem;
        color: white;
    }
}

.logo { width: 8rem; position: absolute; left: 0; top: 0; margin: 0.9rem 0 0 0.9rem; }

 
.bian{
            
            background-color:rgba(164, 222, 195, 0.498);
        }
.bian .logo,.tou.bian a{
            color: rgb(252, 247, 247);
        }
.navbar-default
  {
    background-color:transparent;
    position: sticky;
    top: 0px;
  }
  .navbar {
    transition: background-color 0.5s ease; /* 添加过渡效果，使背景颜色变化平滑 */
  }
  
  .navbar-scroll {
    background-color: rgba(0, 128, 0, 0.5) !important; /* 设置浅绿色背景和透明度 */
  }
  .navbar .dropdown-menu a.dropdown-item {
    color: black; /* 设置下拉菜单项字体颜色为黑色 */
  }
  .nav-item {
    color : rgb(11 128 175 / 55%) !important;
  }
  .nav-link {
    color : rgb(11 128 175 / 55%) !important;
  }
  
  /* 添加的样式 */
  .menu-icon-button {
    border: 0px solid transparent;
    background-color: transparent;
    position: absolute;
    top: 15px;
    left: 85vw;
  }
  .menu-icon-button:focus{
    border: 0px solid transparent;
    background-color: transparent;
  }
  .menu-navbar-vessel{
    width: 100vw;
    height: 100vh;
    background-color: rgba(214,
      227,
      186, 0.8);
    position: absolute;
    left: 0;
    top: -100vh;
    z-index: 10000;
  }
  .menu-navbar-vessel.vessel-in {
    animation: vIn 0.6s linear forwards;
  }
  @keyframes vIn {
    from{
        transform: translate(0,0);
        opacity: 0.3;
    }
    to {
        transform: translate(0,100vh);
        opacity: 0.8;
    }
  }
  .menu-navbar-vessel.quit {
    animation: quit 0.6s linear forwards;
  }
  @keyframes quit {
    from {
      transform: translate(0, 100vh);
      opacity: 0.8;
    }
    to {
      transform: translate(0,0);
      opacity: 0.3;
    }
  }
  .menu-icon-button-exit{
    display: inline-block;
    border: 0px solid transparent;
    background-color: transparent;
    position: absolute;
    width: 50px;
    height: 50px;
    overflow: hidden;
    top: 10vh;
    right: 10vw;
  }
  .exit-Button:hover{
    color: rgb(6, 70, 96);
  }
  .menu-icon-button-exit:focus {
    border: 0px solid transparent;
    background-color: transparent;
  }
  .vessel-navbar{
    margin-top: 20vh!important;
  }
  .menu-top{
    height: 80px!important;
  }
.dropdown-item {
  color: rgb(6,70,96);
}
.dropdown-item:hover {
  color: rgb(8, 31, 40);
  background-color: transparent;
}
.collapse:not(.show) {
  display: flex !important;
}
@media only screen and (min-width: 640px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (min-width: 850px) {
  .left-aligned {
    flex-direction: row !important;
  }
  .menu-icon-button {
    left: 90vw;
  }
}
@media only screen and (max-width: 850px){
  .left-aligned{
    flex-direction: column !important;
  }
    
}