html, body {
  font-family: Roboto, Helvetica, Tahoma, sans-serif;
  background: #f2f2f2;

  margin: 0;
  padding: 0;
}

body {
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-bar {
  width: 100%;
  background: #4285f4;
  color: white;
  text-align: center;
  font-size: 32px;
  height: 56px;
  box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  margin-bottom: 0.5em;
  box-sizing: border-box;
}

h2,
div.group {
  width: 75vw;
  max-width: 300px;
  min-width: 160px;
  margin: 0 5vw;
  box-sizing: border-box;
}

h2 {
  margin: 8px 0px 0px 0px;
  padding: 8px 8px 8px;
  line-height: 1.5em;
  box-sizing: border-box;

  color: #616161;
  font-size: 16px;
  font-weight: normal;
}

h2:target {
  font-weight: bold;
  background: rgba(0, 0, 0, 0.1);
}

h2 .emoji {
  width: 16px;
  margin-right: 8px;
}

#links {
  padding: 0 8vw 32px;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

div.group {
  display: flex;
  flex-direction: column;
}

#links a {
  padding: 12px 8px;
  box-shadow: 0 -1px 0 #e0e0e0,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);

  text-align: left;
  font-size: 16px;
  color: black;
  text-decoration: none;
  background: white;

  display: flex;
  flex-direction: row;
  word-break: break-all;
  align-items: center;
}

hr {
  visibility: hidden;
  margin: 0;
  margin-top: 16px;
}

#links a .icon {
  height: 16px;
  width: 16px;
  margin-right: 8px;
  background-size: cover;
  flex: 0 0 auto;
}

#links a.good        { color: #0B8043; }
#links a.dubious     { color: #5A5A5A; }
#links a.bad         { color: #C63626; }
#links a.external    { color: #5A5A5A; }
#links a.page        { color: #5A5A5A; }
#links a.bullet-list { color: #5A5A5A; }

#links a.good        .icon { background-image: url("front-page-icons/good.svg"); }
#links a.dubious     .icon { background-image: url("front-page-icons/dubious.svg"); }
#links a.bad         .icon { background-image: url("front-page-icons/bad.svg"); }
#links a.external    .icon { background-image: url("front-page-icons/external.svg"); }
#links a.page        .icon { background-image: url("front-page-icons/page.svg"); }
#links a.bullet-list .icon { background-image: url("front-page-icons/bullet-list.svg"); }

#links a.good:hover        { background: #0B8043; }
#links a.dubious:hover     { background: #5A5A5A; }
#links a.bad:hover         { background: #C63626; }
#links a.external:hover    { background: #5A5A5A; }
#links a.page:hover        { background: #5A5A5A; }
#links a.bullet-list:hover { background: #5A5A5A; }

#links a.good:hover        .icon { background-image: url("front-page-icons/good-white.svg"); }
#links a.dubious:hover     .icon { background-image: url("front-page-icons/dubious-white.svg"); }
#links a.bad:hover         .icon { background-image: url("front-page-icons/bad-white.svg"); }
#links a.external:hover    .icon { background-image: url("front-page-icons/external-white.svg"); }
#links a.page:hover        .icon { background-image: url("front-page-icons/page-white.svg"); }
#links a.bullet-list:hover .icon { background-image: url("front-page-icons/bullet-list-white.svg"); }

#links a:hover {
  background: #EEEEEE;
  color: white;
}

/* Browser Info */

.your-browser {
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}

#browser-info {
  margin-top: 4px;
}

#browser-info:hover {
  cursor: pointer;
}

#browser-info:hover .highlight {
  text-decoration: underline;
}

#browser-info #click-to-copy {
  visibility: hidden;
}

#browser-info:hover #click-to-copy {
  visibility: visible;
}

.chrome-icon {
  vertical-align: -5%;
  width: 1em;
}
