@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Mochiy+Pop+P+One&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Mochiy Pop P One", "IBM Plex Sans", "Nunito Sans", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #1c1f21;
    /* Light gray */
    color: #333;
    /* Dark text color */
}

header {
    background-color: #70848454;
    /* Dark gray */
    color: #fff;
    /* White text color */
    padding: 20px;
    text-align: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    margin: 5px;
    font-family: "Mochiy Pop P One";
    font-weight: bold;
    letter-spacing: 2px;
    color: #5e9bd3;
    text-align: center;
    font-size: 40px;
}

.container {
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    /* White */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
    font-weight: bold;
    letter-spacing: 1px;
    color: #4CAF50;
    font-family: "IBM Plex Sans";
    /* Green color */
}

input[type="text"] {
    padding: 15px;
    margin-right: 15px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    /* Gray border */
    background-color: #f8f9fa;
    /* Light gray */
    color: #495057;
    /* Dark gray text color */
    font-size: 18px;
    width: 400px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    /* Blue color */
    color: #fff;
    /* White text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
    /* Light gray border */
    border-radius: 5px;
    background-color: #fff;
    /* White */
    margin-bottom: 10px;
    position: relative;
    transition: background-color 0.3s;
}

li:hover {
    background-color: #f8f9fa;
    /* Light gray on hover */
}

li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.task-heading {
    font-size: 1.5em;
    font-weight: 600;
    font-family: "Nunito Sans";
    color: #343a40;
    /* Dark gray */
}

.task-content {
    margin-bottom: 10px;
    color: #495057;
    /* Dark gray text color */
}

.actions {
    position: absolute;
    top: 5px;
    right: 5px;
}

.actions button {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #dc3545;
    /* Red color */
    cursor: pointer;
    transition: color 0.3s;
}

.actions button:hover {
    color: #bd2130;
    /* Darker red on hover */
}

.actions button:focus {
    outline: none;
}

.add-btn {
    padding: 18px 28px;
    background-color: #f2b1d4db;
    /* Blue color */
    color: #fff;
    /* White text color */
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-btn:hover {
    background-color: #93b3d4;
    /* Darker blue on hover */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.save-btn, .cancel-btn {
    margin-right: 8px;
    background-color: #1da858c7;
}

.task-date-time {
    font-size: 12px;
    color: #121414; /* Light gray color */
    position: absolute;
    bottom: 5px;
    right: 5px;
}
