.menu-btn {
  display: none;
  font-size: 35px;
  cursor: pointer;
}

.close-btn {
  display: none;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .buttons {
    display: none;
  }

  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    backdrop-filter: blur(20px);

    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: #141b34;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    transition: 0.5s ease;
    z-index: 1001;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  }

  .showMenu {
    left: 0;
  }

  .close-btn {
    display: block;
    font-size: 35px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
  }

  .close-btn:hover {
    color: #2563eb;
  }

  nav ul li {
    list-style: none;

    opacity: 0;
    transform: translateY(-30px);
  }

  .showMenu li {
    opacity: 0;

    animation: fall 0.8s forwards;
  }

  .showMenu li:nth-child(2) {
    animation-delay: 0.1s;
  }

  .showMenu li:nth-child(3) {
    animation-delay: 0.2s;
  }

  .showMenu li:nth-child(4) {
    animation-delay: 0.3s;
  }

  .showMenu li:nth-child(5) {
    animation-delay: 0.4s;
  }

  .showMenu li:nth-child(6) {
    animation-delay: 0.5s;
  }

  .showMenu li:nth-child(7) {
    animation-delay: 0.6s;
  }

  @keyframes fall {
    0% {
      opacity: 0;

      transform: translateY(-80px) scale(0.8);
    }

    60% {
      opacity: 1;

      transform: translateY(15px) scale(1.05);
    }

    80% {
      transform: translateY(-8px);
    }

    100% {
      opacity: 1;

      transform: translateY(0) scale(1);
    }
  }

  nav ul li a {
    text-decoration: none;

    color: white;

    font-size: 40px;

    font-weight: 500;

    letter-spacing: 2px;
    transition: 0.4s;
  }

  nav ul li a:hover {
    color: #2563eb;

    transform: translateX(15px);
    transition: 0.5s;

    display: block;

    padding: 14px 0;

    color: #2563eb;
    transform: translateX(10px);
    padding-left: 15px;
  }
  /* ACTIVE LINK */

  nav ul li a.active {
    color: blue;

    border-radius: 15px;

    transform: translateX(10px);

    padding: 15px 20px;
  }

  .logo {
    font-size: 34px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #2563eb;
  }
  body {
    font-family: "Poppins", sans-serif;
  }
  .showMenu {
    left: 0;

    animation: slideSidebar 0.1s ease;
  }

  @keyframes slideSidebar {
    from {
      left: -100%;
    }

    to {
      left: 0;
    }
  }
}
#loader{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#111;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#loader h2{
    color:#f5b300;
    margin-top:20px;
    font-size:32px;
    letter-spacing:2px;
}

.spinner{
    width:70px;
    height:70px;
    border:6px solid rgba(255,255,255,.2);
    border-top:6px solid #f5b300;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.mobile-auth{
    margin-top:100px;
    display:none;
    flex-direction:column;
    gap:15px;
}

.mobile-login,
.mobile-register{
    text-decoration:none;
    text-align:center;
    padding:14px;
    border-radius:12px;
    font-weight:600;
}

.mobile-login{
    border:1px solid white;
    color: white;
}

.mobile-register{
    background: #2563eb;
    color:white;
}
.mobile-auth a:hover {
color: #f5b300;

}

@media(max-width:768px){

    .mobile-auth{
        display:flex;
    }

    .buttons{
        display:none;
    }

}