body{
  text-align: center;
}

#resistor-1{
  border: 0.3rem solid red;
}
#calculate-r1{
  background-color: red;
}

#resistor-2{
  border: 0.3rem solid green;
}
#calculate-r2{
  background-color: green;
}

#input-voltage{
  border: 0.3rem solid blue;
}
#calculate-vi{
  background-color: blue;
}

#output-voltage{
  border: 0.3rem solid gray;
}
#calculate-vo{
  background-color: gray;
}

form{
  font-size: 1.2rem;
  display: inline-block;
  white-space: nowrap;
  margin: 3rem 1.5rem;
  transform: translateX(-2rem);
}

.input-title{
  font-size: 1.2rem;
  font-family: 'comfortaa', 'Calibri', 'Arial';
  display: inline-block;
  margin-left: 2rem;
  width: 0;
}

input.button{
  font-size: inherit;
  height: 3rem;
  width: 10rem;
  transform: translateX(-1.6rem);
  padding: 0 1.5rem;
}

.input{
  color: white;
  font-size: inherit;
  background-color: black;
  box-sizing: border-box;
  border-radius: 1.5rem 0 0 1.5rem;
  border-right: none;
  height: 3rem;
  width: 15rem;
  margin-left: 4rem;
  margin-bottom: 1rem;
  padding: 0 4rem 0 1rem;
  outline: none;
}


.unit{
  display: inline-block;
  width: 0;
  height: 0;
  transform: translateX(-3em);
}

.illustration{
  text-align: center;
  display: inline-block;
  width: 30em;
  height: 14em;
}
