body {
    font-family: sans-serif;
    margin: 0;
}

#wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#contain {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.check {
    display: flex;
    align-items: center;
    position: relative;
}

/* Hide the default checkbox */
.check input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

/* Create the custom checkbox box */
.checkmark {
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 2px solid #ccc;
    margin-right: 10px;
    display: inline-block;
    transition: background-color 0.2s, border-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
}

/* Style the custom checkbox when checked */
.check input[type="checkbox"]:checked + .checkmark {
    background-color: #2196F3;
    border-color: #2196F3;
    border-radius: 4px;
}

/* Create the checkmark (indicator) when checked */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check input[type="checkbox"]:checked + .checkmark:after {
    display: block;
    content: "✅";
    font-size: 16px;
    color: white;
}

.check input[type="checkbox"]:not(:checked) + .checkmark:before {
    display: block;
    content: "";
    font-size: 16px;
    color: white;
    width: 40px;
}

/* Style for the text next to the checkbox */
.check-label-text {
    cursor: default;
}

#h1 {
    margin-top: 50px;
}

.reset-button,
.add-button,
.remove-button {
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.reset-button {
    background-color: #f44336;
}

.reset-button:hover {
    background-color: #da190b;
}

.add-button {
    background-color: #4CAF50;
}

.add-button:hover {
    background-color: #45a049;
}

.remove-button {
    background-color: #FFC107;
}

.remove-button:hover {
    background-color: #e0a800;
}

.add-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 5px;
}

.add-input-container input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}
/* Add these styles to your existing CSS */
.completed-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  color: #333;
  font-family: sans-serif;
  text-align: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s, visibility 1s;
}

.completed-message.show {
  opacity: 1;
  visibility: visible;
}

