/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --text: #222;
  --muted: #666;
  --link: #1772d0;
  --link-hover: #f09228;
  --line: #e6e1da;
  --surface: #f6f3ee;
  --paper: #fffefa;
  --page-bg: #faf8f4;
  --card-bg: #ffffff;
  --card-border: #e0e0e0;
  --card-shadow: rgba(0,0,0,0.07);
  --highlight-bg: #ffffd0;
  --author-link: #222;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e8e8;
    --muted: #aaa;
    --link: #6ab0f3;
    --link-hover: #ffb066;
    --line: #3a3a3a;
    --surface: #252525;
    --paper: #2a2a2a;
    --page-bg: #1a1a1a;
    --card-bg: #252525;
    --card-border: #3a3a3a;
    --card-shadow: rgba(0,0,0,0.4);
    --highlight-bg: #4a4500;
    --author-link: #e8e8e8;
  }
}

[data-theme="light"] {
  --text: #222;
  --muted: #666;
  --link: #1772d0;
  --link-hover: #f09228;
  --line: #e6e1da;
  --surface: #f6f3ee;
  --paper: #fffefa;
  --page-bg: #faf8f4;
  --card-bg: #ffffff;
  --card-border: #e0e0e0;
  --card-shadow: rgba(0,0,0,0.07);
  --highlight-bg: #ffffd0;
  --author-link: #222;
}

[data-theme="dark"] {
  --text: #e8e8e8;
  --muted: #aaa;
  --link: #6ab0f3;
  --link-hover: #ffb066;
  --line: #3a3a3a;
  --surface: #252525;
  --paper: #2a2a2a;
  --page-bg: #1a1a1a;
  --card-bg: #252525;
  --card-border: #3a3a3a;
  --card-shadow: rgba(0,0,0,0.4);
  --highlight-bg: #4a4500;
  --author-link: #e8e8e8;
}


* {
  box-sizing: border-box;
}



body {
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:focus,
a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
  text-align: left;
}

.name strong {
  font-size: 24px;
}

.one {
  width: 160px;
  height: 160px;
  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: var(--highlight-bg);
}

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

.paper-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  box-shadow: 0 2px 6px var(--card-shadow);
  margin: 10px 0;
  padding: 8px 8px 14px 8px;
}

.paper-card table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
}

.paper-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.paper-img-cell {
  padding: 8px;
  width: 35%;
  vertical-align: middle;
}

.paper-content-cell {
  padding: 8px 12px;
  width: 65%;
  vertical-align: middle;
  font-size: 15px;
}

.paper-card .papertitle {
  font-size: 17px;
}

.paper-authors {
  font-size: 15px;
}

.paper-desc {
  margin: 6px 0 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.author-link {
  color: var(--author-link);
}

.muted {
  color: var(--muted);
}

.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--card-shadow);
  z-index: 100;
}

.theme-toggle:hover {
  color: var(--link-hover);
}

.logo-on-light {
  box-sizing: content-box;
  padding: 2px 4px;
  border-radius: 3px;
}

[data-theme="dark"] .logo-on-light {
  background: #fff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light {
    background: #fff;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .intro-table,
  .intro-table tbody,
  .intro-table tr {
    display: block;
    width: 100%;
  }

  .intro-text-cell,
  .intro-photo-cell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 4% !important;
  }

  .intro-photo-cell {
    text-align: center;
    order: -1;
  }

  .profile-photo {
    width: 240px !important;
    /* max-width: 95px !important; */
    margin: 0;
  }

  .intro-table tr {
    display: flex;
    flex-direction: column;
  }

  .name {
    font-size: 19px;
    text-align: center;
    padding-top: 12px;
  }

  .name strong {
    font-size: 21px;
  }

  .muted {
    text-align: center;
  }

  h2 {
    font-size: 19px;
  }

  .paper-card table,
  .paper-card tbody,
  .paper-card tr {
    display: block;
    width: 100%;
  }

  .paper-img-cell,
  .paper-content-cell {
    display: block !important;
    width: 100% !important;
    padding: 8px !important;
  }

  .paper-img-cell {
    text-align: center;
  }

  .paper-img {
    max-width: 100%;
    margin: 0 auto;
  }

  .paper-card .papertitle {
    font-size: 16px;
  }

  .paper-authors,
  .paper-desc,
  .paper-content-cell {
    font-size: 14px;
  }

  .theme-toggle {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}