* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#charsContainer {
  height: fit-content;
  width: 80%;
  margin: 10px auto;
  padding: 3px;
  /* display: flex; */
  flex-wrap: wrap;
  border: 1px solid grey;
  border-radius: 5px;
  display: none;
}

#charsContainer > span {
  background: #336699;
  width: fit-content;
  color: white;
  margin: 5px;
  border-radius: 5px;
  padding: 0 10px;
  font-size: 30px;
}

input {
  height: 30px;
  border-radius: 5px;
  outline: none;
  border: 1px solid grey;
  padding-inline: 5px;
}

#charForm,
#paragraphForm {
  /* background: pink; */
  width: 300px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px;
  border-radius: 5px;
  margin: 10px auto;
}

#charForm > div {
  width: fit-content;
  margin: 0 auto;
  margin-top: 10px;
}

#charForm button,
#paragraphForm > button {
  background: orange;
  color: white;
  outline: none;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

#charForm button:first-child {
  margin-right: 10px;
}

#charForm button:last-child {
  margin-left: 10px;
}

button:hover {
  opacity: 0.8;
}

#paragraphForm > button {
  margin: 0 auto;
  margin-top: 10px;
  width: fit-content;
}

/* From Uiverse.io by csozidev */
/* glowing hover dummyPassage made by: csozi | Website: english.csozi.hu*/

#dummyPassage {
  display: none;
  position: relative;
  width: 90%;
  min-height: 200px;
  height: fit-content;
  max-height: 500px;
  overflow-y: auto;
  color: white;
  padding: 5px;
  background: rgb(19, 24, 48);
  /* background: linear-gradient(
    137deg,
    rgb(255, 0, 179) 0%,
    rgba(0, 212, 255, 1) 100%
  ); */
  transition: 0.3s ease;
  border-radius: 10px;
  margin: 0 auto;
  filter: drop-shadow(0px 0px 3px rgba(209, 38, 197, 0.5));
}

#dummyPassage::after {
  background-color: #181818;
  position: absolute;
  /* z-index: 1; */
  transition: 0.3s ease;
  height: 99%;
  width: 99%;
  top: 0.5%;
  left: 0.5%;
  border-radius: 8px;
}

#dummyPassage:hover {
  filter: drop-shadow(0px 0px 4px rgba(209, 38, 197, 1));
}

/* From Uiverse.io by fabiodevbr */
#copyButtonOuterBox button {
  background-color: #f2f7fa;
  width: 100px;
  height: 30px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition-duration: 700ms;
}

#copyButtonOuterBox button span:first-child {
  color: #0e418f;
  position: absolute;
  transform: translate(-50%, -50%);
}

#copyButtonOuterBox button span:last-child {
  position: absolute;
  color: #b5ccf3;
  opacity: 0;
  transform: translateY(100%) translateX(-50%);
  height: 14px;
  line-height: 13px;
}

#copyButtonOuterBox button:focus {
  background-color: #ffffff;
  /* width: 120px;
  height: 40px; */
  transition-delay: 100ms;
  transition-duration: 500ms;
}

#copyButtonOuterBox button:focus span:first-child {
  color: black;
  transform: translateX(-50%) translateY(-150%);
  opacity: 0;
  transition-duration: 500ms;
}

#copyButtonOuterBox button:focus span:last-child {
  transform: translateX(-50%) translateY(-50%);
  opacity: 1;
  transition-delay: 300ms;
  transition-duration: 500ms;
}

#copyButtonOuterBox button:focus:end {
  background-color: #ffffff;
  width: 120px;
  height: 40px;
  transition-duration: 900ms;
}

#copyButtonOuterBox {
  /* background: pink;   */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}
