@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ddfffe;
  position: relative;
}
body::selection {
  background: 0 0;
}

/* Go Home */
.go-home {
  position: absolute;
  width: 40px;
  height: auto;
  top: 20px;
  right: 40px;
}
.go-home a svg {
  transition: all ease 0.3s;
}
.go-home:hover a svg {
  scale: 0.9;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.input-container {
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 20px;
}

.input-container input {
  border: none;
  outline: none;
  padding: 12px;
  margin-block: 12px;
  border-radius: 4px;
  font-size: 16px;
}

.input-container input[type="text"] {
  width: 70%;
}

.input-container input[type="button"] {
  background-color: #00cdc9;
  color: #fff;
  font-weight: 700;
  margin-left: 8px;
  cursor: pointer;
  padding: 12px 24px;
}

.input-container input[type="button"]:hover {
  background-color: #04ebeb;
}

ul {
  width: 70%;
  max-width: 450px;
}

ul li {
  list-style-type: none;
  cursor: pointer;
  margin-block-end: 12px;
  border-radius: 8px;
  border: 0.125px solid #a19f9f;
  padding: 6px 12px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.5s;
}

ul li:hover {
  background-color: #eeeeee;
}

ul li p {
  flex-grow: 1;
  padding: 2px;
}
.btn {
  border: none;
  outline: none;
  font-size: 16px;
  background: none;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
}

.deleteBtn {
  color: #ff0000;
}

.editBtn {
  color: #00cdc9;
}

@media (max-width: 780px) {
  .go-home {
    width: 40px;
    top: 10px;
    right: 30px;
  }
}
