/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Poppins', sans-serif;
}

/* Background */
body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
}

/* Card Design */
.card{
    width:350px;
    padding:30px;
    border-radius:20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    box-shadow:0 15px 35px rgba(0,0,0,0.4);
    display:flex;
    flex-direction:column;
    gap:15px;
    transition:0.4s ease;
    animation: cardEntry 1s ease;
}

/* 3D Hover Effect */
.card:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow:0 25px 45px rgba(0,0,0,0.6);
}

/* Input Fields */
.card input{
    padding:12px 15px;
    border:none;
    border-radius:10px;
    outline:none;
    font-size:14px;
    background:rgba(255,255,255,0.15);
    color:linear-gradient(45deg,#ff512f,#dd2476);
    transition:0.3s;
}

/* Placeholder Color */
.card input::placeholder{
    color:black;
}

/* Input Hover & Focus */
.card input:hover,
.card input:focus{
    background:rgba(255,255,255,0.25);
    transform:scale(1.03);
}

/* Button Styling */
.card button{
    padding:12px;
    border:none;
    border-radius:10px;
    font-weight:600;
    color:white;
    background: linear-gradient(45deg,#ff512f,#dd2476);
    cursor:pointer;
    transition:0.3s;
}

/* Button Hover */
.card button:hover{
    transform:scale(1.05);
    box-shadow:0 8px 20px rgba(255,80,80,0.5);
}

/* Task List */
#tasklist{
    margin-top:10px;
    list-style:none;
    color:black;
}

#tasklist li{
    background:rgba(255,255,255,0.1);
    padding:10px;
    border-radius:8px;
    margin-bottom:8px;
    transition:0.3s;
}

/* List Hover */
#tasklist li:hover{
    background:rgba(255,255,255,0.25);
    transform:translateX(5px);
}

/* Card Entry Animation */
@keyframes cardEntry{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 480px){

    .card{
        width:90%;
        padding:20px;
    }

    .card input,
    .card button{
        font-size:13px;
        padding:10px;
    }

}
