/* Navbar styling */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 20px 10px;
  font-family: 'Courier New', Courier, monospace;
  text-align: right;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-bottom: 3px solid #4d31f1;
}

/* Links styling */
.nav-links {
  display: inline-block;
}

.nav-links a {
  color: black;
  text-decoration: none;
  margin: 0 15px;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-style: italic;
}

.nav-links a:hover {
  background: linear-gradient(to right, #799af5, #72f2ca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #799af5, #72f2ca);
  transition: width 0.3s;
  margin: 0 auto;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Body styling */
body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f0f8ff;
  color: #333;
  padding-top: 80px;
  /* Added padding to prevent content overlap with navbar */
}

/* Experience container styling */
.experience-container {
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  width: 90%;
}

/* Experience column styling */
.experience-column {
  width: 30%;
}

.experience-column h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #fa69ff, #4d31f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* Timeline styling */
.timeline {
  padding: 20px 0;
}

/* Timeline event styling */
.timeline-event {
  background: #ffffff;
  border: 2px solid #fa69ff;
  margin: 20px 0;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-event:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.timeline-event h2 {
  font-size: 1.4em;
  color: #333;
  background: linear-gradient(45deg, #ff69b4, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #fa69ff;
}

.timeline-event .date {
  font-size: 1.1em;
  color: #555;
  display: block;
  margin-top: 5px;
  font-style: italic;
}

/* Timeline content styling */
/* Timeline content styling */
.timeline-content {
  display: block;
  /* Changed from 'none' to 'block' */
  margin-top: 20px;
}

.timeline-event:hover .timeline-content {
  display: block;
  animation: fadeIn 0.5s ease;
}

.timeline-content.open {
  display: block;
}

/* List styling */
.timeline-event ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-event ul li {
  background: #c65fbe;
  color: #fff;
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 5px;
}