*{
    margin: 0%;
    padding: 0%;

    box-sizing: border-box;
}



body{
        font-family:Arial, Helvetica, sans-serif;
        background-color: #f7f7f7;
}




#modale{
    width: 30vw;
    height: 30vh;

    background-color: white;

    display: flex;
    flex-direction: column;

    border-radius: 4%;

    border: 2px solid black;


    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    
    margin: auto;

    

    visibility: hidden;

}


.addCross{

    width: 100%;
    height: 25%;
    display: flex;
    position: relative;

    /* border: 0.2px solid black; */

    
    
}

#addCrossAdd
{
    position: absolute;
    left: 0;

    padding-left: 20px;
    padding-top: 5%;


    font-family:Arial, Helvetica, sans-serif;

    font-weight: 530;

                        
            /* text-shadow: 1px 1px rgb(0, 128, 124); */

       
        text-shadow: 0px 1px black;


}


#addCrossCross
{
    position: absolute;
    right: 0;

   
    
    
    padding-right: 3%;
    padding-left: 2.7%;

    border-radius: 20%;
    

    font-size: 1.8em;

    cursor: pointer;

    color: rgb(124, 124, 124);

    border: none;

}




.MaininputAdd{
    display: flex;
    flex-direction: column;

    height: 100%;


    position: relative;

    cursor: pointer;

}



#MainInput{

    width: 90%;

    height: 22%;

    text-transform: capitalize;

    font-size: 1.4em;

    margin: 20px;

    background-color:rgb(249, 243, 243);

    border: none;
    border-radius: 5%;
}





#MaininputAddBtn{

position: absolute;
right: 30px;
bottom: 30px;

font-size: 1.3em;
padding: 10px 30px 10px 30px;

background-color:#00A5EC;


border: none;

border-radius: 5%;

color: white;

cursor: pointer;
}





.header{

        

        
                    height: 80px;
                    width: 100%;
                    
                background-color: white;
          
                        
                box-shadow: 0px 0px 25px 0px gray;
                z-index: 1;
                position: relative;

                
                

    }


    #headerDiv{
        
        position: absolute;
        top: 50%;

        left: 4%;

        font-size: 1.8vh;


    }



    #task{
        display: inline-block;
        color:black ;
    }


    #list{

        display: inline-block;
        color: #00A5EC;
        padding-left: 5px;
    }







    #main-div{

        height: auto;

    }





    #DivPlusTask{
        width: 100%;
        height: 17vh;

        position: relative;

        
        background-color: #f7f7f7;

    }



    #plusadd{
        
        position: absolute;
        right: 8vh;
        top: 30%;

    }






    #plus{


        font-size: 2em;

        height: 47px;
        width: 47px;

        border: none;
        color: white;

        border-radius:50%;
        
        cursor: pointer;
        

        background-color: #00a5ec;
    }


    #add{

        font-size: 1.3em;

        height: 40px;
        border: none;
        

        cursor: pointer;
        
        background-color: #f7f7f7;
    }
    



    #box-div{
        display: flex;

        flex-direction: row;
        flex-wrap: wrap;

        background-color: #f5efef;


        width: 100%;
        height: 100%;

        
    }


    .box{


            height: 46vh;
            width: 24vw;
            outline: 1px solid black;
            border-radius: 5%;

            background-color: white;

            margin-top: 2%;
            margin-left: 2%;

            padding: 2%;

            overflow: auto;


    }


    .box:hover{
        box-shadow: 2px 1px 5px 3px black;
    }
   

    .box h2{


        color: #0eb4fb;
        padding-bottom: 5%;
        
        width: fit-content;
        letter-spacing: 0.3px;
        font-weight: lighter;
        text-transform: capitalize;
        font-family: sans-serif;

    }

    
    .box h4{
       
        font-family: cursive;
        font-weight: lighter;

    }


    .headingBox:hover{
       cursor: pointer;
    }

   
    .btnEdit{
       
        float: right;
        background-color: #00a5ec;
        color:black;
        
        width: 30%;
        padding-top: 2%;
        padding-bottom: 2%;
        
        
        

        
    }




 
    
@media screen and (max-width: 750px) {

    .box{

    height: 40vh;
    width: 28vw;

    }

}



@media screen and (max-width: 450px) {

    #plus{

    font-size: 2em;

    height: 40px;
    width: 40px;
    }


    #add{

    font-size: 1.2em;


    }

        .box{

        width: 100%;
        height: auto;

        margin: 3%;

        }

        #modale{

            z-index: 300;
    
            min-width: 65vw;
            
    
            margin-top: 55%;
    
        }

        #MaininputAddBtn{

        
            right: 7%;
            bottom: 10%;
        
            font-size: 1em;
            padding: 7px 6px 7px 7px;
        
            background-color:#00A5EC;
        
            }

    




}




@media screen and (max-height: 350px) {

    #modale{

        z-index: 300;

        width: 35vw;
        min-height: 55vh;

        margin-top: 20%;

    }

        
    .addCross{
        min-height: 27%;

    }

    
    #MainInput{
        width: 85%;
        
        height: 30%;

        font-size: 1em;

    }

    
    #MaininputAddBtn{

        
        right: 7%;
        bottom: 10%;
    
        font-size: 0.6em;
        padding: 6px 7px 6px 7px;
    
        background-color:#00A5EC;
    
        }

}


@media screen and (max-width : 900px){

        #modale{

        width: 47vw;
        height: 28vh;



        }

        #MaininputAddBtn{

        
            right: 7%;
            bottom: 10%;
        
            font-size: 1.2em;
            padding: 7px 7px 7px 8px;
        
            background-color:#00A5EC;
        
            }

}

