#about-button {
  background-color: #f65454;
}
#about-button a span {
  color: #000000;
}



/* Timeline Container */
.timeline-container {
  top: 0px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

/* Individual Timeline */
.timeline {
  width: 45%;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f65454; /* Primary Accent */
  left: 0; /* Central line on the left */
}

.timeline-title {
  font-size: 30px;
  color: #ff6e58; /* Light Background */
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px #000000;
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-org {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  text-shadow: 2px 2px 4px #000000;

}

.timeline-logo {
  width: 60px; /* Logo size */
  height: 60px; /* Logo size */
  border-radius: 8px; /* Slightly rounded corners */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff; /* Secondary Dark */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 0;
  transform: translateX(-50%); /* Center the logo on the line */
}

.timeline-logo img {
  width: 100%; /* Fill the square */
  height: 100%; /* Fill the square */
  object-fit: cover; /* Ensure the image fits nicely */
}

.org-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #E0E1DD; /* Light Background */
  margin-left: 50px; /* Align org name to the right of the logo */
}

.org-name .timeline-date {
  font-size: 0.9em;
  color: #778DA9; /* Secondary Accent */
  font-weight: normal;
}

.timeline-org-card {
  padding: 20px;
  background: #1B263B;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 10px; /* Space between logo and card */
  margin-left: -10px; /* Align card with org name */


  border: 1px solid rgba( 255, 255, 255, 0.18 );
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur( 2px );
  border-radius: 1em;
}

.timeline-org-card h3 {
  margin: 0 0 10px;
  font-size: 1.5em;
  color: #ffd787; /* Light Background */
}

.timeline-org-card ul {
  margin: 0;
  padding-left: 20px;
}

.timeline-org-card li {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
    align-items: center;
  }

  .timeline {
    width: 100%;
    margin-bottom: 40px;
  }

  .timeline::before {
    left: 0; /* Central line on the left */
  }
}


/* About Section */
.about-me-section {
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, #2c2c2c,  #2c2c2c 30%);
  /* background: #0D1B2A url(assets/images/icons/nANIIng.jpeg); */
  background-repeat: no-repeat;
  /* -webkit-mask-image: url("assets\\images\\textures\\grainy.png");
  mask-image: url("assets\\images\\textures\\grainy.png"); */

  box-sizing: border-box;
  transition: all 0.5s ease;
  z-index: 1;
  overflow-y: auto;
  padding: 20px;

  box-shadow: inset 0px 0px 300px 50px #00000080;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  left: 0;
  
}

.about-me-title {
  font-size: 2rem;
  color: #E0E1DD;
  padding: 20px;
  margin: 0px;
  text-align: center;
}

.about-me-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;

  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  border: 1px solid rgba( 255, 255, 255, 0.18 );
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur( 5px );
  border-radius: 1em;
}

.about-me-content p {
  margin-bottom: 10px;
}



/* Formula 1 */
.formula1 {
  width: 100%;
  box-shadow: inset 0px 0px 200px 40px #000000;
  display: flex;
  align-items: center; /* Vertical centering */
  justify-content: center;
}

.formula1 img{
  position: relative;
  height: min(100%, 0px);
  max-width: 100%;
  object-fit: contain;
  z-index:-1;
}