@media screen and (max-width: 1462px) {
  .menu-toggle {
    opacity: 100;
    position: absolute;
    top: 15px;
    right: 20px;
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    color: whitesmoke;
    cursor: pointer;
    z-index: 200;
  }

  .nav-links-right {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 25%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    flex-direction: column;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    transition: right 1s ease-in-out;
  }

  .nav-links-right.active {
    display: flex;
    right: 0;
  }

  .nav-links-right li {
    font-family: var(--ff-montserrat);
    margin: 20px 0;
    font-weight: 600;
    padding: 13px;
    background: none;
    color: whitesmoke;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 1.2rem; /* Adjusted for better scalability */
  }

  .nav-links-right li a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem; /* Adjusted for better scalability */
    padding: 10px 0;
  }

  .nav-links-right:not(.active) {
    right: -100%;
  }
}

@media screen and (max-width: 768px) {
  .nav-links-right li {
    font-size: 1rem; /* Smaller font size for smaller screens */
  }

  .nav-links-right li a {
    font-size: 0.9rem; /* Smaller font size for smaller screens */
  }
}

@media screen and (max-width: 480px) {
  .nav-links-right li {
    font-size: 0.9rem; /* Even smaller font size for very small screens */
  }

  .nav-links-right li a {
    font-size: 0.8rem; /* Even smaller font size for very small screens */
  }
}

