@import url("https://fonts.googleapis.com/css2?family=Signika+Negative:wght@400;600&display=swap");
:root {
  --number-size: 1.2rem;
}

.item {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.green {
  background-color: #28a92b;
}

.purple {
  background-color: #b463d5;
}

body {
  padding: 0.5rem;
  font-family: "Signika Negative", sans-serif, Arial;
  background: #1d1d1d;
  color: #fff;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 1px;
  margin: 0;
}

h3 {
  font-size: 28px;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 400;
}

#app {
  opacity: 0;
}

.flow > * + * {
  margin-top: 0.5rem;
}

.interface {
  position: relative;
  padding: 3rem 2rem 3rem;
  background-color: #262626;
  border-radius: 10px;
  width: clamp(300px, 80vw, 900px);
  box-shadow: 0 19px 28px rgba(0, 0, 0, 0.05), 0 15px 8px rgba(0, 0, 0, 0.04);
}
.interface__title {
  position: relative;
  color: #fff;
  display: block;
  width: 100%;
  padding-bottom: 1rem;
  padding-left: 3px;
  display: flex;
  flex-direction: row;
}
.interface__title h1 {
  font-size: 1.2rem;
}

.timeline > * + * {
  margin-top: 0.5rem;
}

.timeline__item {
  width: 2px;
  margin: 0.75rem;
  border-radius: 999px;
  box-sizing: border-box;
  text-align: center;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__item.purple span {
  display: none;
  font-size: 0.85rem;
}

.scrubber {
  position: absolute;
  bottom: 3rem;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background-color: #e55555;
  z-index: 1;
}

.button__svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 2px;
  pointer-events: none;
}

.button {
  position: absolute;
  font-size: 0;
  border: none;
  outline: none;
  background-color: transparent;
  top: 10px;
  left: 1rem;
  cursor: pointer;
}

.button.playing .pause {
  opacity: 1;
}
.button.playing .play {
  opacity: 0;
}

.button:not(.playing) .pause {
  opacity: 0;
}
.button:not(.playing) .play {
  opacity: 1;
}

.times {
  width: calc(100% - 20px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 999;
  margin-left: 10px;
}

.times > * {
  position: relative;
}

.times div {
  margin-top: 1rem;
  width: 0.5px;
  height: 5px;
  background-color: #fff;
  opacity: 0.7;
  position: relative;
}

.times span {
  display: none;
  font-size: var(--number-size);
}

.times div:nth-child(5n+1) {
  height: 10px;
  background-color: #fff;
  opacity: 1;
}

.times div:nth-child(5n+1) span {
  display: block;
  font-family: "nunito", sans-serif, Arial;
  color: #fff;
  text-align: center;
  position: absolute;
  width: auto;
  height: 1rem;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.times .label {
  height: 10px;
  background-color: #00000090;
}

.times .label span {
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 1rem;
  left: 0%;
  transform: translateX(-0.5rem);
  z-index: 2;
}

.times .label:after {
  font-size: 0.85rem;
  text-align: center;
  content: "myLabel";
  position: absolute;
  background-size: 70%;
  background-position: center bottom;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
  left: -30px;
  top: 400%;
  z-index: 9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Capa_1' x='0' y='0' version='1.1' viewBox='0 0 344.406 344.406' xml:space='preserve'%3E%3Cpath fill='%232191FB' d='M243.243 0h-142.08c-13.767.044-24.916 11.193-24.96 24.96v298.8c0 21 21.04 31.2 37.48 5l58.52-93.28 58.52 93.28c16.44 26.2 37.48 15.96 37.48-5V24.96C268.159 11.193 257.01.044 243.243 0z'/%3E%3C/svg%3E");
}

.emojis {
  display: flex;
  margin-bottom: 0.5rem;
  z-index: -1;
  pointer-events: none;
  flex-direction: column;
}

.emoji {
  margin: 1rem;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.heart {
  width: 3rem;
  height: 2.5rem;
  object-position: 85%;
}

#options {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#options .input {
  margin-top: 2rem;
  font-size: 1.3rem;
  border: none;
  outline: none;
  padding: 1rem 0.5rem;
  border-bottom: solid 4px #51da85;
}

.radios {
  display: flex;
}

.radio {
  display: flex;
  align-items: center;
}

.radio .box {
  width: 50px;
  background-color: #464646;
  border-radius: 5px;
  cursor: pointer;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.radio .info {
  display: inline-block;
  margin-left: 1rem;
}

.radio:nth-of-type(5) .checked ~ .box {
  border-color: #2191FB;
  background-color: #2191FB;
  color: #fff;
}

.checked ~ .box {
  border-color: #b463d5;
  background-color: #b463d5;
  color: #fff;
}

.radio input {
  position: absolute;
  opacity: 0;
}

.radio--simple .box {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 99%;
  border-color: #ddd;
}

.radio--simple .box:after {
  position: absolute;
  content: "";
  width: 75%;
  height: 75%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 99%;
  opacity: 0;
  background-color: #464646;
}

.radio--simple .checked ~ .box {
  border-color: #51da85;
  background-color: #51da85;
}

.radio--simple .checked ~ .box:after {
  opacity: 1;
}

.offset {
  background-color: #464646;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  display: inline-flex;
  overflow: hidden;
}
.offset input:not(.number) {
  opacity: 0;
  position: absolute;
}
.offset .offset__type {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  font-size: 0.8rem;
}
.offset .offset__type.checked {
  background-color: #28a92b;
  color: #1b1b1b;
}

.offsets .radio--simple {
  margin-top: 1rem;
}

.offsets .radio--simple .checked ~ .box {
  background-color: #b463d5;
}

.offset--previous .offset__type.checked {
  background-color: #b463d5;
}

.offset--previous {
  border-color: #b463d5;
}

.text {
  width: 100%;
}

.label {
  display: block;
  margin-top: 1rem;
}

.number {
  border: none;
  padding: 0.75rem 1rem;
  padding-right: 0.2rem;
  font-size: 1.3rem;
  border-radius: 20px;
  outline: none;
  font-size: 1.2rem;
  background-color: #464646;
  color: #fff;
}

.helperText {
  opacity: 0;
  min-height: 135px;
  text-align: center;
}

.greenTxt {
  color: #25b961;
  font-weight: bold;
}

.purpleTxt {
  color: #b463d5;
  font-weight: bold;
}

.blueTxt {
  color: #2191FB;
  font-weight: bold;
}

.invalid {
  height: 2rem;
  font-size: 0.85rem;
}

footer {
  display: flex;
}

.code {
  opacity: 0.6;
}

.position-text {
  font-size: 1.4rem;
  opacity: 1;
  margin: 0.1em;
  margin-bottom: 0.2em;
  padding: 5px 2px;
  padding-bottom: 0;
  font-weight: 600;
}

.code-container {
  font-family: "Fira Code", monospace;
  margin-top: 3rem;
  font-size: 1.1rem;
  padding: 1rem;
  align-items: center;
  line-height: 2em;
  color: #fff;
}

.code-container:not(.mobile) {
  display: flex;
  justify-content: center;
  white-space: pre;
}

.code-container.mobile {
  display: none;
}

.code-container.mobile .position-text {
  display: inline-block;
}

.code {
  white-space: pre;
}

.options {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.options__container {
  flex: 0 0 50%;
  max-width: 50%;
}

.hide-comma {
  display: none;
}

.code-container .position-text.hide-position {
  margin-left: 0;
  display: none;
}

@media (max-width: 800px) {
  .options__container {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .code-container:not(.mobile) {
    display: none;
  }

  .code-container.mobile {
    display: block;
  }

  .position-text {
    font-size: 1.3rem;
  }
}