.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  background:#fff;
  border-bottom:1px solid #ddd;
  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:Righteous;
  font-size:20px;
}

.logo img{
  width:26px;
  height:26px;
}

.menu{
  display:flex;
  gap:20px;
  align-items:center;
}

.menu a{
  text-decoration:none;
  color:#000;
}

.menu i{
  cursor:pointer;
}

.hamburger{
  width:30px;
  height:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
}

.hamburger span{
  display:block;
  height:3px;
  background:#000;
  border-radius:2px;
  transition:.3s;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

.side{
  position:fixed;
  top:0;
  left:-300px;
  width:300px;
  height:100%;
  background:#fff;
  transition:.35s ease;
  padding:20px;
  box-shadow:4px 0 12px rgba(0,0,0,.2);
  z-index:999;
}

.side.open{
  left:0;
}

.side-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
}

.side-header img{
  width:32px;
}

.side-header span{
  font-family:Righteous;
  font-size:20px;
}

.side a{
  display:flex;
  align-items:center;
  gap:10px;
  margin:12px 0;
  text-decoration:none;
  color:#333;
  font-weight:500;
  padding:8px;
  border-radius:8px;
  transition:.2s;
}

.side a:hover{
  background:#f0f0f0;
  color:#1a73e8;
}

.overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.4);
  display:none;
}

.overlay.show{
  display:block;
}