* {
  box-sizing: border-box;
}

html {
  height: 100%;
  display: flex;

  --c-link: rgb(33, 150, 243);
}

body {
  height: 100%;
  width: 100%;
  margin: 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  color: #424242;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

a:hover {
  text-decoration: underline;
}

main {
  max-width: 600px;
  width: 600px;
  margin: 0 auto;

  /* height: 100%; */
  margin: 0;
  padding: 0;
  /* min-height: 100vh; */
}

main > section {
  flex-grow: 1;
}

main > footer {
  padding: 20px 0;
}

blockquote {
  font: italic 300 system-ui;
}

p {
  font: 400 system-ui;
}

.Project {
  margin-bottom: 40px;
}

.Project img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 500;
  color: #212121;
}

.Project .link:before {
  color: #212121;
  content: '» ';
}

.Project .source a {
  color: #666;
  margin-left: 5px;
}

.Project .link {
  margin-right: 5px;
}

.Project .title a {
  color: black;
}

.Project .title:before {
  font-weight: normal;
  content: '# ';
  color: #ccc;
}

@media screen and (min-width: 680px) {
  body {
    margin: 0;
  }

  .Project .title:before {
    margin-left: -2ch;
  }
}

datalist {
  display: block;

  option {
    cursor: pointer;
    color: var(--c-link);

    padding: 2px;
    &:hover {
      text-decoration: underline;
      background: var(--c-link);
      color: #fff;
    }
  }
}
