/* Reset some browser default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styling the body for a futuristic and ambient look */
body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    margin: 0;
}

/* Container with modern glassmorphism effect */
.container {
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem ;
    margin-top: .5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: fadeIn 1.5s ease-in-out;
}

.heading_title, h1{
    font-size: 2.5rem;
    font-weight: 700;
    color: #f39c12;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
/* Heading design */
h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39c12;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
/* Input field styles with a soft glow effect */
.input {
    padding: 1rem;
    border-radius: 30px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    color: #e0e01a;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    text-transform: capitalize;
}

.input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px #ffcc00;
}
input, button {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #ccc;
    }
.placeholder, input.placeholder{
    color: #e0e01a;
}

/* Button with futuristic hover effects */
.button {
    width: 30%;
    height: 2rem;
    padding: auto;
    border: none;
    border-radius: 30px;
    background-color: #e0e01a;
    color: #24243e;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    
}

.button:hover {
    background-color: #f39c12;
    transform: scale(1.05);
    cursor: pointer;
}

.button:active {
    transform: scale(0.98);
}
ul {
    list-style-type: none;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    color:#d4edda;
}

li.completed {
    text-decoration: line-through;
    background-color: #d4edda;
    color: #f39c12;
    
}
/* Delete button styling */
.delete-completed, .clear-completed {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s ease;
    align-items: center;
}

.delete-completed, .clear-completed:hover {
    background-color: rgba(255, 255, 255, 0.1) ;
}
/* List styling */
.toDoList {
    margin-top: 1rem;
    list-style: lower-roman;
    padding-left: 0;
}

.toDoList li {
    padding: 1rem;
    margin-bottom: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    color: #e0e01a;
}

.toDoList li:hover {
    background-color: #e0e01a;
    color: #24243e;
    transform: translateX(10px);
}

/* Date appended to tasks */
.toDoList li .date {
    display: block;
    font-size: 0.9rem;
    color: #ddd;
    margin-top: 0.5rem;
}

/* Completed tasks section */
.completedTasks {
    margin-top: 2rem;
    font-size: 1.2rem;
    text-align: left;
    color: #e0e01a;
}

#clear-completed {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.5s ease;
    
  }
  
.completedTasks ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.completedTasks li {
    padding: 1rem;
    margin-bottom: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
}

.completedTasks li:hover {
    transform: none;
}



/* Futuristic animations */
.container {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }

}



/* Existing styles remain unchanged */
.quote-section {
    margin-top: 20px;
    text-align: center;
    font-size: 1.2rem;
    color: #ffcc00;
    font-style: italic;
    animation: fadeIn 1.5s ease-in-out;
}

#refresh-quote {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ffcc00;
    color: #24243e;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#refresh-quote:hover {
    background-color: #f39c12;
    transform: scale(1.05);
}

#refresh-quote:active {
    transform: scale(0.98);
}
input.weather[type="text"] {
    width: 80%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    text-transform: capitalize;
}

button {
    background-color: #e0e01a;
    color: #fff;
    border: none;
    padding: auto;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: auto;
}

button:hover {
    background-color: #afaf10;
    color: #d4edda;
}

.weather-info {
    margin-top: 20px;
}

#temperature {
    font-size: 24px;
    font-weight: bold;
}

#description {
    margin-top: 10px;
    font-size: 18px;
    /* color: #666; */
    /* color: rgb(138, 224, 9); */
    color: #d4edda;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #d4edda;
    color: #302b63;
    font-size: 0.9rem;
    margin-top: 0rem;
    height: 1.7rem;
    width: 100%;
    border-radius: 20%;
}
.footer li{
    color: #302b63;
    text-decoration: none;
    list-style: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer ul{
    padding: 0;
    margin: 0;
    
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer a {
    color: #302b63;
    text-decoration: none;
    list-style: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer a:hover {
    text-decoration: underline;
    transform: scale(1.05);
    color: #0a053b;
}
.footer ul:hover {
    transform: scale(1.05);
    
}
.close, .close a{
    color: #d4edda;
    list-style: none;
    text-decoration: none;
}
.close, .close a:hover{
    color: #f1f8f3;
    cursor: pointer;
   }

   /* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        max-width: 600px;
        padding: 3rem;
    }
    h1 {
        font-size: 2rem;
    }
    
    .input {
        font-size: 1.4rem;
    }
    .button {
        font-size: 1rem;
    }
    .toDoList li {
        font-size: 1.2rem;
    }
    .footer a,.footer li, .footer ul{
        font-size: 90%;
        height: 3rem;
        max-width: 4rem;
        padding: auto;
        margin: auto;
    }
    .footer{
        min-width: 100%;
    }
    .button {
        width: 60%;
    }
    input.weather[type="text"] {
        width: 100%;
    }
    .placeholder{
        font-size: 1rem;
    }
}