nav {
  background-image: url(../img/01-nav-bg.png);
  background-color: #fff;
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: repeat-x;
  padding: 1.5rem 4rem;
  box-shadow: 0 2px 12px rgb(0 0 0 / 30%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 99;
}
nav,
#logo {
  transition: all 0.5s;
}
nav.affix {
  position: fixed;
  left: 0;
  top: 0;
  padding-top: 0;
  padding-bottom: 1rem;
}
#logo.affix {
  transform: scale(0.8);
}

/* #logo.affix img {
  width: 14rem;
  height: auto;
} */
.nav-txt {
  display: flex;
  align-items: center;
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}
.nav-txt > li {
  padding: 0 2rem;
}
.nav-txt > li > a {
  color: #3b3b3b;
}
.site-menu {
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
}
#mclick {
  border: none;
  outline: none;
  background-color: transparent;
  display: none;
  z-index: 95;
  position: relative;
  width: 32px;
  height: 32px;
  background-image: url(../img/menu-icon.png);
  background-repeat: no-repeat;
  background-position: center;
}
#mclick.open {
  background-image: url(../img/menu-icon-close.png);
}
#slide-over {
  display: none;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 92;
}

#slide-over.toggle {
  display: block;
}
@media (max-width: 1025px) {
  #mclick {
    display: block;
  }
  nav {
    /* height: 80px; */
    /* position: fixed; */
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 1rem;
  }
  #logo img,
  #logo.affix img {
    height: auto;
    width: 80%;
  }
  nav.affix {
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .nav-txt {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 6rem;
    width: 90%;
  }
  .nav-txt > li {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }
  .site-menu {
    position: fixed;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 60%;
    right: -100%;
    top: 0;
    transition: all 0.5s;
    background-color: #fff;
    height: 100vh;
    z-index: 93;
  }
  .site-menu:focus{
    background-color: #eee;
  }
  .site-menu.open {
    right: 0;
    box-shadow: -5px 0 10px 0 rgb(0 0 0 / 20%);
  }
}
@media (max-width: 768px) {
}
