@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

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

:root {
  --background-color-light: #f4f4f4;
  --background-color-dark: #057172;
  --text-color-light:#057172;
  --text-color-dark: #fff;
}

/* light mode styles */
body {
  background-color: var(--background-color-light);
  color: var(--text-color-light);
}

/* darkmode styles */
body.dark-mode {
  background-color: var(--background-color-dark);
  color: var(--text-color-dark);
}


/* header styles */
.header {
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    font-size: 30px;
    font-weight: 800;
}

.mode {
    border: 1px solid #000;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
}

/* add task styles */

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 120px;
    gap: 40px;
}

.form input {
    padding: 20px 15px;
    outline: none;
    border: 1px solid #057172;
    border-radius: 5px;
    width: 500px;
    font-size: 20px;
    color: #057172;
}

.form input::placeholder {
    color: #057172;
}

.form button {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    color: #057172;
    border: 1px solid #057172;
}

/* pendng task list*/

.pending {
    padding: 50px 50px;
}

.pending header h3 {
    font-weight: 600;
    font-size: 25px;
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 20px;

}

/* completed task list styles */

.completed {
    padding: 50px 50px;
}

.completed header h3 {
    font-weight: 600;
    font-size: 25px;
    border-bottom: 2px solid #000;
    padding-bottom: 20px;

}