@charset "utf-8";
/* CSS Document */

@media only screen and (max-width: 768px) {

  /* Hide sidebar on mobile */
  .side-nav {
    display: none;
  }

  /* Hamburger icon */
  .mobile-menu-icon {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #333;
    color: white;
    padding: 0.5em 1em;
    font-size: 1.5em;
    z-index: 1001;
    border-radius: 5px;
    cursor: pointer;
  }

  /* Bottom pop-up nav container */
  .mobile-nav-popup {
    position: fixed;
    bottom: -100%; /* hidden by default */
    left: 0;
    width: 100%;
    background-color: #333;
    transition: bottom 0.3s ease-in-out;
    z-index: 1000;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.4);
  }

  /* Active class to show nav */
  .mobile-nav-popup.show {
    bottom: 0;
  }

  .mobile-nav-popup ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
  }

  .mobile-nav-popup li a {
    display: block;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 1.2em;
  }

  .mobile-nav-popup li a:hover {
    background-color: #555;
  }

  /* Main content shifts to full width */
  .main-content {
    margin-left: 0;
    padding: 20px;
  }
}
