* {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

body {

    background-color: #f0f0f0;

}

.container {
    display: flex;
    /* flex-direction: column; */
    /* align-items: center; */
    justify-content: center;
    /* height: 100vh; */
}

#todo-container {
    width: 400px;
    background-color: darkslategray;
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

h2 {
    margin-bottom: 15px;
}

#taskInput {
    width: 70%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    margin-bottom: 10px;
    font-size: 1.2rem;
    background-color: #fff;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

button:hover {
    background-color: #218838;
    /* box-shadow: 0 2px 5px rgb(0, 255, 38); */
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}



p {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

p:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 5px;
    text-align: left;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #fff;
    transition: background 0.2s;
    cursor: pointer;
    gap: 10px;
}

.task-text {
    flex: 1;
    margin-right: 10px;
    word-break: break-word;
}

h1 {
    color: #000;
    font-size: 2rem;
    margin-bottom: 10px;
    margin-top: 20px;
    text-align: center;
    display: block;
    /* background-color: aqua; */
}