* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.input, .Tasks {
    width: 100%;
    max-width: 600px;
    background-color: rgba(213, 213, 213, 1);
    border-radius: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 20px;
}

.writing {
    text-align: center;
    margin: 40px 0;
}

.input input {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#Task {
    background-color: #1E1C1C;
    color: #fff;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#Task:hover {
    background-color: #fff;
    color: #1E1C1C;
    transform: translateY(4px);
}

#Task:active {
    background-color: #1E1C1C;
    color: #fff;
    transform: scale(1.05) translateY(-4px);
}

#inp:hover {
    transform: scale(1.05);
}

#inp:focus {
    outline: none;
    border-color: #1E1C1C;
    transform: translateY(-4px);
}

label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

#task-list {
    width: 100%;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#task-list li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.group {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.del, .edit {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.edit {
    background-color: #4d94ff;
    color: #fff;
}

.edit:hover {
    background-color: #3b6fbd;
}

.del {
    background-color: #ff4d4d;
    color: #fff;
}

.del:hover {
    background-color: #b03030;
}

.del:active, .edit:active {
    transform: scale(0.95) translateY(2px);
}



.copyright {
    background-color: #f0f0f0;
    opacity: 0.7;
    position: fixed;
    bottom: 0px;
    color: #000;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    margin-top: 30px;
    left: 0;
    right: 0;
}

@media (max-width: 1024px) {
    .input, .Tasks {
        width: 90%;
        padding: 30px;
    }

    #task-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .group {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
    }

    .del, .edit, #Task {
        width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .input, .Tasks {
        width: 100%;
        padding: 20px;
    }

    .del, .edit, #Task {
        font-size: 14px;
        padding: 10px;
    }
}
