/* Stefano's page: the look of the omg.lol profile it came from (its base theme and Gilded), written anew. */

/* Nunito (SIL Open Font License 1.1), its Latin letters in one variable file, every weight. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2em;
  font-size: 1.2em;
  overflow-wrap: break-word;
}

main {
  padding: 2em;
  text-align: center;
}

.photo {
  margin-bottom: 1em;
}

.photo img {
  width: 8.7em;
  height: 8.7em;
  border-radius: 50%;
}

h1 {
  margin: 0;
  font-size: 2em;
}

/* The job and the place, a line each, half a line apart. */
.meta {
  margin: 0;
  padding: .5em 0;
}

.icon {
  width: 1.25em;
  height: 1em;
  vertical-align: -.125em;
  fill: currentColor;
}

.bio {
  font-size: 110%;
  line-height: 140%;
}

/* The links, each with its icon in the margin to its left. */
.links {
  margin: 3em 0 1em 2.5em;
  padding: 0;
  list-style: none;
  text-align: left;
}

.links li {
  position: relative;
  line-height: 170%;
}

.bullet {
  position: absolute;
  left: -2em;
  width: 2em;
  text-align: center;
}

a:link,
a:visited {
  text-decoration: none;
}

@media (max-width: 500px) {
  body {
    font-size: 1em;
    padding: 1em;
  }

  main {
    padding: 1.5em;
  }
}

/* Gilded */
body {
  display: flex;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  background: #000;
  color: #fff;
}

main {
  width: 25em;
  margin: 15px;
  border-radius: 1em;
  background: #212121;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, .06);
}

.photo img {
  box-shadow: 0 8px 0 rgba(0, 0, 0, .2);
}

.icon {
  color: #fabc02;
}

a:link,
a:visited {
  color: #fff;
  border-bottom: 1px dotted #000;
}

a:hover,
a:active {
  color: #ccc;
  border-bottom: 2px solid #000;
}
