:root {
    --main-color: #ffa07a;  
}

body {
    background-color: #ffecaa;
    font-family: 'Fredoka', sans-serif;
    text-align: center;
    padding-top: 60px;
    color: var(--main-color);
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px #ffc5d0;
    color: var(--main-color);
    transition: color 0.5s ease, text-shadow 0.3s ease;
}
h1:hover {
    text-shadow: 0 0 25px var(--main-color), 0 0 40px #ffc5d0;
}

#session {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--main-color);
    transition: color 0.5s ease;
}


#mode {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--main-color);
    transition: color 0.5s ease;
}


#timer {
    font-size: 5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px #ffc5d0;
    color: var(--main-color);
    transition: color 0.5s ease, text-shadow 0.3s ease;
}
#timer:hover {
    text-shadow: 0 0 25px var(--main-color), 0 0 40px #ffc5d0;
}


button {
    font-size: 1.5rem;
    padding: 15px 30px;
    margin: 10px;
    border: none;
    border-radius: 15px;
    background-color: var(--main-color);
    color: white;
    box-shadow: 0 0 0 transparent;
    cursor: pointer;
    transition: box-shadow 0.5s ease, transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
    background-color: #ff825e;
    transform: scale(1.1) rotate(1deg);
}

.active-glow {
    box-shadow: 0 0 10px #ffc5d0, 0 0 20px var(--main-color), 0 0 30px #ffc5d0;
}

#duck {
    position: fixed;
    bottom: 20px;
    left: 0px;
    width: 120px;
    z-index: 10;
    transition: left 0.3s linear;
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

#todo-container {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 250px;
    height: 400px;
    background-image: url("writing.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow-y: auto;
    padding: 80px 20px 20px 20px; 
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: 'Fredoka', sans-serif;
}



#todo-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

#todo-input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: 'Fredoka', sans-serif;
}


#todo-list li {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    color: #5c4b4b;
    margin-bottom: 0;
    padding-left: 5px;
    line-height: 30px;  
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}



#todo-list li:hover {
    text-decoration: line-through;
    color: #bfa8a8;  
    cursor: pointer;
    opacity: 0.7;
}



.todo-delete {
    background: none;
    border: none;
    color: #ff4d4d;
    font-weight: bold;
    cursor: pointer;
}


#add-todo {
    position: absolute;
    top: 20px;
    left: 10px;
    font-size: 0.9rem;
    padding: 5px 15px;
    border: none;
    border-radius: 15px;
    background-color: #fbe4e3; 
    color: #5c4b4b; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
}

#add-todo:hover {
    background-color: #f6d6d5;
    transform: scale(1.05);
}


#todo-input:focus {
    outline: none;
    border: 1px solid #f1b9a4;
    box-shadow: 0 0 5px #f1b9a4;
}
