html, body {
  margin: 0;
}

html {
  background: url(bg.png);
}

body {
  color: #333;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
}

ul {
  padding: 0 0 0 20px;
}

#content {
  max-width: 800px;
  line-height: 1.4em;
  padding: 0 40px 40px;
  text-shadow: 0px 1px 0px #fff;
}

#content img {
  max-width: 100%;
}

#footer {
  background: #202020;
  overflow: hidden;
  color: #888;
  font-size: 12px;
  padding: 20px 0 100px 50px;
  position: relative;
}

#footer:before {
  content: '';
  display: block;
  box-shadow: 0 0 10px #000;
  height: 10px;
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
}

#footer a.github {
   background: url(github.svg) no-repeat;
   background-size: 100%;
   width: 144px;
   height: 72px;
   text-indent: -999em;
   position: absolute;
   bottom: 30px;
   right: 30px;
}

a {
  color: #333;
}

a:hover {
  color: #000;
}

label {
  font-size: 14px;
  vertical-align: top;
}

#opts {
  background: #fff;
  padding: 10px;
  margin-top: 20px;
  box-sizing: border-box;
}

#opts label {
  display: inline-block;
  line-height: 25px;
  width: 80px;
}

h1 {
  font-size: 100px;
}

h1, h2, h3, #download a {
  font-family: 'Amaranth', sans-serif;
}

h2 {
  font-size: 28px;
  margin: 30px 0 20px;
}

h3 {
  margin: 30px 0 10px 0;
}

.mid_col {
  width: 20px;
}

#opts, #preview {
  width: 325px;
  border-radius: 10px;
}

#preview {
  position: relative;
  background: #333;
  height: 325px;
}

@media screen and (min-width: 545px) {
  h1 {
    font-size: 150px;
  }
}

@media screen and (min-width: 745px) {
  h1 {
    font-size: 175px;
  }

  #opts, .mid_col, #preview {
    display: table-cell;
  }

  #opts {
    width: auto;
  }

  #preview {
    height: 100%;
  }
}

@media screen and (min-width: 800px) {
  #preview {
    width: 375px;
  }
}

@media screen and (min-width: 900px) {
  h1 {
    font-size: 200px;
  }

  #content {
    margin-left: 100px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* styling fixes for IE 10 and IE 11 only */

  #opts input[type="range"] {
    padding: 7px;
    width: 150px;
  }

  #opts, .mid_col, #preview {
    display: inline-block;
  }

  #preview {
    height: 400px;
  }
}

a.button {
  display: inline-block;
  background: #56ba4a;
  border: 3px solid #59a24f;
  color: #fff;
  border-radius: 5px;
  font-family: 'Amaranth', sans-serif;
  font-size: 24px;
  padding: 10px 30px;
  text-decoration: none;
  text-shadow: 1px 1px 1px #59a24f;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  margin: 10px 20px 0 0;
  transition: all 0.25s ease;
}

a.button:hover {
  background: #2f8325;
  box-shadow: none;
}

.authors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  grid-gap: 50px;
}

.contact {
  background-color: #e1e1e1;
  padding: 24px;
  text-align: center;
  box-shadow: 2px 2px 10px #bbb;
}

.contact h3 {
  margin: 20px 0;
}

.contact p {
  margin-bottom: 0;
}

.contact img {
  border-radius: 50%;
}
