/* Header styling */
#homeTitle {
  margin-top: 2rem;
  clear: both;
  text-align: center;
  font-size: 2.5rem;
  padding-top: 3rem;
}

/* About me styling */
#aboutMeContainer {
  display: flex;
  clear: both;
  align-items: center;
  justify-content: center;
}

#profilePicture {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--umber);
}

#aboutMeText {
  margin-left: 2rem;
}

/* Multiple section styling */
#multipleSection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 850px;
  margin: 0 auto;
}

.card {
  border: 1px solid;
  padding: 1rem;
  margin: 1rem;
  border-radius: 10px;
  box-shadow: 10px 10px 0 -5px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  background-color: var(--timberwolf);
  transform: translateY(-5px);
  box-shadow: 0px 0px 5px rgba(0,0,0,0.2); /* Softened shadow on hover */
}

a.cardLink {
  text-decoration: none;
  color: inherit;
}

.sectionTitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  #aboutMeContainer {
    flex-direction: column;
    text-align: center;
  }

  #aboutMeText {
    margin-left: 0;
    margin-top: 1rem;
  }

  #multipleSection {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #multipleSection {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  #multipleSection {
    grid-template-columns: repeat(3, 1fr);
  }
}
