/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Layout */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
  display: flex;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #f5f5f5;
  padding: 2rem 1rem;
  border-right: 1px solid #ddd;
}
.sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.sidebar ul {
  list-style: none;
}
.sidebar li {
  margin: 1rem 0;
}
.sidebar a {
  color: #111;
  text-decoration: none;
}
.sidebar a:hover {
  color: #0077ff;
}

/* Main Content */
main {
  margin-left: 240px; /* leave space for sidebar */
  padding: 2rem;
  max-width: 800px;
}

/* Sections */
section {
  margin-bottom: 4rem;
}
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
  color: #333;
}

/* Projects */
.project {
  margin-bottom: 2rem;
}

.project-links {
  margin-top: 15px; /* Adds space above the buttons */
  display: flex;
  gap: 12px; /* Adds space between the buttons */
}

/* Style for the primary "Live Demo" button */
.project-link-btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: #007bff; /* Example: A nice blue */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.project-link-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px); /* Slight lift effect */
}

/* Style for the secondary "GitHub" button */
.project-link-btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  background-color: #6c757d; /* Example: A neutral grey */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.project-link-btn-secondary:hover {
  background-color: #5a6268; /* Darker grey on hover */
  transform: translateY(-2px); /* Slight lift effect */
}