body, html {
  margin: 0;
  box-sizing: border-box;
  font-size: 16px;
}

#target {
  opacity: 0;
  text-align: center;
  font-size: 80px;
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

@media (max-width: 700px) {
  #target {
    font-size: 40px;
  }
}

.wrapper {
  display: flex;
  height: 100vh;
  flex-direction: column;
  position: relative;
}

.preview {
  height: 100%;
  flex-grow: 1;
  position: relative;
  width: calc(100% - 120px);
  margin: 0 auto;
}

.controls {
  background: #2b2b2b;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
  font-family: sans-serif;
  border-top: 1px solid #211f22;
  padding: 20px 15px;
}

.controls-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  padding: 20px 15px;
  background: #404040;
  border-radius: 4px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.column {
  width: 25%;
  padding: 0 30px;
  border-right: 2px solid #363636;
}

.column:last-child {
  padding-bottom: 60px;
  border-right: 0;
  position: relative;
}

.field {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: rgba(256, 256, 256, 0.6);
}

input[type="text"],
input[type="number"],
input[type="color"],
.button,
button,
select {
  padding: 5px 10px;
  font-size: 18px;
  border: 2px solid #242424;
  border-radius: 2px;
  background: #2b2b2b;
  color: #bdbdbd;
}

.button {
  padding: 10px 30px;
  display: inline-block;
  margin-top: 60px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.button:hover {
  background: black;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="color"]:focus,
select:focus {
  border-color: #3a79c1;
  outline: 0;
}

input[type="number"] {
  width: 80px;
}

input[type="color"] {
  height: 30px;
  padding: 0;
}

#text {
  width: 100%;
}

#replay {
  font-size: 16px;
  border-radius: 30px;
  padding: 10px 20px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#replay:hover {
  background: #3a79c1;
  border-color: #3a79c1;
  color: white;
}

#replay:focus {
  outline: 0;
}

#fontSize {
  width: 100px;
}

.documentation {
  font-size: 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  color: rgba(256, 256, 256, 0.6);
  padding: 0 30px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  transition: color 0.2s ease-in-out;
}

.documentation:hover {
  color: white;
}
