html {
  height: 100%;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  height: 100%;
  margin: 0;
}
form {
  width: 100%;
}
select {
  outline: none;
  background: #fff;
  border: solid 1px #ccc;
  border-radius: 18px;
  height: 36px;
  margin-bottom: 8px;
  padding: 0 12px;
  transition: border-color 0.2s;
  text-align: right;
  width: 100%;
}
label {
  align-self: flex-start;
  display: inline-flex;
  background-color: #fff;
  color: #212121;
  font: 500 13px/13px 'Roboto', sans-serif;
  padding: 0 8px;
  transform: translate(16px, -60px);
  transition: color 0.2s;
}
button {
  outline: 0;
}
input {
  outline: none;
  border: solid 1px #ccc;
  border-radius: 18px;
  height: 36px;
  margin-bottom: 8px;
  padding: 12px;
  transition: border-color 0.2s;
  text-align: right;
  width: 100%;
}
input:focus ~ label {
  color: #bd2211;
}
input:focus {
  border: solid 1px #bd2211;
}
a {
  color: #bd2211;
  text-decoration: none;
}
.app {
  min-height: 100%;
  min-width: 240px;
  background: #eee;
}
#calc {
  display: flex;
  flex-direction: column;
}
section {
  display: flex;
  flex-direction: column;
  flex: 1;
}
header {
  align-items: center;
  background: #bd2211;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  font: 500 16px/20px 'Roboto', sans-serif;
  height: 56px;
  justify-content: space-between;
  padding: 0 1rem;
  position: fixed;
  width: 100%;
  z-index: 1;
}
main {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 16px;
  padding-top: 74px;
}
.button {
  align-items: center;
  border-radius: 2px;
  display: flex;
  font: 500 14px/20px 'Roboto', sans-serif;
  background: #fff;
  height: 36px;
  padding: 0 16px;
  text-transform: uppercase;
}
.card {
  border-radius: 8px;
  box-shadow: rgba(0,0,0,0.3) 0px 1px 4px 0px;
  color: #000;
  display: flex;
  background: #fff;
  max-width: 600px;
  overflow: hidden;
  padding-top: 32px;
  width: 100%;
}
.card__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding: 0 16px;
}
.card__title {
  background: #bd2211;
  color: #fff;
  font: 500 16px/14px 'Roboto', sans-serif;
  padding: 12px;
  margin-bottom: 16px;
}
.card__section {
  background: #bd2211;
}
.card--calculation {
  margin-bottom: 16px;
}
.card--response {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-bottom: 80px;
  font: 500 16px/24px 'Roboto', sans-serif;
}
.fab {
  border: 0;
  box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 0px 6px 10px 0px rgba(0,0,0,0.14), 0px 1px 18px 0px rgba(0,0,0,0.12);
  background: #bd2211;
  color: #fff;
  position: fixed;
  bottom: 16px;
  right: 16px;
  align-items: center;
  border-radius: 24px;
  display: flex;
  font: 500 14px/20px 'Roboto', sans-serif;
  height: 48px;
  margin-bottom: 0;
  padding: 0 16px;
  text-transform: uppercase;
  width: 100px;
  cursor: pointer;
  transition: transform 0.1s;
}
.response,
.response2,
.response3 {
  margin-bottom: 8px;
}
.response:active,
.response2:active,
.response3:active {
  transform: scale(0.9);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type=number] {
  -moz-appearance: textfield;
}
