/* Experience list link hover effect */
.contrast-list > li a {
  display: block;
  width: fit-content;
  color: #58a6ff;
  text-decoration: none;
  transition: background 0.2s;
}
.contrast-list > li a {
  transition: color 0.2s;
}
.contrast-list > li a:hover {
  color: #0288d1;
}
/* Main CTA Title */
.cta-title {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #ccd1d5;
  background: none;
  margin: 0.5rem 0 1.5rem 0;
  letter-spacing: 0.5px;
}

/* Social Icons */
.social-links {
  margin: 0.5rem 0 2.5rem 0;
}
.social-icon {
  width: 32px;
  height: 32px;
  margin: 0 0.5rem;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px #222a);
  transition: transform 0.2s, filter 0.2s;
}
.social-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 2px 4px #e6edf3);
}

/* List Contrast & Separation */
.contrast-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.contrast-list > li {
  background: #161b22;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  padding: 1.1rem 1.2rem 0.8rem 1.2rem;
  box-shadow: 0 1px 4px #0002;
  transition: background 0.2s;
}
.contrast-list > li strong {
  font-size: 1.08em;
  display: block;
  margin-bottom: 0.2em;
}

.contrast-list > li > strong {
  color: #e1e7ec;
}

@media (max-width: 768px) {
  .contrast-list {
    padding-left: 0;
  }
  .contrast-list > li {
    margin-left: 0;
    border-left: none;
    border-radius: 8px;
  }
  .contrast-list > li a {
    justify-self: center;
  }
}
/* Global Styles */
body {
  background-color: #0d1117;
  font: 14px / 1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #c9d1d9;
  margin: 0 auto;
  padding: 2rem;
  max-width: 860px;
}

h1,
h2,
h3,
span {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

span {
  font-size: 24px;
}

h1,
span {
  color: #f1f7ff;
}

h2 {
  color: #e6edf3;
}

p {
  margin: 0.5rem 0;
}

a {
  color: #58a6ff;
  text-decoration: none;
  transition: 0.25s ease;
}

a:hover {
  color: #8cbcff;
}

hr {
  border: 0;
  border-top: 1px solid #30363d;
  margin: 2rem 0;
}

/* Layout grid */
.grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-pic {
  border-radius: 50%;
  border: 2px solid #e6edf3;
  margin: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }
}
