/* Academic homepage styling on top of Skeleton CSS.
   Skeleton sets html { font-size: 62.5% } so 1rem = 10px. */

body {
  color: #222;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1.65;
}

.container {
  max-width: 900px;
}

.header {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.header img.u-max-full-width {
  border-radius: 8px;
  max-width: 210px;
}

.main-description h1 {
  font-size: 3.6rem;
  margin-bottom: 0.4rem;
}

.main-description p {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

/* NOTE: selector must be at least as specific as ".main-description p"
   (element+class) or the icon size gets overridden back down to 1.7rem. */
.main-description p.link-icons {
  font-size: 3.2rem;
  margin-top: 0.7rem;
  line-height: 1.4;
}

.main-description p.link-icons a {
  color: #555;
  margin-right: 1.7rem;
  text-decoration: none;
}

.main-description p.link-icons a:hover {
  color: #1a1a1a;
}

section {
  margin-top: 2.8rem;
}

section h2 {
  border-top: 2px solid #222;
  padding-top: 0.7rem;
  margin-bottom: 1.2rem;
  font-size: 2.6rem;
  font-weight: 600;
}

section p {
  font-size: 1.7rem;
}

section ul,
section ol {
  padding-left: 1.4rem;
}

section li {
  margin-bottom: 0.9rem;
  line-height: 1.55;
}

section li p {
  display: inline;
  margin: 0;
}

#publications ol {
  list-style: decimal;
}

#education .note {
  color: #666;
  font-size: 1.4rem;
}

.footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 1.3rem;
  color: #666;
}

@media (max-width: 550px) {
  .header .three.columns {
    margin-bottom: 1rem;
  }
  .header img.u-max-full-width {
    max-width: 160px;
  }
  .main-description p.link-icons {
    font-size: 3.6rem;
  }
}
