
body {
    background-color: #f9f4e7;
    font-family: 'Arial', sans-serif;
    color: #5f4b3b; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.head {
    text-align: center;
    color: #8b4513; 
    font-size: 2.5rem;
    letter-spacing: 2px;
}


.form {
    text-align: center;
   
}

.task_input {
    transition: all 0.3s ease;
    border: 1px solid #8b4513;
    height: 40px;
    width: 60%;
    max-width: 450px;
    border-radius: 6px;
    background-color: #fff8e1;
    color: #8b4513;
    padding: 0 10px;
    font-size: 1rem;
}

.task_input:focus {
    outline: none;
    border-color: #292321; 
    background-color: #fff0e0;
}


.input_submit {
    transition: all 0.3s ease;
    border: 1px solid #8b4513;
    height: 40px;
    width: 20%;
    border-radius: 6px;
    background-color: #ff7f50; 
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 15px;
}

.input_submit:hover {
    background-color: #e75d2a; 
    color: #fff8e1;
}

.section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}


.section_main {
    border: 2px solid #8b4513;
    padding: 15px;
    width: 300px;
    border-radius: 10px;
    background-color: #ffefd5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section_head {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff8e1;
    border: 1px solid #8b4513;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: #5f4b3b;
    font-size: 1.1rem;
}


ul li i {
    cursor: pointer;
    font-size: 1.3rem;
    padding: 5px;
    transition: all 0.3s ease;
}

ul li i:hover {
    transform: scale(1.2); 
}


ul li .fa-arrow-right {
    color: #ff7f50; 
}

ul li .fa-check {
    color: #32cd32; 
}

ul li .fa-arrow-left {
    color: #ff6347; 
}

ul li .fa-trash-alt {
    color: #dc143c; 
}


@media (max-width: 768px) {
    .task_input {
        width: 80%;
    }

    .input_submit {
        width: 50%;
    }

    .section {
        flex-direction: column;
        align-items: center;
    }

    .section_main {
        width: 90%;
        max-width: 500px;
    }
}
