@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}
.container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #eb65d0, #4006a4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.datetime {
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    color: #000000;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 40px;
    max-width: 620px;
    border-radius: 10px;
    background-color: #e9ecec;
    align-self: center;
    width: 100%;
    justify-self: center;
}
.todo-List {
    width: 100%;
    max-width: 620px;
    background: #f6f6f6;
    align-self: center;
    justify-self: center;
    padding: 40px 30px 70px;
    border-radius: 10px;
    font-size: 22px;
}
.todo-List h2 {
    color: #000000;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.todo-List h2 img {
    width: 50px;
    margin-left: 10px;
}
.todo-List h2 .emoji {
    font-size: 40px; 
}
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #d4dde8;
    border-radius: 40px;
    padding-left: 20px;
    margin-bottom: 20px;
}
input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: 20px;
}
select {
    padding: 15px;
    text-align: center;
    padding: 16px 20px;
    border-radius: 40px;
    border: 1px solid #cccccc;
    font-size: 20px;
    appearance: none; 
    border: none;
    outline: none;
    margin-right: 5px;
}

button {
    border: none;
    outline: none;
    padding: 16px 40px;
    background-color: #0080ff;
    cursor: pointer;
    color: white;
    font-size: 20px;
    border-radius: 40px;
}
ul li {
    list-style: none;
    font-size: 17px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
}
ul li::before {
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(./Images/unchecked.png);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
}
ul li.checked {
    color: #555;
    text-decoration: line-through;
}
ul li.checked::before {
    background-image: url(./Images/checked.png);
}
ul li span {
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #555;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}
ul li span:hover {
    background: #edeef0;
}
ul li.high {
    margin: 7px;
    border-radius: 10px;
    border-left: 7px solid red;
}
ul li.medium {
    margin: 7px;
    border-radius: 10px;
    border-left: 7px solid #ff992b;
}
ul li.low {
    margin: 7px;
    border-radius: 10px;
    border-left: 7px solid #9af120;
}

@media (max-width: 768px) {
    .datetime {
        font-size: 20px;
        padding: 10px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .todo-List {
        font-size: 18px;
        padding: 20px 15px;
        
    }
    
    input, select, button {
        font-size: 16px;
        margin: 5px 0;
    }
    button {
        width: auto;
        align-self: flex-start;
    }
}
@media screen and (max-width: 480px) {
   .todo-List{
       max-width: 420px;
   }
    
    .datetime {
        font-size: 16px;
        padding: 5px;
    }
    .todo-List {
        font-size: 16px;
        padding: 10px;
    }
   
    input, select, button {
        font-size: 14px;
    }
    input{
        flex: none;
        padding: 5px;
    }
    select{
        padding: 10px;
        margin-left: -70px;
    }
     button{
        padding: 10px 20px;
        align-self: flex-start;
        margin-left: 10px;
    }
    
    
}