/*
    GLOBAL
 */
body {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 18px;
}

a {
  color: #F55;
}

.content {
  box-sizing: border-box;
  padding: 0 3rem;
  max-width: 900px;
  margin: 0 auto;
}

/*
    Material Design Element
 */

input, textarea {
  position: relative;
  font-size: 16px;
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  font-family: monospace;
  transition: all 0.2s ease-out;
  outline: none;
}

.mdl-textfield {
  border: none;
  border-bottom: 2px solid rgba(0,0,0, 0.12);
  display: block;
  font-size: 16px;
  margin: 0;
  padding: 8px 2px;
  width: 100%;
  background: none;
  text-align: left;
  color: inherit; }

.mdl-textfield:focus {
  border-bottom-color: #F55;
}

.mdl-button {
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  transition: all 0.2s ease-out;
}

.btn-flat {
  background-color: transparent;
}

.btn-flat:hover {
  background-color: #EEE;
}

/*
    MAIN
 */

header {
  height: 56px;
  background-color: #F55;
}

header h1 {
  margin: 0;
  font-size: 1rem;
  line-height: 56px;
  padding-left: 1em;
  overflow: hidden;
}

header em {
  color: #FFF;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 1px;
}

header i {
  color: #FFF;
  opacity: 0.6;
  font-style: normal;
  font-weight: normal;
  margin-left: 0.4em;
}

dl {
  flex: 1;
  margin: 3rem 0 0 0;
}

.step-count {
  display: inline-block;
  line-height: 1.4em;
  width: 1.4em;
  text-align: center;
  background-color: #EEE;
  margin-right: 0.4em;
}

dd {
  margin-left: 2em;
  padding: 0.6em 0;
}

#step-ii dd {
  display: flex;
}

#css-url {
  flex: 1;
  margin-right: 1em;
}

textarea {
  width: 100%;
  height: 300px;
  font-family: monospace;
  border: 2px solid transparent;
  transition: all 0.2s ease-out;
  font-size: 12px;
  resize: none;
  word-break: break-all;
}

textarea:focus, .loaded textarea {
  border-color: #F55;
}

@media (max-width: 600px) {
  header i {
    display: none;
  }
}

.github-link {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #FFF;
  opacity: 0.7;
}
.github-link:hover {
  opacity: 1
}
