/*====================================
# nav 1
==================================== */
.main-nav {
  padding: 0 20px;
  /* background-color: rgba(17, 17, 26, 0.4); */
  min-height: 65px;
  justify-content: flex-end;
}

.main-nav .navbar-nav .nav-link {
  color: #ffffff;
  transition: 0.3s ease-in-out;
  padding: 18px 15px;
}

.main-nav .navbar-nav .nav-link:hover {
  color: #45d0d8;
}

.container-nav{
 margin: 20px;
}


.signup-link {
  color: #232946;
  background-color: #BF2063;
}

.signup-link:hover {
  color: #ffffff;
  background-color: #848be9;
}

.custom-toggler.navbar-toggler {
  border: none;
}

.navbar-brand img {
  height: 4rem;
}

.navbar-collapse.solid {
  background-color: #005c71 !important;
  transition: background-color 1s ease 0s;
}


@media (max-width:992px) {

  .kv{
    margin-top: 104px;
  }
  .main-nav {
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: #005c71;
    justify-content: center;
  }

  .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;
  }


}

/*====================================
# 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: #fff;
  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%;
}