   
   
   
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

   :root{
            --content:"•" ;
        }
        *{ margin: 0;
        padding: 0;
    box-sizing: border-box;}
    body{
        height: 100%;
        width: 100%;
     background-color: #F3F4F6;
      font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    }
    header{
        min-height: 4rem;
        min-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #035642;

    }
    .todo{
    color: #FFFFFF;
        font-weight: bolder;
    }
    .taskbar{
        box-sizing: border-box;
        min-height: 4rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
       gap:0.7rem;
        position: sticky;
        top:0px;
     background-color:#F3F4F6;
     margin-bottom: 6px;
    }
    #inputTask{
        background: white;
         border:1px solid #D1D5DB; 
         color:#1F2937;
        min-width: 40vmin;
        height: 3rem;
        border-radius: 10px;
        box-shadow: 1px 1px 6px black;
        transition: transform 0.5s ease;
        padding: 12px;
        margin-top: 10px;
        font-size:16px;
        outline: none;
     }
    #inputTask::placeholder{
        text-align: center;
        font-size: 16px;
    }
    #inputTask:hover{
      transform: scale(1.03);
     border-color: #2563EB;
    }
#addTask{
padding: 10px 20px;
border: 1px solid rgba(0, 0, 255, 0);
border-radius: 6px;
font-size: 14px;
background:#035e3a;
 color:white;

}
#addTask:hover{
    cursor: pointer;
background:#034208;
}

.delete:hover{
    cursor: pointer;
   background:#DC2626;
}

#tasksList{
     min-height: 70%;
    min-width: 90%;

}
.done,.delete,.undo{
     padding: 3px 6px;

border-radius: 5px;
font-size: 11px;
margin: 0.2rem
}
.done,.undo{
background:#22C55E; 
color:white;
 border:none;
}
.delete{
    font-size: 10px;
    padding: 4px 5px;
background:#EF4444; 
color:white; 
border:none;
    }
.done:hover{
    cursor: pointer;
  background-color:#16A34A !important ;
}
.undo:hover{

    cursor: pointer;
    background: rgb(171, 135, 16) !important;
}
.divs{
    margin: 6px;
    display: flex;
     align-items: center;
     justify-content: space-evenly;
     /* flex-wrap: wrap;   */
     gap: 1.7rem;
     background:white;
      border:1px solid #E5E7EB; 
      border-radius:8px;
       box-shadow:0 2px 6px rgba(0,0,0,.08);
        padding:10px;
        animation:Fad 0.2s ease-in;
}
.remove{
    display: none;
}
@keyframes Fad{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
.con{ width: 6rem;
    display: inline-block;
 flex-shrink: 2;
 margin-right:8px ;

}
.para{
    color:#1F2937;
  flex-shrink: 4;
     font-size: 16px;
   width: 14rem;
   flex: 1;
    height:19px ;
    overflow:hidden;
    text-overflow: ellipsis;
  margin-left: 10px;
}
.para::before{
content: var(--content);
margin: 6px;
}

h2{
    margin: 1.5rem 0rem;
  
    width: 100%;
    padding: 10px 3rem;
    background-color:#2954822c; 
    color:rgb(70, 3, 3);
}
#noTask{
    font-size: 15px;
    margin: 1.5rem;
}
@keyframes unfad{
    from{
        opacity: 1;

    }
    to{
        opacity:0;
    }
}


.stats{
   min-height: 20vh;
}
.statsul{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:0.3rem;
    list-style-type:none;
}
.statsul .data{
    width: 60%;
    padding: 5px;
    margin-bottom: 10px;
  text-align: center;
    border-radius: 4px;
   background-color: rgba(34, 34, 12, 0.269);
    border:1px solid #cbdcff;
}

#taskContainer{
    max-width: 100%;
   overflow: hidden;
}
.noticeBox{
    color: rgb(248, 196, 196);
    background-color: rgb(116, 30, 30);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 8px;
    width :10rem;
   opacity: 0.9;
    margin-left:auto ;
    margin-right: auto;
    margin-top: 1rem;
}
body.darktheme{
    background-color: black;
}
body.darktheme .taskbar{
    background-color: black;
}
body.darktheme h2{
     background-color:#4878ac67; 
    color:rgb(255, 54, 54);
}
body.darktheme .data{
     background-color: rgba(178, 178, 165, 0.269);
    border:1px solid #cbdcff56;
    color: rgb(216, 215, 215);
}
body.darktheme #noTask{
    color: white;
}
body.darktheme #inputTask{
    box-shadow: 1px 1px 6px rgb(192, 231, 196);
    border: 1px solid rgba(0, 0, 0, 0.509);
}
body.darktheme .divs{
    background:rgb(235, 233, 233);
      border:1px solid #3737383e; 
         box-shadow:0 2px 6px rgba(142, 141, 141, 0.753);
}
body.darktheme .foot{
    background-color: black;
}
.delall{
   
     font-size: 14px;
    padding: 6px 8px;
background:#c90b0b; 
color:white; 
border: 1px solid rgba(196, 26, 26, 0.644);
border-radius: 5px; 
margin: 5px; 
  margin-left: 10px;
}
#darkmode{
  
       font-size: 14px;
    padding: 6px 8px;
    border: none;
border-radius: 5px; 
margin:5px;
margin-right: 10px;
color: white;
background-color: black;
}
#darkmode:hover{
    cursor: pointer;
    background-color: rgb(60, 58, 58);
}
.delall:hover{
    cursor: pointer;
   background:#9f1515; 
}
body.darktheme #darkmode{
    background-color: white;
    color: black;
}
.foot{
  min-height: 40px;
    width: 100%;
     background-color: #F3F4F6;
    position: sticky;
    bottom: 0px;
    display: flex;
    
    justify-content: space-between;
    align-items: center;
}
body.darktheme #darkmode:hover{
    cursor: pointer;
     background: rgb(206, 201, 201);

}
@media only screen and (min-width:700px){

    @keyframes Fad{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }}
      #inputTask{ 
         min-width: 70vmin;
        border-radius: 12px;
        box-shadow: 2px 2px 8px black;
        transition: transform 0.5s ease;
        padding: 18px;
        margin-top: 20px;
  background: white;
         border:1px solid #D1D5DB; 
         color:#1F2937;
}
 .taskbar{
       
        min-height: 3rem;
        width: 100%;
        flex-direction: row;
       gap:2.5rem;
     margin-bottom: 10px;
    }
        #inputTask::placeholder{
        font-size: 18px;
    }
#addTask{
     margin-top: 20px;
    padding-left: 18px;
    padding-right: 18px;
  box-shadow: 1px 1px 5px black;
border-radius: 7px;
font-size: 16px;
background:#035e3a;
 color:white;


}


.done,.delete,.undo{
     padding: 7px 12px;

border-radius: 5px;
font-size: 12px;
margin: 0.4rem
}
.con{ width: 9rem;
    display: inline-block;
 flex-shrink: 2;
}
.para{
  flex-shrink: 1;
     font-size: 20px;
    width: 18rem;
    flex: 1;
    height:25px ;
    overflow:hidden;
    text-overflow: ellipsis;

}

#noTask{
    font-size: 24px;
    margin: 2.5rem;

}

.para::before{
content: var(--content);
margin: 9px;
}
h2{
  font-size:30px;
    padding: 7px 3rem;
}
h1{
    font-size: 42px;
}
.taskbar{
    min-height: 6rem;
}
}
@media  only screen and (min-width:940px)

{

    @keyframes Fad{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }}
.tlist{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.statsul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:1rem;
    list-style-type:none;
}
.statsul .data{
    width: 20%;
    padding: 5px;
    margin-bottom: 10px;
    background-color: rgba(34, 34, 12, 0.269);
    border:1px solid #cbdcff;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    height: 3rem;
    display: flex;
   align-items: center;
  justify-content: center;
}
}
        