:root {
  --white: white;
  --black: black;
}

.topbar {
  z-index: 1;
  background-color: #444;
  background-image: linear-gradient(#444, #333);
  height: 75px;
  margin-bottom: 5px;
  padding: 0 5vw;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.body {
  border: 1px #000;
  margin-top: 0;
  margin-bottom: 0;
  font-family: PT Sans, sans-serif;
}

.title {
  float: none;
  color: #fff;
  flex-direction: column;
  flex: none;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 5vmin;
  line-height: 5vmin;
  display: flex;
}

.option {
  overflow: visible;
}

.option.head {
  text-align: center;
  cursor: pointer;
  background-color: #eee;
  border: 1px #000;
  border-radius: 5px;
  min-width: 64px;
  height: 64px;
  margin: 3px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 24px;
  line-height: 64px;
  display: inline-block;
  overflow: hidden;
}

.option.head:hover {
  box-shadow: 0 0 3px #000;
}

.option.head.blank {
  font-style: italic;
}

.menu {
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  font-family: Droid Sans, sans-serif;
  display: flex;
}

.menu.face {
  align-items: stretch;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  display: flex;
}

.menu.head {
  display: block;
}

.menu.head.pick-one {
  display: flex;
}

.preview-section {
  z-index: 1;
  text-align: left;
  background-image: linear-gradient(#fff 95%, #fff0);
  justify-content: center;
  align-items: center;
  height: 120px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  display: flex;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.sample-donger {
  text-align: center;
  text-transform: none;
  border-left: 3px solid #bbb;
  border-right: 3px solid #bbb;
  border-radius: 10px;
  flex: 1;
  height: 80px;
  margin: 0 20px;
  font-size: 70px;
  line-height: 75px;
  text-decoration: none;
  overflow: visible;
}

.tabs {
  flex-wrap: wrap;
  justify-content: center;
  font-family: PT Sans, sans-serif;
  display: flex;
}

.tab-button {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.tab-button.w--current {
  margin-left: 0;
  margin-right: 0;
}

.tab-button.separator {
  margin-right: 5px;
}

.config-section {
  margin-top: 200px;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

.randomize {
  float: right;
  border-radius: 5px;
  flex: 0 auto;
  align-self: center;
  transition: background-color .2s ease-in-out;
  position: relative;
  bottom: 0;
  right: 0;
}

.randomize:hover {
  background-color: #67a9e4;
}

.content {
  border: 3px solid #c8c8c8;
  border-radius: 5px;
  margin-bottom: 20px;
}

.footer {
  color: #888;
  align-self: center;
  height: 12px;
  font-size: 12px;
  font-style: italic;
  line-height: 12px;
}

.header-text {
  flex: 0 auto;
  height: 45px;
  margin-top: 0;
  margin-bottom: 2px;
  font-size: 45px;
  line-height: 45px;
}

.face-section, .face-section.eyes, .face-section.mouth, .face-section.ornaments {
  flex-wrap: wrap;
  justify-content: center;
  display: flex;
}

.face-header {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  margin-left: 0;
}

.face-header.spacing {
  margin-top: 20px;
}

.face-header.todo {
  width: 100%;
  margin-top: 200px;
}

.expand-me {
  flex: 1;
  display: flex;
}

._404-header {
  text-align: center;
  margin-top: 20vh;
}

@media screen and (max-width: 767px) {
  .sample-donger {
    font-size: 42px;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .tab-button {
    text-align: center;
    border-radius: 5px;
    flex: 0 auto;
    width: 40%;
    margin: 5px;
  }

  .tab-button.w--current {
    flex: 0 auto;
  }

  .tab-button.separator {
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 479px) {
  .topbar {
    flex-direction: row;
    align-items: center;
  }

  .title {
    flex: 0 auto;
    margin-bottom: 5px;
  }

  .preview-section {
    height: 80px;
  }

  .sample-donger {
    height: 64px;
    font-size: 24px;
    line-height: 64px;
  }

  .tabs {
    padding-left: 5px;
    padding-right: 5px;
  }

  .tab-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .tab-button.separator {
    margin-left: 0;
    margin-right: 0;
  }

  .config-section {
    margin-top: 160px;
  }

  .randomize {
    float: left;
    flex: none;
    margin-left: 5px;
  }

  .footer {
    display: none;
  }

  .header-text {
    height: auto;
    font-size: 32px;
    line-height: 32px;
  }

  .expand-me {
    flex: 1;
  }
}


