@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');

html, body {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 16px;
    background: #0a1213;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0px;
    margin: 0px;
}

h1 {
    font-size: 2.5em;
    color: #edf7ea;
}

em {
    color:#7871d0;
    font-style: normal;
}
.profile {
    text-align: center;
}

a {
    text-decoration: none;
    color: #7e889e;
}
a:hover{
    color:#847e9e
}


.task-list {
    width: 630px;
    margin: 20px auto;
}

.task {
    color: #edf7ea;
    background-color: #131714;
    border: 2px solid #edf7ea;
    margin-bottom: 15px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.task:hover {
    transform: scale(1.02);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #0a1213;
    padding: 5px 15px;
    border-bottom: 2px solid #edf7ea;
}

.task-title {
    text-align: left;
    flex-grow: 1;
    font-size: 18px;
    margin-right: 10px;
}

.task-date {
    text-align: right;
    font-size: 14px;
    color: #9fa7cd;
    min-width: 150px; 
}

.dropdown-icon {
    color:#edf7ea;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.task-header.expanded .dropdown-icon {
    transform: rotate(180deg);
}


.task-details {
    display: none;
    padding: 10px;
    animation: fadeIn 0.3s ease;
    text-align: left;
}

.task-details p,
.task-details ul {
    margin: 10px 0;
}

.subtasks {
    list-style-type: none;
    padding: 0;
    margin: 50px;
}

.subtasks li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtasks span {
    display: inline-block;
    color: #edf7ea;
}

.priority-high {
    color: #e53935;
    font-weight: bold;
}

.priority-medium {
    color: #ff9800;
    font-weight: bold;
}

.task.completed .task-date {
    color: #7abc5a; 
    font-weight: bold;
}
.task.urgent .task-date{
    color: #e54646;
}



.priority-low {
    color: #4ec36f;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY();
    }
}

.cherryrgb {
	color: #f35626;
	background-image: linear-gradient(92deg, #f35626, #feab3a);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	animation: hue 10s infinite linear;
    text-align: center;
}


@keyframes hue {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(-360deg);
  }
}   

.subheading {
    font-size: 1.15em;
    margin-bottom: 20px;
    text-align: center;
    color: #777777;
}

.progress-bar {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 1.1em;
    color: #edf7ea;
    margin: 10px auto;
    padding: 5px;
    text-align: center;
}