body {
  font-family: Arial, Helvetica, sans-serif;
}
h1 {
  font-weight: 100;
  font-size: 3em;
  margin: 10px 0px 20px 0px;
}
#app {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}
h2 {
  margin: 0;
}
.taste-sour .skew-left::before,
.taste-sour .skew-left::after,
.taste-sour .skew-middle::before,
.taste-sour .skew-middle::after,
.taste-sour .skew-right::before,
.taste-sour .skew-right::after {
  background-color: #a5dd42;
}
.taste-sweet .skew-left::before,
.taste-sweet .skew-left::after,
.taste-sweet .skew-middle::before,
.taste-sweet .skew-middle::after,
.taste-sweet .skew-right::before,
.taste-sweet .skew-right::after {
  background-color: #F57E53;
}
.taste-bitter .skew-left::before,
.taste-bitter .skew-left::after,
.taste-bitter .skew-middle::before,
.taste-bitter .skew-middle::after,
.taste-bitter .skew-right::before,
.taste-bitter .skew-right::after {
  background-color: #D45FF5;
}
.taste-spicy .skew-left::before,
.taste-spicy .skew-left::after,
.taste-spicy .skew-middle::before,
.taste-spicy .skew-middle::after,
.taste-spicy .skew-right::before,
.taste-spicy .skew-right::after {
  background-color: #5C56F5;
}
.taste-fatty .skew-left::before,
.taste-fatty .skew-left::after,
.taste-fatty .skew-middle::before,
.taste-fatty .skew-middle::after,
.taste-fatty .skew-right::before,
.taste-fatty .skew-right::after {
  background-color: #F5D847;
}
.taste-salty .skew-left::before,
.taste-salty .skew-left::after,
.taste-salty .skew-middle::before,
.taste-salty .skew-middle::after,
.taste-salty .skew-right::before,
.taste-salty .skew-right::after {
  background-color: #53f5ed;
}
.nutrient-block {
  display: inline-block;
  padding: 5px 10px;
  border: 3px solid white;
  margin-right: 5px;
}
.taste {
  position: relative;
  display: inline-block;
}
.taste .label {
  position: absolute;
  top: 4px;
  left: 14px;
  color: white;
  z-index: 999999;
}
.taste .label img {
  height: 22px;
}
.potion-info {
  padding: 20px;
}
.skew-left {
  display: inline-block;
  position: relative;
  width: 75px;
  height: 30px;
  margin-right: 20px;
}
.skew-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  background: orange;
}
.skew-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  width: 40px;
  height: 30px;
  border-radius: 6px;
  transform: skewX(35deg);
  background: orange;
}
.skew-middle {
  display: inline-block;
  position: relative;
  width: 75px;
  height: 30px;
  margin-right: 20px;
}
.skew-middle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  transform: skewX(35deg);
  background: orange;
}
.skew-middle::after {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  width: 40px;
  height: 30px;
  border-radius: 6px;
  transform: skewX(35deg);
  background: orange;
}
.skew-right {
  display: inline-block;
  position: relative;
  width: 75px;
  height: 30px;
}
.skew-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  background: orange;
  transform: skewX(35deg);
}
.skew-right::before {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  width: 40px;
  height: 30px;
  border-radius: 6px;
  background: orange;
}
.potion > img {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  max-width: 100%;
}
.potion {
  display: inline-grid;
  background-color: #333;
  color: white;
  border-radius: 24px;
  max-width: 480px;
  margin-right: 10px;
  margin-bottom: 10px;
}
.icon-box {
  display: inline-block;
  margin-right: 10px;
  width: 50px;
}
.icon-box img {
  width: 100%;
}
.icon-box img:hover {
  cursor: help;
}
.icon-box div.tooltip {
  display: none;
  z-index: 999999;
  padding: 5px 10px;
  background-color: #fff;
  border-radius: 4px;
  color: #333;
  position: absolute;
}
.icon-box:hover div.tooltip {
  display: block;
}
.time-temp {
  display: inline-block;
  float: right;
}
.progress-bar {
  position: relative;
  width: 120px;
  height: 32px;
  line-height: 32px;
  vertical-align: middle;
  overflow: hidden;
  padding: 0px;
}
.progress-bar .bar {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
}
.progress-bar .bar span {
  position: absolute;
  display: block;
  width: 120px;
  height: 100%;
  text-align: center;
}
.progress-bar .bar.positive {
  background: #fff;
  left: 0;
  width: 50%;
}
.progress-bar .bar.positive span {
  left: 0;
  color: #333;
}
.progress-bar .bar.negative {
  background: #333;
  right: 0;
  width: 50%;
}
.progress-bar .bar.negative span {
  right: 0;
  color: #fff;
}
.details-button {
  cursor: pointer;
}
.time-temp a {
  color: #c7c7c7;
  position: relative;
  left: 19px;
  top: 5px;
}
.potion-details {
  max-height: 0;
  transition: max-height 1s ease-out;
  overflow: hidden;
}
.potion-details.active {
  max-height: 500px;
  transition: max-height 1s ease-in;
}
.filter img {
  width: 28px;
}
.filter-line {
  margin-bottom: 10px;
}
.filter {
  border-radius: 10px;
  background-color: #F3F3F3;
  padding: 5px 10px;
  display: inline-block;
  border: 3px solid white;
}
.filter:hover {
  border: 3px dotted #333;
}
.filter.active {
  border: 3px solid #333;
}
