/* styles.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
}

header {
  background-color: #252424;
  color: white;
  padding: 1rem;
  text-align: center;
}

.intro {
  text-align: center;
  padding: 2rem;
  background-color: #e0f7fa;
}

.roadmap,
.programmer-history,
.interview-invites,
.patreon,
.enduring-resource {
  padding: 2rem;
  background-color: white;
  margin-bottom: 1.5rem;
}

.roadmap h2,
.programmer-history h2,
.interview-invites h2,
.patreon h2,
.enduring-resource h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.roadmap ul,
.programmer-history ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.roadmap li,
.programmer-history li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.roadmap li a {
  text-decoration: none;
  color: #00796b;
}

.roadmap li a:hover {
  color: #004d40;
}

.invite-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.invite-grid img {
  width: 200px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  object-fit: cover;
}

/* Styling the interview invite image */
.interview-invite {
  width: 300px;
  /* Initial size */
  cursor: url('magnifying-glass-icon.png'), auto;
  /* Change cursor to magnifying glass */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add magnifying glass cursor hover */
.interview-invite:hover {
  cursor: url('magnifying-glass-icon.png'), auto;
}

/* Expanded image styling */
.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  /* Larger size for expanded image */
  height: auto;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* Semi-transparent background */
  z-index: 999;
}

.patreon {
  text-align: center;
}

.donate-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ff4081;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
}

.donate-button:hover {
  background-color: #c2185b;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Roadmap Section - GitHub Branch Styling */
.roadmap ul {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  /* Center the roadmap */
}

.roadmap li {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: background-color 0.3s ease;
}

.roadmap li:hover {
  background-color: #f0f8ff;
}

.roadmap li::before {
  content: '⎇';
  /* Branch icon */
  font-size: 1.5rem;
  color: #586069;
  /* GitHub grey */
  margin-right: 1rem;
}

.roadmap li a {
  text-decoration: none;
  font-weight: bold;
  color: #0366d6;
  /* GitHub blue */
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.roadmap li a:hover {
  color: #0056b3;
  /* Darker hover effect */
}

.roadmap li::after {
  content: "";
  position: absolute;
  width: 2px;
  height: calc(100% + 10px);
  background-color: #d1d5da;
  /* Light grey branch line */
  left: 20px;
  /* Align to the left */
  top: 100%;
}

.roadmap li:first-child::after {
  top: 100%;
}

.roadmap li:last-child::after {
  display: none;
}

/* Sub-list styling */
.roadmap ul ul {
  padding-left: 2rem;
  /* Indent sub-list */
  margin-top: 1rem;
}

.roadmap ul ul li {
  background-color: #f2f2f2;
  /* Slightly different background for sub-branches */
  padding-left: 2rem;
  /* More indentation */
  position: relative;
}

.roadmap ul ul li::before {
  content: '⎇';
  /* Same branch icon */
  font-size: 1.2rem;
  /* Slightly smaller icon */
  margin-right: 0.5rem;
  color: #8b949e;
  /* Lighter grey for sub-branch */
}

.roadmap ul ul li::after {
  content: "";
  position: absolute;
  width: 2px;
  height: calc(100% + 10px);
  background-color: #d1d5da;
  /* Light grey branch line */
  left: 10px;
  /* Indent branch line */
  top: 100%;
}

.roadmap ul ul li:first-child::after {
  top: 50%;
}