.dot {
  position: relative;
  height: 25px;
  width: 25px;
  background-color: #9880ff;
  border-radius: 50%;

  top: 50vh;

  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

.dot::before,
.dot::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot::before {
  left: -40px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #9880ff;

  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: 0s;
}

.dot::after {
  left: 40px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #9880ff;

  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: 1s;
}

@keyframes dotFlashing {
  0% {
    background-color: #9880ff;
  }

  50%,
  100% {
    background-color: #ebe6ff;
  }
}

:root {
  /* margin value */
  --margin-ns: 12px;

  /* padding value */
  --padding: 12px;

  /* colors */
  --line-color: #dcdcdc;
  --line-focus-color: #c49e9e;
  --bg-color: #71d4ff;

  /* font */
  --font-size-xs: 1rem;
  --font-size-s: 1.1rem;
  --font-size-m: 1.2rem;
  --font-size-l: 1.4rem;
  --font-color: #fbfdf4;

  /* border-radius */
  --border-size-s: 2px;
  --border-radius-s: 4px;
}

* {
  margin: 0;
  padding: 0;

  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
}

textarea {
  resize: none;
  outline: none;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  height: 100%;
}

.title {
  margin: var(--margin-ns) 0;
}

.content {
  width: 60%;
  height: auto;

  margin-bottom: var(--margin-ns);
}

.textarea {
  width: 100%;
  height: 40vh;
  padding: var(--padding);

  border: var(--border-size-s) solid var(--line-color);
  border-radius: var(--border-radius-s);

  font-size: var(--font-size-xs);

  margin-bottom: var(--margin-ns);
}

.textarea:focus {
  border: var(--border-size-s) solid var(--line-focus-color);
}

.result {
  margin-bottom: var(--margin-ns);

  font-size: var(--font-size-m);
  font-weight: bold;
}

.button {
  font-size: var(--font-size-l);

  color: var(--font-color);
  padding: var(--padding);
  background-color: var(--bg-color);

  border: none;
  border-radius: var(--border-radius-s);

  cursor: pointer;
}

.table {
  display: flex;
  flex-direction: column;
}

.table__head {
  font-weight: bold;
}

.table__head,
.table__row {
  display: flex;
  justify-content: space-between;

  border-bottom: solid var(--border-size-s) var(--line-color);
}
.table__body {
  display: flex;
  flex-direction: column;
}

.table__items {
  width: 100%;
  text-align: left;

  font-size: var(--font-size-xs);
}

@media screen and (max-width: 700px) {
  .container {
    width: 100vw;
  }

  .content {
    width: 95%;
  }

  .textarea {
    box-sizing: border-box;
  }
}

