* {
  font-family: 'Courier New', Courier, monospace;
}

.add-input {
  font-size: x-large;
  padding: 0.5rem;
  border: none;
  border-bottom: 2px solid black;
}

.edit-input {
  font-size: x-large;
  padding: 0.5rem;
  border: none;
}

/* Increase checkbox sizes */
input[type='checkbox'] {
  transform: scale(1.5);
  cursor: pointer;
}

html {
  padding: 3rem;
}

.a-no-underline {
  text-decoration: none;
  color: black;
}

.a-no-underline:hover {
  color: gray;
}

.close-icon {
  color: transparent;
}

/* Make close icon red when you hover anywhere on the item */
.todo-item:hover .close-icon {
  color: rgb(255, 106, 106);
}

.close-icon:hover {
  font-weight: 900;
}

.close-icon:hover,
.close-icon:focus {
  color: rgb(205, 0, 0);
}

.todo-add {
  padding-bottom: 2rem;
}

.input-container {
  display: flex;
  flex-grow: 1;
}

.input-container * {
  width: 100%;
}

.todo-item {
  padding: 20px;
  font-size: x-large;
}

.todo-item {
  border-bottom: 1px dotted gray;
}

.todo-item:last-child {
  border: none;
}

.todo-item:hover,
.add-input:hover,
input[type='checkbox']:hover {
  background-color: #f0f0f0;
}

.parent {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.complete-form {
  display: flex;
}

.left,
.right {
  display: flex;
  flex-direction: row;
}

.left {
  justify-content: flex-start;
}

.middle {
  flex-grow: 1;
  margin-left: 20px;
  margin-right: 20px;
}

.right {
  justify-content: flex-end;
}

.completed {
  text-decoration: line-through;
  color: lightgray;
}
