* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-color: rgb(133, 199, 133);
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: rgb(23, 109, 23);
    padding: 30px;

    opacity: 0;
    animation: fadeInBody 1s ease forwards;
    animation-delay: 1s; 
}

h1 {
    color: rgb(3, 87, 3);
    font-weight: bolder;
    opacity: 0;
    animation: fadeInHeading 1s ease-in forwards;
}

.withText {
    display: inline-block;
    vertical-align: middle;
    width: 80px;
    height: 80px;
    margin-right: 10px;

    opacity: 0;
    animation: fadeInIcon 1s ease-in forwards;
}

.category {
    display: inline-block;
    vertical-align: top;
    width: 250px;
    min-height: 100px;
    margin: 10px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.taskList {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

input[type="text"] {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1.5px solid #4CAF50;
    font-size: 0.95em;
    width: 75%;
    margin-top: 4px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

input[type="text"]:focus {
    border-color: #2e8b57;
    outline: none;
    background-color: #f0fff0;
}

input[type="button"],
button {
    padding: 6px 12px;
    margin-top: 4px;
    border: none;
    border-radius: 6px;
    background-color: #4CAF50;
    color: white;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

input[type="button"]:hover,
button:hover {
    background-color: #45a049;
    transform: scale(1.03);
}

textarea {
    width: 100%;
    min-height: 50px;
    padding: 8px;
    border-radius: 6px;
    border: 1.5px solid #ccc;
    font-size: 0.9em;
    resize: vertical;
    transition: 0.2s ease;
}

textarea:focus {
    border-color: #4CAF50;
    outline: none;
    background-color: #f9fff9;
}




/* Animations */
@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

@keyframes fadeInHeading {
    to {
        opacity: 1;
    }
}

@keyframes fadeInIcon {
    to {
        opacity: 1;
    }
}
