/** basic normalisation */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: 'Open Sans', sans-serif;
  vertical-align: baseline;
}

* {
  box-sizing: border-box;
}

html {
  font-family: 'Lato', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  background-color: #fff;
  color: #3c3e44;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2em 1em;
  transform: translate3d(0, 7vh, 0);
}

img {
  max-width: 120px;
  height: auto;
  display: block;
  border-radius: 99999px;
  margin-bottom: 2em;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 18px;
}

section {
  margin-top: 1em;
}

section + section {
  margin-top: 1em;
}

section p, section ul {
  margin-top: 0.25em;
}

ul {
  padding: 0 0 0 1em;
}

a {
  color: #03a9f4;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: #0288d1;
}

footer {
  margin-top: auto;
  padding: 2em 1em 1em;
  text-align: center;
  font-size: 14px;
  color: #666;
  max-width: 640px;
  width: 100%;
}

/* dark theme */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #171717;
    color: #d4d4d4; 
  }
  
  footer {
    color: #888;
  }
}

/* mobile */
@media screen and (max-width: 600px) {
  main {
    margin: 0;
  }

  main {
    transform: none;
  }
}
