/* Mobile-specific styles */
body {
    font-size: 12px;
    padding: 5px;
    overflow-x: hidden;
}

.grid-container {
    display: flex;
    flex-direction: column;
    padding: 5px;
    width: 100%;
}

.grid-container > div {
    width: 100%;
    padding: 5px;
}

.sidebar, .content {
    width: 100%;
    padding: 5px;
}

.item1, .item2, .item3, .item4, .item5, .item6 {
    width: 100%;
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}

footer ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

footer li {
    margin: 0 5px;
}
@media only screen and (max-width: 768px) {
  /* Show the hamburger button and hide the sidebar by default */
  #sidebar-toggle {
    display: block !important;
    background: #3CB371;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    width: 100%;
    text-align: left;
  }
  
  #sidebar-container {
    position: fixed;
    top: 0;
    left: -300px;  /* Hide off-canvas; adjust as needed */
    width: 300px;  /* Sidebar width on mobile */
    height: 100%;
    background: #66CDAA;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  /* Show the close button inside the sidebar */
  #sidebar-close {
    display: block !important;
    background: #3CB371;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    width: 100%;
    text-align: right;
  }
  
  /* Ensure main content takes full width when sidebar is hidden */
  .content {
    width: 100% !important;
    margin-left: 0 !important;
  }
}
/* Mobile-specific slide-out sidebar styles */
@media only screen and (max-width: 768px) {
  /* Show hamburger button on mobile */
  #sidebar-toggle {
    display: block !important;
    background: #3CB371;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }
  
  /* Hide the sidebar by default (position it off-canvas) */
  #sidebar-container {
    position: fixed;
    top: 0;
    left: -300px;  /* Sidebar is hidden off the left; adjust width as needed */
    width: 300px;  /* Sidebar width on mobile */
    height: 100%;
    background: #66CDAA;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  /* Show the close button inside the sidebar when it is open */
  #sidebar-close {
    display: block;
    background: #3CB371;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    width: 100%;
    text-align: right;
    cursor: pointer;
  }
  
  /* When the sidebar container has the class 'active', slide it in */
  #sidebar-container.active {
    left: 0;
  }
  
  /* Ensure main content takes full width */
  .content {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

