/* ============================================================
  RESET
============================================================ */
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, font, 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 {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html,
body {
  width: 100vw;
  height: 100vh;
}

body {
  line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

blockquote {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a img {
  border: none;
}

/* ============================================================
  GLOBALS
============================================================ */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: sans-serif;
  color: #505050;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}

main {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
}

footer {
  padding: 1em;
  flex-shrink: 0;
  font-size: 1.5em;
}

footer .fa {
  margin: 0 .5em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  line-height: 1;
  font-weight: 400;
  font-family: 'Oswald', sans-serif;
}

a {
  text-decoration: none;
  color: rgba(0,0,0,.15);
  transition: color .3s ease-out;
}

a:hover {
  color: rgba(0,0,0,.5);
}

.switch-group {
  margin: 1.5em;
  display: flex;
  flex-shrink: 0;
  width: 250px;
  align-items: center;
  justify-content: flex-start;
}

.switch-label {
  margin-left: 1em;
  color: rgba(0,0,0,.5);
}

#good.cmn-toggle-round:checked + label:before {
  background-color: #8ce196;
}

#cheap.cmn-toggle-round:checked + label:before {
  background-color: #8cd5e1;
}

#fast.cmn-toggle-round:checked + label:before {
  background-color: #e28d8d;
}

