*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  width: 100%;
  height: 100%;
}

.container {
  padding: 3em;
}
.container form#basalForm {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.container form#basalForm input[type=button]#calculate {
  background-color: rgba(67, 126, 67, 0.616);
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  margin: 20px 0px;
  cursor: pointer;
  border: none;
  border-radius: 2px;
}
.container form#basalForm input[type=button]#calculate:hover {
  background-color: rgba(67, 126, 67, 0.8);
}
.container form#basalForm input:invalid {
  background-color: rgba(240, 119, 119, 0.384);
}
.container form#basalForm input[type=reset] {
  background-color: rgba(238, 176, 176, 0.603);
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  color: darkslategray;
  padding: 2px 6px;
  margin: 20px 0px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.container form#basalForm input[type=reset]:hover {
  background-color: rgba(238, 176, 176, 0.9);
}
.container form#basalForm input[type=text] {
  padding-left: 8px;
  margin-left: 8px;
}
.container form#basalForm .buttons {
  display: flex;
  justify-content: space-between;
}
.container form#basalForm ul.questions li,
.container form#basalForm ul.answers li {
  list-style: none;
  width: 100%;
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 8px 0px;
  margin-right: 10px;
}
.container form#basalForm ul.questions li select,
.container form#basalForm ul.answers li select {
  min-width: 80px;
}
.container form#basalForm ul.questions li input,
.container form#basalForm ul.answers li input {
  min-width: 80px;
  max-width: -webkit-min-content;
  max-width: -moz-min-content;
  max-width: min-content;
  border: none;
  border-bottom: 1px solid grey;
}
.container form#basalForm ul.questions li cite,
.container form#basalForm ul.answers li cite {
  position: absolute;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  left: 0;
  bottom: -8px;
  color: grey;
  font-size: 0.8em;
}