:root {
  --bg: #fdfcfa;
  --bg-alt: #f6f2eb;
  --ink: #21201d;
  --ink-soft: #4a4742;
  --muted: #7a756c;
  --rule: #e6e0d5;
  --rule-strong: #d3cabb;
  --accent: #a6192e;
  --link: #1660a8;
  --selection: rgba(166, 25, 46, 0.13);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--selection);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:focus,
a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

body,
td,
th,
tr,
p,
a {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

strong {
  font-family: var(--sans);
  font-size: 16px;
}

h2 {
  position: relative;
  margin: 0 0 18px 0;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: var(--accent);
}

.papertitle {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.name {
  padding-top: 16px;
  margin: 0 0 10px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  text-align: left;
}

.one {
  width: 200px;
  height: 200px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body > table {
  max-width: 980px !important;
  background: var(--bg);
}

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

li {
  margin-bottom: 5px;
}

.name + p {
  color: var(--ink-soft);
}

.project-item > td:first-child {
  width: auto !important;
  padding: 0 !important;
  vertical-align: top !important;
}

.project-item > td:nth-child(2) {
  width: auto !important;
  padding: 0 !important;
  vertical-align: top !important;
  line-height: 1.36;
}

.project-item {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 18px 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.project-item .one {
  width: 100%;
  max-width: 300px;
  height: auto;
  position: relative;
  background: transparent;
  line-height: 0;
}

.project-item .one img,
.project-item .one video {
  width: 100% !important;
  height: auto !important;
  display: block;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.project-item .one img.contain-img {
  object-fit: initial;
}

.project-item .two {
  width: 100%;
  height: auto;
}

.project-item p {
  margin-top: 11px;
  margin-bottom: 0;
  padding: 8px 13px;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-left: 3px solid var(--rule-strong);
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.45;
}

.project-item em {
  color: var(--muted) !important;
  font-size: 15px;
  font-style: normal;
}

.project-item em b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 640px) {
  body > table {
    max-width: 100% !important;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .project-item .one {
    max-width: none;
  }

  .name {
    text-align: center;
    font-size: 32px;
  }
}
