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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
 
 .navbar {
    position: fixed; /* Fix the navbar at the top */
    top: 0;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust centering */
    display: flex;
    justify-content: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    width: auto; /* Adjust to fit content */
    border-radius: 8px; /* Optional for rounded corners */
}

.nav-item {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
}

.nav-item:hover {
    background-color: #000000;
    border-radius: 5px;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
}

.timer-container {
    text-align: center;
    margin-bottom: 2rem;
}

#timer {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.timer-controls button {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

#pause {
    background-color: #f44336;
}

#reset {
    background-color: #2196F3;
}

#status {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #666;
}

.task-container {
    margin-top: 2rem;
}

.task-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#taskInput {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#addTask {
    padding: 0.5rem 1rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#taskList {
    list-style: none;
}

#taskList li {
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#taskList li button {
    padding: 0.25rem 0.5rem;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
} 

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

