:root {
  --canvas: #1d1d1d;
  --paper: #ffffff;
  --ink: #111111;
  --muted-ink: #4f5860;
  --accent: #0a4c70;
  --divider: #111111;
  --rating: #f5a623;
  --page-width: 8.5in;
  --page-height: 11in;
  --print-page-height: 15in;
  --page-padding: 0.25in 0.21in;
  --section-gap: 17px;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
}

@page {
  size: 8.5in var(--print-page-height);
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
}

.resume {
  position: relative;
  width: min(100%, var(--page-width));
  min-height: var(--page-height);
  margin: auto;
  padding: var(--page-padding);
  background: var(--paper);
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

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

strong {
  font-weight: 600;
}

.resume-header h1 {
  font-size: 20pt;
  font-weight: 600;
  line-height: 1.1;
}

@keyframes role-sweep {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 100% center;
  }
}

.role {
  margin-top: 5px;
  font-size: 12.5pt;
  font-weight: 500;
  background: linear-gradient(90deg,
      var(--accent) 0%,
      var(--accent) 30%,
      #1a8acb 42%,
      #5bb8f5 50%,
      #1a8acb 58%,
      var(--accent) 70%,
      var(--accent) 100%);
  background-size: 300% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: role-sweep 4s linear infinite;
}

.contact-list,
.profile-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 0;
  font-size: 10.5pt;
  font-style: normal;
  list-style: none;
}

.contact-list {
  gap: 10px 10px;
}

.profile-list {
  gap: 10px 30px;
}

.contact-list li+li {
  border-left: 1px solid #9ca3a8;
  padding-left: 10px;
}

.profile-list a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.linkedin-icon {
  width: 13px;
  height: 13px;
}

.github-icon {
  width: 16px;
  height: 16px;
}

.portfolio-icon {
  width: 14px;
  height: 14px;
}

.resume-section {
  margin-top: var(--section-gap);
}

.underline-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--divider);
}

.underline-heading h2 {
  font-size: 9pt;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.summary {
  margin-top: 8px;
  font-size: 10.5pt;
  line-height: 1.4;
}

.entry {
  margin-top: 14px;
}

.entry-heading,
.entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 10.5pt;
}

.entry-heading h3 {
  font-size: 11pt;
  font-weight: 600;
}

.entry-meta {
  margin-top: 3px;
  color: var(--muted-ink);
  font-weight: 500;
}

.entry-date {
  min-width: 155px;
  text-align: right;
  font-weight: 500;
}

.highlights {
  margin-top: 8px;
  padding-left: 22px;
}

.highlights li {
  margin: 3px 0;
  padding-left: 4px;
  font-size: 10.5pt;
  line-height: 1.35;
}

.award h3,
.certificate h3,
.paper h3 {
  font-size: 10pt;
  font-weight: 500;
}


.skill-list {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9.5pt;
}


.skill-list strong {
  font-weight: 500;
}

.award-list,
.certificate-list,
.paper-list {
  display: grid;
  gap: 16px;
  margin-top: 9px;
}

.award-list {
  grid-template-columns: repeat(3, 1fr);
}

.certificate-list {
  grid-template-columns: repeat(2, 1fr);
}

.paper-list {
  grid-template-columns: repeat(2, 1fr);
}

.award p,
.certificate p,
.paper p {
  color: var(--muted-ink);
  font-size: 10pt;
}


@media print {
  .role {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--accent);
    animation: none;
  }
}

@media print {

  body {
    background: var(--paper);
  }

  .resume {
    width: var(--page-width);
    margin: 0;
    box-shadow: none;
  }

  .profile-list a {
    color: var(--ink);
  }
}

.more-link {
  font-size: 7.5pt;
  font-weight: 600;
  color: var(--muted-ink);
}

.more-link:hover {
  text-decoration: underline;
  text-underline-offset: 1px;
}

@media (max-width: 600px) {
  .resume {
    margin: 0;
    padding: 24px 20px;
    box-shadow: none;
  }

  .entry-heading,
  .entry-meta {
    display: block;
  }

  .entry-date {
    min-width: 0;
    margin-top: 2px;
    text-align: left;
  }

  .award-list,
  .certificate-list,
  .paper-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
