/* Mobile Menu */

.mobile-menu-btn{
  display:none;
}

.mobile-menu{
  display:none;
}

body.menu-open{
  overflow:hidden;
}

@media(max-width:768px){
  .nav{display:none !important}

  .mobile-menu-btn{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:44px;
    height:44px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:8px;
    cursor:pointer;
    position:relative;
    z-index:100001;
    transition:var(--transition);
  }

  .mobile-menu-btn:hover{
    background:rgba(255,255,255,.15);
  }

  .mobile-menu-btn span{
    display:block;
    width:22px;
    height:2px;
    background:#fff;
    margin:0 auto;
    border-radius:2px;
    transition:.3s ease;
  }

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

  .mobile-menu-btn.active span:nth-child(2){
    opacity:0;
  }

  .mobile-menu-btn.active span:nth-child(3){
    transform:rotate(-45deg) translate(5px,-5px);
  }

  .mobile-menu{
    position:fixed;
    inset:0;
    background:rgba(15,26,34,.98);
    z-index:100000;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    opacity:0;
    visibility:hidden;
    transform:scale(1.02);
    transition:.3s ease;
  }

  .mobile-menu.active{
    opacity:1;
    visibility:visible;
    transform:scale(1);
  }

  .mobile-menu a{
    width:min(320px,85vw);
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-family:var(--font-heading);
    font-size:18px;
    font-weight:700;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.04);
    border-radius:var(--radius-sm);
    transition:.3s ease;
  }

  .mobile-menu a:hover,
  .mobile-menu a:active{
    background:var(--accent);
    color:#fff;
    border-color:var(--accent);
  }
}
