body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
/* Base Navbar Styling */
.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #333;
  padding: 5px 20px;
}

/* Buttons Container */
.nav-buttons {
  display: flex;
  gap: 15px; /* Space between buttons */
  padding-left: 40%; /* Push buttons to the right */
}

/* Button Styling */
.nav-btn {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  background-color: #555;
  border-radius: 5px;
  transition: background 0.3s;
}

.nav-btn:hover {
  background-color: #777;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none; /* Hidden on desktop */
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* 📱 Responsive: Mobile Styles */
@media (max-width: 500px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 10px;
    display: none; /* Hidden initially */
    padding-left: 0%;
  }

  .menu-toggle {
    display: block; /* Show on mobile */
  }

  /* Show menu when clicked */
  .nav-buttons.show {
    display: flex;
  }
}

/* Let main content expand */
.main-content {
  flex: 1; /* Pushes the footer down */
  display: flex;
  gap: 20px;
  padding: 40px 20px;
  background-color: #222;
  color: white;
  text-align: left;
}

/* Footer Styling */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  gap: 15px;
}

/* GitHub Logo Styling */
.git-logo img {
  height: 30px; /* Adjust size as needed */
}

/* Footer Links */
.footer-link {
  color: white;
  text-decoration: none;
  padding: 8px 10px;
  background-color: #555;
  border-radius: 5px;
  transition: background 0.3s;
}

.footer-link:hover {
  background-color: #777;
}

/* 📱 Responsive: Center Everything on Mobile */
@media (max-width: 500px) {
  .footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* 📱 Responsive: Mobile Styles for Main Content */
@media (max-width: 820px) {
  .main-content {
    flex-direction: column; /* Stack text and images vertically */
    align-items: center; /* Center-align content */
    padding: 10px; /* Add some padding for better spacing */
  }

  .text {
    width: 100%; /* Make text take full width */
    padding: 10px; /* Add padding for better readability */
  }

  .pics {
    width: 100%; /* Make images take full width */
    display: flex;
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center-align images */
  }

  .pics img {
    max-width: 100%; /* Ensure images don't overflow the screen */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Add spacing between images */
  }

  .text h1,
  .text h2,
  .text p,
  .text ul {
    text-align: center; /* Center-align text */
  }

  .text ul {
    padding-left: 20px; /* Add some padding for list items */
  }

  .text a {
    display: block; /* Make download link a block element */
    text-align: center; /* Center-align the link */
    margin: 10px 0; /* Add spacing around the link */
  }

  .text hr {
    margin: 20px 0; /* Add spacing around the horizontal rule */
  }

  .text h4 {
    text-align: center; /* Center-align the disclaimer */
  }
}
