
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #ffffff;
    --black: #1d1f2c;
    --gray-light: #dfdfdff6;
    --green-light: #dde6d4;
    --green-dark: #727d73;
    --blue-green: #2c7b90;
    --green-mud: #96a798;
    --red-lighter: #e26658;
}

body {
    background: linear-gradient(to bottom,var(--green-dark),var(--green-light));
    height: 100vh;
    font-family: "Nata Sans", sans-serif;
}

.container{
    max-width: 85%;
    width: 400px;
    height: 600px;
    margin: 0 auto;
}

/*Profile*/

.profile h1 {
    color:var(--white);
    margin: 8px 0;
}

.profile h4 {
    color:var(--green-light);
    letter-spacing: 2px;

}

#date {
    color: var(--gray-light);
    padding: 30px 0 5px 0;

}

/*add-task*/

.add-task {
    background-color: var(--blue-green);
    border-radius: 15px;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 70px;
    margin: 30px 0;

}

.add-task input {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: none;
    background-color: var(--gray-light);
    text-align: center;
    font-size: 1.2rem;
}

.add-task i {
    font-size: 45px;
    color: var(--green-light);

}

.add-task i:hover {
    transform: scale(1.1);
    cursor: pointer;

}

.add-task input::placeholder {
    font-size: 0.9rem;
    color: var(--blue-green);
    text-align: center;
}

/*list-task*/

.list-task h3 {
    color: var(--white);
    margin-bottom: 10px;

}

.list-task li {
    display: flex;
    background: linear-gradient(to bottom,var(--white),var(--gray-light));
    border-radius: 15px;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0;
    color: var(--black);

}

.list-task i {
    font-size: 25px;

}

.list-task i:hover{
    color: var(--blue-green);
    cursor: pointer;

}

.list-task > ul p {
    font-size: 1.2rem;

}

.line-through {
    text-decoration: line-through;
    color: var(--green-dark);
}

/*Clear button*/

#clear-completed {
    background: var(--red-lighter);
    font-size: 0.9rem;
    border-radius: 8px;
    width: 30%;
    height: 30%;
    padding: 8px;
    margin: 10px 0;
    color: var(--white);
}

/*Text & Edit*/

.text {
    flex: 1;
    margin: 0 10px;
}
.de, .edit {
    cursor: pointer;
    margin-left: 10px;
    color: #888;
}
.edit-input {
    flex: 1;
    margin: 0 10px;
    font-size: 1rem;
}