body {
  margin: 0;
  padding: 0;
  font-family: Tahoma, sans-serif;
  background: #e2f5fd url('bg.jpg') no-repeat fixed center;
  background-size: cover;
}

p {
  width: 50%;
  background: #fff;
  margin: 1em auto 0;
  padding: 0.5em;
  border-radius: 0.2em;
}

a {
  color: #000;
}

#nav {
  position: fixed;
  bottom: 0;
  border-top: 1px solid #000;
  min-width: 100%;
  z-index: 99;
}

#links {
  margin: 1em;
  margin-bottom: 4em;
}

.link,
#nav {
  width: 100%;
  background: #fff;
}

h1,
#nav,
#message {
  text-align: center;
}

h1 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 0.05em 0.05em 0.05em #0008;
  font-variant: small-caps;
}

.link {
  border: 1px solid #000;
  padding: 0.2em 0;
  position: relative;
  border-radius: 0.2em;
  margin-bottom: 1em;
  box-shadow: 0.2em 0.2em 0.1em #0008;
}

.link > span {
  font-size: 2em;
  padding-left: 0.2em;
}

.link > .tags {
  position: absolute;
  bottom: 0.1em;
  right: 0.1em;
}

.tags span {
  display: inline-block;
  padding: 0.2em;
  margin: 0.2em;
  border: 1px solid #000;
  border-radius: 0.2em;
  font-size: 1em;
  background: #fff;
  font-family: Arial, sans-serif;
  font-variant: small-caps;
  text-transform: capitalize;
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    background: #ccc;
  }

  .tags span:hover {
    background: #eee;
  }
}

#message {
  display: none;
}

h1 {
  text-transform: capitalize;
}

.selected {
  font-weight: bold;
  background: #eee !important;
}

pre {
  text-align: left;
}
