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

body {
    background-color: aquamarine;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px; /* Space for floating + icon */
}

header {
    padding: 15px;
}

.search {
    display: block;
    margin: 0 auto;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: rgb(187, 196, 179);
    width: 90%;
    height: 35px;
    font-size: 16px;
}

.text_categories,
.taskss {
    margin-left: 20px;
    margin-top: 20px;
}

.Categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 20px;
}

.Categories a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFEFF0;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-align: center;
}

.Categories a img {
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
}

.tasks {
    margin: 20px;
}

.task {
    background-color: rgb(100, 118, 118);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.task input[type='checkbox'] {
    margin-right: 12px;
}

/* Add Task Button (floating) */
.add-task {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    font-weight: bold;
    width: 70px;
    height: 70px;
    background-color: black;
    color: rgb(101, 194, 186);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */


main {
    padding-bottom: 40px;
}

@media (max-width: 480px) {
    .add-task {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
}
