* {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  font-size: 12px;
}

h1 {
  font-size: 45px;
}

.btn {
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  height: 36px;
  background-color: #7e41ff;
  color: white;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background-color 100ms;
  user-select: none;
}

.btn:hover {
  background-color: #5c2fbe;
}

.btn:active {
  box-shadow: none;
  position: relative;
  top: 2px;
}

#app {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.chart {
  padding-bottom: 30px;
  font-size: 45px;
}

.chart:not(.saved) circle {
  cursor: move;
}

.title {
  font-size: 30px;
  padding-bottom: 10px 10px;
  margin-bottom: 10px;
}

.chart-data {
  outline: 1px solid #333;
  padding: 10px;
  margin-right: 20px;
  position: relative;
}

.num {
  width: 42px;
  text-align: center;
}

.single-element {
  width: 400px;
  padding: 5px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 25px;
}

.saved .single-element {
  justify-content: flex-start;
}

.saved .single-element span {
  padding-left: 40px;
}

.bottom-options {
  display: flex;
  justify-content: space-between;
}

input {
  height: 36px;
  padding: 4px 8px;
  border: 2px solid #333;
}

.edit {
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.edit:active {
  position: absolute;
  bottom: 6px;
  top: initial; /*  auto and inherit also work..: */
}
