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

body {
    font-family: 'Poppins', sans-serif;
    background-size: cover;
}

.time-date {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    z-index: 10;
}

#clock {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}

#day {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
}

.task-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(5px);
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#task-title {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: white;
}

#add-task {
    padding: 10px 15px;
    font-size: 20px;
    background-color: #FE5F02;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#add-task:hover {
    background-color: #e04e02;
}

.tasks-list {
    margin-top: 20px;
}

.task {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.task.done {
    background-color: #e0f7e0;
}

.task-content {
    flex-grow: 1;
    font-size: 16px;
}

.done-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
}

.done-checkbox.checked {
    background-color: #00e676;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

button i {
    font-size: 18px;
}

.edit-btn i {
    color: #1885ce;
}

.remove-btn i {
    color: #e53935;
}

button:hover i {
    opacity: 0.8;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.modal input {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.modal button {
    padding: 10px;
    font-size: 16px;
    background-color: #FE5F02;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal button:hover {
    background-color: #e04e02;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
        justify-content: space-around;
        padding: 40px;
    }

    .task-box {
        max-width: 600px;
    }

    .input-group {
        gap: 15px;
    }

    #task-title {
        font-size: 18px;
    }

    #add-task {
        font-size: 24px;
    }

    .task {
        font-size: 18px;
    }
}