/* 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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:hover {
  color: #f09228;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 40px;
}

.name {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  padding: 16px 0 8px;
}

.links {
  text-align: center;
}

h2 {
  font-size: 22px;
  font-weight: normal;
  margin: 24px 0 12px;
  padding-top: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

/* Hero section */
.hero-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
}

.hero-text {
  padding: 2.5%;
  width: 63%;
  vertical-align: middle;
}

.hero-photo {
  padding: 2.5%;
  width: 37%;
  max-width: 37%;
  vertical-align: middle;
}

.hero-photo img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* News */
.news-list {
  list-style: none;
  padding-left: 0;
}

.news-list li {
  margin-bottom: 6px;
  padding-left: 0;
}

.news-date {
  display: inline-block;
  width: 90px;
  font-weight: 700;
  color: #555;
}

/* Publication table */
.pub-table {
  width: 100%;
  border: 0;
  border-spacing: 0 10px;
  border-collapse: separate;
}

.pub-image {
  padding: 16px;
  width: 25%;
  vertical-align: middle;
}

.pub-image img {
  width: 220px;
  max-width: 100%;
}

.pub-text {
  padding: 8px;
  width: 80%;
  vertical-align: middle;
}

.papertitle {
  font-size: 14px;
  font-weight: 700;
}

.tech-stack {
  font-size: 12px;
  font-style: italic;
  color: #777;
}

/* Experience table */
.exp-table {
  width: 100%;
  border: 0;
  border-spacing: 0 8px;
  border-collapse: separate;
}

.exp-date {
  padding: 8px 16px 8px 0;
  width: 120px;
  vertical-align: top;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

.exp-text {
  padding: 8px;
  vertical-align: top;
}

/* General list styling */
ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

li {
  margin-bottom: 4px;
}

p {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: right;
  font-size: small;
  color: #999;
}

.footer a {
  color: #999;
}

.footer a:hover {
  color: #f09228;
}

/* Responsive */
@media (max-width: 600px) {
  .hero-table tr {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-text,
  .hero-photo {
    width: 100%;
    max-width: 100%;
    display: block;
    padding: 10px;
  }

  .hero-photo {
    text-align: center;
  }

  .hero-photo img {
    width: 200px;
    margin: 0 auto;
  }

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

  .pub-image,
  .pub-text {
    width: 100%;
    display: block;
  }

  .pub-image {
    text-align: center;
  }

  .exp-date {
    width: auto;
    display: block;
    padding-bottom: 0;
  }

  .exp-text {
    display: block;
    padding-top: 0;
  }
}
