/* Profile photo on the Home page */
.profile-photo {
  border-radius: 50%;
  /* border-radius: 50px; */
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.75rem auto;
}

/* Hero section on the Home page */
/* .hero {
  text-align: center;
  padding: 1rem 1rem 1.25rem 1rem;
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f7ff 50%, #e8f0fe 100%);
  border-radius: 8px;
} */

/* .hero {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;

  background-image: url("../images/cover.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
} */

.hero {
  text-align:center;
  padding:2rem 1rem;
  border-radius:12px;

  background:
      linear-gradient(
          rgba(255,255,255,.45),
          rgba(255,255,255,.45)
      ),
      url("../images/cover.png");

  background-size:cover;
  background-position:center;
}

/* .hero {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;

  background:
      linear-gradient(
          rgba(0,0,0,.35),
          rgba(0,0,0,.35)
      ),
      url("../images/cover.png");

  background-size: cover;
  background-position: center;
} */

.hero h1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  /* color: white; */
  color: black;
  /* color: var(--md-default-fg-color); */
}

.hero p {
  margin-top: 0;
  margin-bottom: 0.25rem;
  /* color: white; */
}

.hero + hr {
  margin-top: 0.5rem;
}

/* About Me section on the Home page */
.about-section {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 0 0 auto;
}

.about-image img {
  width: 400px;
  border-radius: 8px;
  display: block;
}

@media (max-width: 600px) {
  .about-section {
    flex-direction: column;
  }
  .about-image img {
    width: 100%;
  }
}

/* Timeline on the Experience page */
.timeline {
  padding-left: 1.75rem;
  border-left: 3px solid var(--md-primary-fg-color--light);
}

.timeline-entry {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -2.2rem;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background-color: var(--md-primary-fg-color);
  border: 2px solid var(--md-default-bg-color);
}

.timeline-entry h3 {
  margin-top: 0;
}

/* Skills grid cards on the Home page */
/* .md-typeset .grid.cards > ul > li {
  background-color: #f0f7ff;
} */

.md-typeset .grid.cards > ul > li {
  background-color: #FFF9E6;
  color: black;
  border: 2px solid #FDF6D3;
    /* background-color: var(--md-default-bg-color); */
    /* color: var(--md-default-fg-color);
    border: 2px solid var(--md-default-fg-color--lightest); */
}

/* Project cards on the Projects gallery page */
.project-card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  padding: 1rem;
  background-color: #f0f7ff;
  transition: box-shadow 0.2s;
}

.project-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
