/* Profile photo on the Home page */
.profile-photo {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.75rem auto;
}

/* Oriignal 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 section on the Home page with Cover Image */
/*
.hero {
  text-align: center;
  padding: 1rem 1rem 1.25rem 1rem;
  background:
    linear-gradient(135deg, 
      rgba(232,244,248,0.82) 0%,
      rgba(240,247,255,0.82) 50%,
      rgba(232,240,254,0.82) 100%),
    url('../images/hero-image.png') center / cover no-repeat;
  border-radius: 8px;
}
*/

.hero h1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.hero p {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.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;
}

/* Resource card headers on the Resources page */
.resource-header {
  margin: -1rem -1rem 1rem -1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 7px 7px 0 0;
  font-size: 2.5rem;
  line-height: 1;
}

.resource-header { background: #e8eaf6; color: #3949ab; }

/* Skills grid cards on the Home page */
.md-typeset .grid.cards > ul > li {
  background-color: #f0f7ff;
}

/* 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;
}
