* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;

}

body {
    background: linear-gradient(to right, #01bbeef2, #016becef);
    min-height: 1000px;
}

/* Start Header Section */


.header-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #F2F7FC;
    padding: 30px 20px;
    border-bottom: 2px solid #d3e6fc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: animation1 0.8s ease forwards;
    transition: box-shadow 0.3s ease;
}

.header-section:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

.header-section .author-content {
    text-align: center;
}

.header-section .author-content img {
    width: 110px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00c6ff;
    box-shadow: 0 0 10px rgba(0, 114, 255, 0.3);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.header-section .author-content img:hover {
    transform: scale(1.08) rotate(2deg);
}

.header-section .author-content .author-name {
    font-size: 1.6em;
    font-weight: bold;
    color: #0072ff;
    margin-bottom: 5px;
}

.header-section .author-content .about {
    font-size: 1em;
    color: #555;
    background-color: #e6f0fa;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-section .author-content .about:hover {
    background-color: #0072ff;
    color: white;
}

@keyframes animation1 {
    from {
        opacity: 0;
        transform: translateY(-150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* End Header Section*/
.container {
    width: 90%;
    max-width: 700px;
    padding: 15px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;

}

/* Phone Screen */
@media (max-width: 600px) {
    .container {
        width: 95%;

    }

    .body {
        font-size: 15px;
    }
}

/* Medium Screen */
@media (max-width: 900px) {
    .container {
        width: 80%;
        padding: 18px;
    }

    .body {
        font-size: 16px;
    }
}

/* Large Screen */
@media (min-width: 901px) {
    .container {
        width: 65%;
        padding: 20px;
    }

    .body {
        font-size: 18px;

    }
}

form {
    background-color: #F2F7FC;
    padding: 16px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;

}

.input {
    width: 80%;
    height: 40px;
    padding-left: 10px;
    border-radius: 5px;
    margin-right: 10px;
    border: 2px solid rgb(225, 224, 224);
    outline: none;
    transition: border-color .3s ease;
    background-color: #ffffff;
}

@media (max-width: 600px) {
    .input {
        margin-bottom: 10px;
        width: 100%;
    }
}

.input:focus {
    border-color: #ff6B6B;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.add {
    height: 40px;
    padding: 5px;
    color: white;
    background-color: #ff5959;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    transition: background-color 150ms ease;
}

.add:hover {
    background-color: #f80000;
}

.container .delAll {

    display: flex;

    margin: 0 20px 0 auto;
    height: 30px;
    padding: 5px;
    color: white;
    background-color: #ff5959;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    transition: background-color 150ms ease;
}

.container .delAll:hover {
    background-color: #f80000;
}

.tasks {
    background-color: #f0f7ff;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    display: grid;
    gap: 10px;
}

.tasks .task {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, #4801eef2, #9a01ecef);
    cursor: pointer;


}

.tasks .task .task-text {
    padding: 10px;
    background-color: #ffffff;
    flex-grow: 1;
    font-size: .9em;
    border-radius: 5px;
    text-align:

}

.tasks .task .task-text span {
    display: inline-block;
    background-color: white;
    height: 14px;
    width: 14px;
    border: solid 1px black;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

.tasks .done .task-text span {
    background-color: black;
    border: white 2px solid;
}

.tasks .task .delete {
    align-self: center;
    padding: 7px 5px;
    color: white;
    background-color: #ff5959;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    transition: background-color 150ms ease;
}

.tasks .task .delete:hover {
    background-color: #f80000;
}

.done .task-text {
    text-decoration: line-through black;
    color: rgb(0, 0, 0);
    background-color: rgb(220, 242, 220) !important;
}
