body {
  background: black;
  color: #c7ae1f;
  width: 90%;
  margin: 0 auto;
  max-width: 580px;
  padding: 0 15px;
}

#coffeeList {
  text-align: center;
}

#coffeeList button {
  background: #c5ac1f;
  color: black;
  font-weight: bold;
  border-radius: 10px;
  width: 95px;
  padding: 0.3em 0.5em;
  display: block;
  border: 1px solid grey;
}

#coffeeList button:hover,
#coffeeList button:focus,
#coffeeList button:active {
  outline: none;
  border: 1px solid yellow;
}

#coffeeList button:not(:first-of-type) {
  margin: 0.5em 0 0 0;
}

@media (min-width: 580px) {
  #coffeeList button {
    display: inline-block;
  }
  #coffeeList button:not(:first-of-type) {
    margin: 0 0 0 0.5em;
  }
}

/* based on https://css-tricks.com/the-shapes-of-css/#trapezoid-shape */
#BaseCup {
  height: 0;
  margin: 1em auto 0 auto;
  position: relative;
  border-top: 140px solid white;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  width: 100px;
}

#BaseCup:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
}

/* espresso is going to be 1/3 of BaseCup */
#BaseCup.espresso:before {
  border-top: calc(140px / 3) solid #6f4e37;
  border-left: calc(25px / 3) solid transparent;
  border-right: calc(25px / 3) solid transparent;
  left: calc(-1 * (25px / 3));
}

/* cappucino is going to be 1/1.1 of BaseCup */
#BaseCup.cappucino:before {
  border-top: calc(140px / 1.1) solid #6f4e37;
  border-left: calc(25px / 1.1) solid transparent;
  border-right: calc(25px / 1.1) solid transparent;
  left: calc(-1 * (25px / 1.1));
}

/* latte is going to be 1/1.5 of BaseCup */
/* mocha is going to be 1/1.5 of BaseCup */
#BaseCup.latte:before,
#BaseCup.mocha:before {
  border-top: calc(140px / 1.5) solid #6f4e37;
  border-left: calc(25px / 1.5) solid transparent;
  border-right: calc(25px / 1.5) solid transparent;
  left: calc(-1 * (25px / 1.5));
}

/* flat_white is going to be 1/2 of BaseCup */
#BaseCup.flat_white:before {
  border-top: calc(140px / 2) solid #6f4e37;
  border-left: calc(25px / 2) solid transparent;
  border-right: calc(25px / 2) solid transparent;
  left: calc(-1 * (25px / 2));
}

button#CupKiller {
  background: white;
  color: black;
  font-weight: bold;
  padding: 0.3em 0.5em;
  margin: 1em auto 0 auto;
  display: block;
  border: 1px solid grey;
}

button#CupKiller:hover,
button#CupKiller:focus,
button#CupKiller:active {
  outline: none;
  border: 1px solid red;
}
