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;
}

/* Logo */

/* Buttons Container */
.nav-buttons {
  display: flex;
  gap: 15px; /* Space between buttons */
  padding-left: 35%; /* 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;
}

.main {
  flex: 1; /* Pushes the footer down */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
  background-color: #222;
  color: white;
  text-align: left;
  gap: 10px;
}

.main .project {
  border: 1px solid rgba(72, 91, 98, 0.232);
  width: 97%;
  background-color: #333;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-left: 15px;
}

.main .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(125, 121, 121, 0.501);
}
.main a {
  color: white;
  text-decoration: none;
}

.main a:hover {
  transform: translateY(-5px);
  color: darkgoldenrod;
}

/* 📱 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;
  }
}

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

/* 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;
}
