*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #fbeaff;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
.section-center {
  width: 90vw;
  margin: 0 auto;
  max-width: 35rem;
  margin-top: 8rem;
  text-align: center;
  background-color: #b39cd0;
  border: 3px solid #845ec2;
  border-radius: 8px;
}
.main {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.show-message {
  text-transform: capitalize;
  margin: 1rem 4rem;
  background-color: #00c9a7;
  letter-spacing: 2px;
  color: white;
  visibility: visible;
}
.hide-message {
  visibility: hidden;
}
.btn-form {
  display: flex;
  justify-content: center;
  margin: auto 1rem;
}
.value {
  flex: 1 0;
  padding: 0.2rem;
  border: 2px solid #845ec2;
}
.btn {
  background-color: #00c9a7;
  color: white;
  border: 2px solid #00c9a7;
  padding: 0 0.5rem;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
}

.item {
  display: flex;
  margin: 0.5rem 1rem;
  background-color: aliceblue;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border: 2px solid #845ec2;
  border-radius: 8px;
}
.item-value {
  flex: 1 auto;
  text-align: justify;
}
.delete-btn {
  background: none;
  color: red;
  border: none;
  cursor: pointer;
}
.edit-btn {
  background: none;
  color: green;
  border: none;
  cursor: pointer;
}
.item-clear {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.clear-btn {
  color: red;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2rem;
}
