@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bgcolor: #414244;
    --mainboxcolor: #2F3137;
    --boxcolor: #383B42;
    --btncolo:#FFB800;
    --fontcolor: #ffffff;
    --lablecolor: #818181;
    --other:#06DD57;
}
.light {
    --bgcolor: #cdcdcd;
    --mainboxcolor: #F2F2F2;
    --boxcolor: #FFFFFF;
    --box2color: #FFDEFE;
    --fontcolor: #2F3137;
    --lablecolor: #c1c1c1;
}

body {
    background-color: var(--bgcolor);
    color: var(--fontcolor);
    font-family: 'Poppins', sans-serif;
}
.mainBox{
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.box{
    padding: 10px;
    background-color: var(--boxcolor);
    width: 400px;
    height: 500px;
    border-radius: 10px;
}
.header{
    display: flex;
    justify-content: center;
    align-items:center;
    border-radius:  10px;
    width: 100%;
    background-color: var(--bgcolor);
}
.InputText{
    width: 88%;
    height: 40px;
    border-radius: 10px 0px 0px 10px;
    border: none;
    background-color: var(--bgcolor);
    color: var(--fontcolor);
    font-size: 18px;
    letter-spacing: 1.5px;
    padding-left: 5px;
}
#todoBtn{
    width: 40px;
    height: 40px;
    background-color: var(--btncolo);
    border: none;
    border-radius: 0px 10px 10px 0px;
    font-size: 30px;
    color: var(--fontcolor);
}
.lable{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}
.fisrt{
    display: flex;
    gap: 5px;
}
.tasks{
    /* background-color: #06DD57; */
    height: 420px;
    overflow-y: scroll;

}
::-webkit-scrollbar{
    display: none;
}
ul{
    list-style: none;
}
.todo{
    gap: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bgcolor);
    border-radius: 10px;
    padding: 0px 0px 0px 10px;
    margin-top: 10px;
    transition: all 0.5s ease-in;
}
.todo li{
    flex: 1;
    font-size: 15px;
}

.comBtn, .delBtn{
    background-color: var(--btncolo);
    /* padding: 1rem; */
    border: none;
    border-radius: 2px 10px 10px 2px;
    padding: 8px;
    cursor: pointer;
    font-size: 15px;
    color: var(--fontcolor);
    font-weight: bold;
}
.comBtn{
    background-color: var( --other);
    border-radius: 2px;
  }
.completed{
    text-decoration: line-through;
    opacity: 0.5;
}
.fall{
    transform: translateY(8rem) rotateZ(20deg);
    opacity: 0;
}
.todotitile{
    position: absolute;
    top: 20px;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    gap: 20px;
}
.todotitile img{
    width: 60px;
    height: 60px;
}
 .credit {
    position: absolute;
    bottom: 5px;
    color: var(--fontcolor);
}

.profile {
    color: var(--fontcolor);
    font-weight: bold;
    letter-spacing: 1.2px;
}

.profile:hover {
    color: #06DD57;
}