ul.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  list-style: none;
  padding: 0;
}

ul.skills-grid li {
  display: flex;
  align-items: center;
  font-size: 16px;
}

ul.skills-grid li svg {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

ul.skills-grid li i {
  margin-right: 10px;
}

body *::selection {
  background-color: #66aaff !important;
  color: black !important;
}

/* Project cards: screenshots and generated covers arrive at wildly different
   aspect ratios, which leaves the grid ragged. Crop them all to one band so
   the row heights line up. */
#projects .card-head {
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

#projects .card-img-top {
  width: 100% !important;
  height: 210px !important;
  object-fit: cover !important;
  object-position: top center;
}

/* Keep the tech badges legible instead of letting them blend into the card. */
#projects .badge {
  margin-right: 4px;
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
