/*====================================
# nav 1
==================================== */
.main-nav {
  padding: 0 3rem;
  background-color: #efefef;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}

.main-nav .navbar-nav .nav-link {
  color: #212121;
  transition: 0.3s ease-in-out;
  padding: 18px 15px;
}

.main-nav .navbar-nav .nav-link:hover {
  color: #655ACE;
}

.signup-link {
  background-color: #0087FF;
}

.signup-link:hover {
  background-color: #6cbaff;
}

.custom-toggler.navbar-toggler {
  border: none;
}

.navbar-brand img{
  height: 3.5rem;
}

.navbar.solid {
  background-color: #232946!important;
  transition: background-color 1s ease 0s;
}


@media (max-width:992px) {
  .main-nav {
    position: fixed;
    width: 100%;
    z-index: 100;
  }

  .main-nav .navbar-nav {
    width: 100%;
    height: 100vh;
    text-align: center;
  }

  .main-nav .navbar-nav .nav-link {
    padding: 15px 20px;
  }

  .signup-link {
    border-radius: 30px;
  }

   .navbar-logo{
    width: 160px;
  }

  .navbar-toggler{
    margin: 0 auto;
  }


}

@media (max-width:576px) {
  .main-nav{
    padding: 0 20px;
  }
  .navbar-brand img{
    height: 2rem;
  }
  
}

/*====================================
# openbtn 小版按鈕
==================================== */
.openbtn {
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

/*======= 按鈕內側 =======*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #946762;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

/*======= active 線動作 =======*/

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* ====================================================
# navbar-index "首頁限定"滾動變化設定
====================================================*/

.navbar-index {
    transition-duration: 1s;
    background-color: transparent;
    box-shadow: none;
}

.navbar-index .navbar-nav .nav-link {
    padding: 20px 15px;
    color: #fff;
}

.navbar-index .navbar-brand img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(186deg) brightness(102%) contrast(104%);
}

.navbar-index .nav-signup {
    background: none;
    border: 1px solid #fff;
}

@media (max-width:1200px) {
    .navbar-index .navbar-nav {
        background-color: rgba(0, 114, 197, 0.75);
    }

}
