table {
  width: var(--width-full);
  border-collapse: collapse;
}

.alternating-color tr:nth-child(odd),
.alternating-color ul li:nth-child(odd) {
  background-color: var(--cv-row-color-light-theme-odd);
}

.alternating-color thead tr:nth-child(odd),
.alternating-color tr:nth-child(even),
.alternating-color ul li:nth-child(even) {
  background-color: var(--cv-row-color-light-theme-even);
}

td:first-child {
  width: var(--width-quarter);
}

td:last-child {
  width: var(--width-three-quarters);
}

.languages td:first-child {
  width: 40%;
}

.languages td:last-child {
  width: 60%;
}

td {
  vertical-align: top;
  padding-bottom: var(--padding-small);
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  padding-bottom: var(--padding-small);
}

header {
  font-weight: var(--font-weight-normal);
}

td span.skill {
  display: inline;
}

td span.skill::after {
  content: ".";
  margin-right: var(--small-text-margin-right);
}

.duration {
  margin: 0 0 var(--padding-small) 0;
  color: var(--cv-color-duration-light-theme);
}

.page-break {
  break-before: page;
}

.image-align-right {
  display: flex;
  justify-content: flex-end;
}

.profile-pic {
  width: 96px;
  height: auto;
}

.block-style td {
  display: block;
  width: var(--width-full);
}

@media (prefers-color-scheme: dark) {
  .duration {
    color: var(--cv-color-duration-dark-theme);
  }


  .alternating-color tr:nth-child(odd),
  .alternating-color ul li:nth-child(odd) {
    background-color: var(--cv-row-color-dark-theme-odd);
  }

  .alternating-color thead tr:nth-child(odd),
  .alternating-color tr:nth-child(even),
  .alternating-color ul li:nth-child(even) {
    background-color: var(--cv-row-color-dark-theme-even);
  }
}

@media screen and (max-width: 767px) {
  tr:nth-of-type(2n-1) {
    font-weight: inherit;
  }

  tr td:first-child {
    font-weight: var(--font-weight-normal);
  }

  td {
    display: block;
    width: var(--width-full);
  }
}

@media screen and (max-width: 687px) {
  .image-align-right {
    justify-content: flex-start;
  }
}
