body {
    background: linear-gradient(to bottom, #ff9eb3, #ffd1dc);
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-size: cover; 
    font-family: 'Quicksand', sans-serif; /* Use Quicksand for body text */
    color: #333;
    display: flex;
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
}
.mood-popup{
    display: none;
}
/* Container Styles */
.container {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    background-color: rgba(253, 249, 222); /* Semi-transparent for a softer look */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 182, 193, 0.4);
    overflow-x: hidden;  
    overflow-y: auto;
    max-height: 100vh; 
    position: relative; /* Add this line */
}


/* Title Styles */
.title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
    font-weight: bold;
    color: #fd6e72; /* Pinkish color */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6); /* Soft shadow for depth */
    cursor: pointer; 
    transition: color 0.3s, transform 0.4s;
}
.title:hover {
    transform: scale(1.50);
}

/* Task Form Styles */
.task-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.task-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ffc0cb; /* Pink border */
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
        font-family: 'Quicksand', sans-serif; /* Use Quicksand for body text */
}

.add-task-btn {
    background-color: #ffb6c1; /* Bright pink button */
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.6);
    font-family: 'Quicksand', sans-serif; /* Use Quicksand for body text */
    color: white; /* White text */
    border: none; /* No border */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor */
    transition: transform 0.3s; /* Smooth transform transition */
}

.add-task-btn:hover {
    animation: pulse 1.5s infinite; /* Trigger pulse on hover */
    background-color: #ff88a5;

}

@keyframes pulse {
    0% {
        transform: scale(1); /* Original size */
    }
    50% {
        transform: scale(1.1); /* Slightly larger */
    }
    100% {
        transform: scale(1); /* Back to original size */
    }
}
/* Task List Styles */
.task-list {
    list-style: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 10px;
    background-color: #ffe4e1; /* Light pink background */
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

.completed {
    text-decoration: line-through;
    opacity: 0.5;
}

.delete-btn {
    background-color: #ff5c8a; /* Soft red-pink */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
    padding: 5px 10px;
    font-size: 14px;
}

.delete-btn:hover {
    background-color: #e75480; /* Darker pink */
}

/* Expected Completion Styles */
.expected-completion {
    flex-grow: 1; 
    margin-right: 10px; 
    padding: 5px;
    border: 1px solid #ffc0cb; /* Pink border */
    border-radius: 5px;
    font-size: 14px;
}

/* Completed Button Styles */
.complete-btn {
    background-color: #ff69b4; /* Bright pink */
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

.complete-btn:hover {
    background-color: #e75480; /* Darker pink */
}

/* Clear All Button Styles */
.clear-all-btn {
    display: none; 
    background-color: #ff5c8a; /* Soft red-pink */
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
}

.clear-all-btn:hover {
    background-color: #e75480; /* Darker pink */
}

p {
    color: #666;
    font-size: 13px;
    margin-top: 20px;
}
/* Priority Level Styles */
.low-priority {
    border-left: 5px solid #66BB6A; /* Green for low priority */
}
.medium-priority {
    border-left: 5px solid #FFEB3B; /* Yellow for medium priority */
}
.high-priority {
    border-left: 5px solid #F44336; /* Red for high priority */
}

/* Style for the priority dropdown */
.priority-select {
    margin-left: 10px;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #ffc0cb;
    background-color: #fff;
}


/* Smooth task addition */
.task-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.task-list li.show {
    opacity: 1;
    transform: translateY(0);
}


/* Task completion animation */
.completed {
    position: relative;
    animation: scaleUp 0.5s ease-out;
}

.completed::before {
    position: absolute;
    left: -30px;
    color: #4CAF50; /* Green checkmark */
    font-size: 20px;
    opacity: 1;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.completed.show::before {
    opacity: 1;
    transform: scale(1);
}

@keyframes scaleUp {
    0% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}
/* Add this CSS to your stylesheet or within a <style> tag */

/* Container for better positioning */
.task-container {
  position: relative; /* Ensure the custom arrow is properly positioned */
}

/* Style the select element */
.day-selection {
  appearance: none; /* Remove default arrow */
  padding: 8px 12px; /* Smaller padding for a cuter look */
  font-size: 14px; /* Slightly smaller font size */
  border: 1px solid #ddd; /* Light border for a soft appearance */
  border-radius: 8px; /* Rounded corners for a cute effect */
  background-color: #fff; /* Clean white background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  cursor: pointer; /* Pointer cursor */
  width: 100%; /* Full width to match other elements */
  transition: border-color 0.2s ease; /* Smooth transition */
}

/* Custom arrow */
.day-selection::after {
  content: "▼"; /* Downward arrow */
  position: absolute; /* Absolute positioning */
  top: 50%; /* Center vertically */
  right: 10px; /* Align right */
  transform: translateY(-50%); /* Center adjustment */
  color: #007bff; /* Arrow color */
  font-size: 12px; /* Smaller arrow size */
  pointer-events: none; /* Prevent interaction with arrow */
}

/* Focus styling */
.day-selection:focus {
  border-color: #007bff; /* Blue border on focus */
  outline: none; /* Remove default outline */
}

/* Dropdown options (for styling purposes) */
.day-selection option {
  padding: 8px; /* Padding inside options */
}


/* Task completion animation */
.completed {
    position: relative;
    background-color: #eca6a6; /* Light gray background for completed tasks */
    border: 2px solid #ffffff; /* Green border */
    box-shadow: none; /* Remove shadow for a subtle effect */
    padding: 10px;
    border-radius: 8px;
    text-decoration: line-through; /* Line through the completed task text */
    opacity: 0.6; /* Reduced opacity */
}

body {
    background-color: #abe7db; /* teal */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .main {
    height: 400px;
    width: 400px;
    position: relative;
    position: absolute;
    bottom:60%;
    z-index: 0;
  }
  
  .stand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    height: 20px;
    width: 200px;
    border-radius: 20px;
    background-color: #fd6e72; /* pink */
    z-index: 2;
  }
  
  .stand::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
    height: 10px;
    width: 50px;
    border-radius: 20px;
    background-color: #fdf9de; /* cream */
    box-shadow: 0 10px 0 #fdf9de, 0 20px 0 #fdf9de, 0 30px 0 #fdf9de, 0 40px 0 #fdf9de, 0 50px 0 #fdf9de, 0 60px 0 #fdf9de, 0 70px 0 #fdf9de, 0 80px 0 #fdf9de, 0 90px 0 #fdf9de, 0 100px 0 #fdf9de, 0 110px 0 #fdf9de, 0 120px 0 #fdf9de, 0 130px 0 #fdf9de, 0 140px 0 #fdf9de, 0 150px 0 #fdf9de, 0 160px 0 #fdf9de, 0 170px 0 #fdf9de;
  }
  
  .cat {
    width: 110px;
    height: 50px;
    position: absolute;
    top: calc(50% - 50px);
    right: 130px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
  }
  
  .cat .body {
    width: 110px;
    height: 50px;
    background-color: #745260; /* purple */
    position: absolute;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    animation: body 12s infinite;
  }
  
  .cat .head {
    content: "";
    width: 70px;
    height: 35px;
    background-color: #745260; /* purple */
    position: absolute;
    top: calc(50% - 10px);
    left: -40px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
  }
  
  .tail-container {
    position: absolute;
    right: 0;
    bottom: -13px;
    z-index: 3;
  }
  
  .tail {
    position: absolute;
    height: 30px;
    width: 14px;
    bottom: -10px;
    right: 0;
    border-bottom-right-radius: 5px;
    background: #745260; /* purple */
    z-index: 0;
  }
  
  .tail > .tail {
    animation: tail 12s infinite;
    height: 100%;
    width: 14px;
    transform-origin: left;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 40px;
  }
  
  .ear {
    position: absolute;
    left: 4px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #745260; /* purple */
    transform: rotate(-30deg);
    animation: left-ear 12s infinite;
  }
  
  .ear + .ear {
    animation: right-ear 12s infinite;
    top: -12px;
    left: 30px;
  }
  
  .nose {
    position: absolute;
    bottom: 10px;
    left: -10px;
    background-color: #fd6e72; /* pink */
    height: 5px;
    width: 5px;
    border-radius: 50%;
  }
  
  .whisker-container {
    position: absolute;
    bottom: 5px;
    left: -36px;
    width: 20px;
    height: 10px;
    transform-origin: right;
    animation: left-whisker 12s infinite;
  }
  
  .whisker-container:nth-child(2) {
    left: -20px;
    bottom: 12px;
    transform-origin: right;
    transform: rotate(180deg);
    animation: right-whisker 12s infinite;
  }
  
  .whisker {
    position: absolute;
    top: 0;
    width: 100%;
    border: 1px solid #fdf9de; /* cream */
    transform-origin: 100% 0;
    transform: rotate(10deg);
  }
  
  .whisker:last-child {
    top: 0;
    transform: rotate(-20deg);
  }
  
  /* Keyframe animations */
  @keyframes tail {
    0% { transform: rotate(0); }
    20% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    60% { transform: rotate(30deg); }
    80% { transform: rotate(-2deg); }
    100% { transform: rotate(10deg); }
  }
  
  @keyframes body {
    0% { transform: scaleY(1); }
    20% { transform: scaleY(1.15); }
    40% { transform: scaleY(1); }
    60% { transform: scaleY(1.25); }
    80% { transform: scaleY(1); }
    100% { transform: scaleY(1.15); }
  }
  
  @keyframes left-whisker {
    0% { transform: rotate(0); }
    20% { transform: rotate(-5deg); }
    40% { transform: rotate(0); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(10deg); }
  }
  
  @keyframes right-whisker {
    0% { transform: rotate(180deg); }
    20% { transform: rotate(190deg); }
    40% { transform: rotate(180deg); }
    60% { transform: rotate(175deg); }
    80% { transform: rotate(190deg); }
    100% { transform: rotate(180deg); }
  }
  
  @keyframes left-ear {
    0% { transform: rotate(-20deg); }
    20% { transform: rotate(-6deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(-15deg); }
    80% { transform: rotate(-30deg); }
    100% { transform: rotate(-6deg); }
  }
  
  @keyframes right-ear {
    0% { transform: rotateZ(-16deg); }
    20% { transform: rotateZ(-16deg); }
    40% { transform: rotateZ(-19deg); }
    60% { transform: rotateZ(-19deg); }
    80% { transform: rotateZ(-30deg); }
    100% { transform: rotateZ(-16deg); }
  }

  body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }
  
  .footer {
    position: absolute;
    bottom: 10px;
    font-family: 'Quicksand', sans-serif; /* Use Quicksand for body text */    color: #745260; /* matching the purple cat color */
    font-size: 14px;
    z-index: 3;
  }
  
  .footer p {
    margin: 0;
  }
  .music-player {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.music-btn {
    background-color: #ffb6c1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Quicksand', sans-serif; /* Use Quicksand for body text */    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.6);
}

.music-btn:hover {
    background-color: #ff88a5;
}

.music-btn:active {
    transform: scale(0.95);
}

.mood-popup {
  position: fixed; /* Make it appear centered in the viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the popup */
  background-color: white; /* Background color */
  border-radius: 10px; /* Rounded corners */
  padding: 20px; /* Padding for content */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Shadow effect */
  z-index: 1000; /* Ensure it appears above other elements */
  display: none; /* Initially hidden */
  transition: opacity 0.5s ease; /* Apply transition for opacity */
  opacity: 0; /* Start as invisible */
}


.mood-popup h3 {
  color: #e75480;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.mood-options button {
  background-color: #ffb3cc;
  color: #4a4a4a;
  border: none;
  border-radius: 8px;
  margin: 8px;
  padding: 10px 15px;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.mood-options button:hover {
  background-color: #ff99bb;
  transform: scale(1.05);
}

.mood-options button:active {
  transform: scale(0.95);
}

