html {
  height: 100%;
  width: 100%;
}
body {
  font-family: kelly slab;
  display: flex;
  align-items: center;
  margin: 0;
  background-color: #FFFAE7
  flex-direction: column;
  justify-content: center;
  background-image: url("background.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* style the toggle switch */
#toggle {
  margin-bottom: 20px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 170px;
  height: 40px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFDF9A;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  align-content: space-evenly;
  text-align: center;
  font-size: 10px;
  height: 40px;
  width: 50px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #96643E;
}
input:focus + .slider {
  box-shadow: 0 0 1px #96643E;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(120px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
  content: "Calculate from cups";
  align-content: space-evenly;
  line-height: 8px;
}

#submitButton {
  background-color: #FFDF9A;
  border: none;
  text-align: center;
  padding: 10px 27px;
  font-family: kelly slab;
  font-size: 20px;
  border-radius: 12px;
}
#submitButton:hover {
  background-color: #E5C379;
}
#submitButton:active {
  background-color: #E5C379;
  transform: translateY(4px);
}

/* style the calculator */
.calculator {
  padding: 200px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  font-size: 36px;
}
input[type=number] {
  border-radius: 12px;
  font-family: linden hill;
  line-height: 30px;
  
}
