body{
    margin: 0;
    font-family: 'Patrick Hand SC';
    background-image: url(./assets/no-pending-task.avif);
    background-repeat: no-repeat;
    background-position: top right;
}
.d-none{
    display: none;
}

/* start of navbar */
.navbar{
    background-color: rgba(255, 255, 0, 0.395);
    text-align: center;
}
.logo-img{
    width: 5%;
}
/* end of navbar */

/*  */
/*  */
/*  */

/* Start of main element */
main{
    display: flex;
    width: 100%;
    height: 80%;
    padding: 20px 0;
}

/* start of todo-container */
.main-header{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.main-header svg{
    fill: green;
}
.todo-container{
    width: 50%;
}
.task-add{
    width: 60%;
    margin: 0 auto;
    border: 1px solid black;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
}
.task-add svg{
    cursor: pointer;
    transition: rotate, 0.2s ease;
    fill: rgba(0, 0, 0, 0.451);
}
.task-add svg:hover{
    transform: scale(1.1);
    fill: black;
}
.task-add svg:active{
    transform: rotate(90deg);
}
.task-info{
    width: 60%;
    margin: 12px auto;
    border: 1px solid black;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    background-color: #3333335e;
    font-size: larger;
    position: relative;
}
.cross-icon{
    transform: rotate(45deg);
    position: absolute;
    right: 5%;
}
.cross-icon svg{
    fill: black;
    transition: 0.2s ease;
}
.cross-icon svg:hover{
    transform: scale(1.1);
}
.task-info>p{
    text-decoration: wavy underline;
}
.task-info-container input[type=text]{
    width: 80%;
    height: 24px;
    border-radius: 7px;
    outline: none;
    border: none;
    padding: 8px;
    font-family: 'Shadows Into Light';
    font-size: 24px;
}
.task-info-flex{
    display: flex;
    gap: 6px;
}

#to-add{    
    width: 50%;
    
    background-color: black;
    color: white;
    fill: white;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
}
#to-add>p{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    transition: 0.2s ease;
}
#to-add:hover p{
    transform: scale(1.1);
    
}
/* end of todo-container */

/* start of m-bottom */
.m-bottom{
    width: 50%;
}
#addedTaskContainer{
    height: 100%;
    width: 100%;
}
#addedTaskContainer>div{
    border: 1px solid black;
    border-radius: 10px;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
    margin: 0 auto 20px;
}
.completed{
    text-decoration: line-through;
    background-color: lightgray;
    border-color: lightgray;
    color: lightgray;
}
.taskNumber{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.changes{
    display: flex;
    gap: 10px;
}
.editDelete{
    font-size: 12px;
    color: gray;
    cursor: pointer;
}
.editDelete svg{
    fill: gray;
    width: 12px;
    height: 12px;
}
.editDelete:hover{
    color: black;
}
.editDelete:hover svg{
    fill: black;
    transform: rotate(30deg);
}
.taskDetails{
    font-size: 24px;
}
.taskSetTime{
    color: gray;
}
.button-container{
    text-align: center;
    margin: 30px 0 0 0 ;
}
.btn{
    font-family: 'Patrick Hand SC';
    width: 50%;
    font-size: 18px;
    background-color: rgba(105, 239, 105, 0.607);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.completedButton{
    font-family: 'Patrick Hand SC';
    width: 50%;
    font-size: 18px;
    background-color: lightgray;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
/* end of m-bottom */