.container {
  width: 100%;
  max-width: 375px;
  margin: 20px auto;
}
* {
  box-sizing: border-box;
}
.mixing-timer select,
.container > div > button {
  width: 100%;
  font-size: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  padding: 10px;
  background: #6c6c6c;
  color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3e%3c!--! Font Awesome Pro 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3e%3cpath style='fill:white' d='M169.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 274.7 54.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right 20px;
  background-size: 20px;
}
.container > div > button {
  background-color: #8c8c8c;
}
.select-product-label {
  width: 100%;
  font-size: 16px;
  padding: 10px;
  color: #fff;
}
.timer {
  display: flex;
  align-items: center;
}
.timer .controls {
  max-width: 100px;
  margin-right: 20px;
}
.timer .controls button {
  border: none;
  background-color: #8c8c8c;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3e%3c!--! Font Awesome Pro 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3e%3cpath style='fill:white' d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: center center;
}
.timer .controls button.reset {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3c!--! Font Awesome Pro 6.3.0 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3e%3cpath style='fill:white' d='M447.5 224H456c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L397.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L311 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H447.5z'/%3e%3c/svg%3e");
}
.container > div {
  margin-bottom: 20px;
}
.progress-wrap {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}

.progressbar {
  width: 100%;
  margin: 10px auto;
  height: 12px;
  background-color: #ccc;
}
.countdown {
  font-size: 70px;
  text-align: center;
  flex: 1;
  color: #8c8c8c;
}
.progressbar div {
  height: 100%;
  text-align: right;
  line-height: 22px; /* same as #progressBar height if we want text middle aligned */
  width: 0;
  box-sizing: border-box;
}
@keyframes mymove {
  0% {
    width: 0;
  }
  20% {
    width: 10%;
  }
  40% {
    width: 30%;
  }
  60% {
    width: 50%;
  }
  80% {
    width: 70%;
  }
  90% {
    width: 80%;
  }
  95% {
    width: 95%;
  }
  100% {
    width: 100%;
  }
}
@keyframes mymove1 {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}
.mixing-timer button {
  pointer-events: none;
}
.mixing-timer.hard-boiled-egg button,
.mixing-timer.soft-boiled-egg button,
.mixing-timer.medium-boiled-egg button {
  pointer-events: auto;
  cursor: pointer;
}
.soft-boiled-egg .progressbar div,
.soft-boiled-egg .select-product-label,
.soft-boiled-egg .timer .controls button {
  background-color: #660066;
}
.soft-boiled-egg .countdown {
  color: #660066;
}
.medium-boiled-egg .progressbar div,
.medium-boiled-egg .select-product-label,
.medium-boiled-egg .timer .controls button {
  background-color: #3399ff;
}
.medium-boiled-egg .countdown {
  color: #3399ff;
}
.hard-boiled-egg .progressbar div,
.hard-boiled-egg .select-product-label,
.hard-boiled-egg .timer .controls button {
  background-color: #3333cc;
}
.hard-boiled-egg .countdown {
  color: #3333cc;
}
.soft-boiled-egg .select-product-label,
.medium-boiled-egg .select-product-label,
.hard-boiled-egg .select-product-label {
  margin-bottom: 20px;
}
.progress-wrap {
  margin-top: 10px;
  text-align: center;
}
.progress-wrap > div {
  position: relative;
}
.progress-wrap > div:nth-child(1):before {
  content: "0";
  display: inline-block;
  width: 0px;
  height: 0px;
  position: absolute;
  left: -3px;
  bottom: 0;
  font-size: 10px;
}
.progress-wrap p {
  font-size: 10px;
}
.progress-wrap p.duration {
  position: absolute;
  display: inline-block;
  right: -15px;
  bottom: -12px;
  margin: 0;
}
.progress-wrap > div:nth-last-of-type(1) p.duration {
  display: none;
}
.progress-wrap > div {
  border-left: 1px dotted #8c8c8c;
  border-right: 1px dotted #8c8c8c;
}
