* {
  box-sizing: border-box;
}

body, h1 {
  margin: 0px;
}

main {
  padding: 20px;
  padding-top: 0px;
}

.content {
  display: flex;
  flex-flow: row wrap;
}

form,
.result {
  flex: 1;
}

.result {
  display: flex;
  flex-flow:column nowrap;
}

hr {
  flex: 0;
  background-color: black;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 15px;
  margin-left: 15px;
}

form>input,
form button,
form textarea,
form>select,
.result * {
  width: 100%;
  margin:2px;
}

li {
  display: flex
}

li input[type=number] {
  flex: 1;
}

li input {
  flex: 4;
}

li select {
  flex: 1;
  text-align: center;
}


.result * {
  width: 100%;
}

.result textarea {
  height: 100%;
  overflow-x: scroll;
  resize: none;
  max-width: 100%;
}

ul {
  padding-left: 0px;
  list-style-type: none;
  padding-bottom: 5px;
}

footer {
  width: 100%;
  background-color: lightgray;
  /*position: absolute;*/
  bottom: 0;
  padding: 20px;
  text-align: center;
}