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

body{
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    background-color: #0f1828;
    box-shadow: inset 0px 0px 200px 100px #5e015e40;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

/* .........................................main DIV..................................................... */

.mainWrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
}
/* .........................................left side DIV..................................................... */
.leftDiv{
    border: 3px solid rgb(93, 92, 92);
    border-radius: 1.5rem;
    height: 100vh;
    max-width: 40vw;
    min-width: 40vw;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    flex-direction: column;
    position: relative;
    /* z-index: 2; */
}

.leftHeader{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    top: 0;
    padding: 1rem;
}
.taskStatus{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.7rem;
    /* border: 2px solid green; */
    /* gap: 1rem; */
    /* padding: 0.3rem; */
}
.taskStatus div{
    margin: 0 1rem;
    padding: 0.3rem 0.4rem;
}
.calenderwrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calender i:hover{
    font-size: x-large;
}
.futuretasks i{
    margin: 0 1rem;
    padding: 0.2 0.4rem;
}

.leftBodyParent{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin: auto 0;
    height: 95vh;
    overflow-y: auto;     /* <-- Use 'auto' for better UX */
    overflow-x: hidden;
}
::-webkit-scrollbar {
    display: none; 
}

.leftBody{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: auto 0;
    gap: 1rem;
}
.leftBodyComplete{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    align-self: center;
    /* left: 200px; */
    margin: auto 0;
}

#taskBody{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
    gap: 0.4rem;
    /* flex-wrap: nowrap; */
    /* margin: 0rem 1rem; */
    /* border:1px solid rgba(248, 243, 243, 0.463); */
    /* box-shadow: 2px 2px 13px 6px #7f7c7c59; */

}
.taskWrapper{
    display: flex;
    position: relative;
    /* bottom: 280px; */
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    /* max-width: ; */
    
}
.tasks{
    border:1px solid rgba(248, 243, 243, 0.463);
    box-shadow: 2px 2px 13px 6px #7f7c7c59;
    border-radius: 0.3rem;
    display: flex;
    justify-content: space-between;
    padding:0.5rem 1rem;
    position: relative;
    margin: 0.5rem 0;
    background-color: rgba(169, 164, 164, 0.477);
    font-weight:500 ;
    font-size: 1.3rem;
    width: 100%;
    transition: all 0.5s ease, transform 0.8s;
    max-height: 3rem;
    overflow: scroll;

}

.tasks:hover{
    background-color: rgba(212, 181, 3, 0.833);
    background-color: rgb(250, 114, 91);
    width: 90%;
    cursor: pointer;
}

.deleteTask{
    border:1px solid rgba(248, 243, 243, 0.463);
    box-shadow: 2px 2px 13px 6px #7f7c7c59;
    border-radius: 0.3rem;
    background-color: rgba(169, 164, 164, 0.477);
    font-weight:500 ;
    font-size: 1.3rem;
    padding: 0.8rem;
    transition: all 0.9s ease, transform 0.5s;

}
.deleteTask:hover{
    background-color: red;
    /* box-shadow: inset 1px 1px 5px 12px red; */
    width: 25%;
    cursor: pointer;
}

.lefTask{
    display: flex;
    justify-content: space-around;
    align-items: start;
    width: 85%;
}

.leftBody i{
    font-size: 2rem;
}
.addTask{
    border-bottom: 2px dotted #495564 ;
    padding: 0.3rem 0.4rem;
}
/* .....................Used for task form but changed later design...............START....... */
.taskForm{
    display: flex;
    flex-direction: column;
    /* border: 0.5px solid whitesmoke; */
    border-radius: 0.5rem;
    /* background-color: rgba(255, 45, 255, 0.077); */
    /* background:linear-gradient(to bottom, rgba(128, 0, 128, 0.568) 70%, rgba(240, 71, 48, 0.432)); */
    /* box-shadow: 1px 1px 27px 0px rgb(81, 81, 81); */
    width: 90%;
    padding: 1rem;
    justify-content: center;
    color: white;
    position:absolute;
    bottom: 10px;
}

.taskForm input{
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.2rem;
    margin: 0.8rem;
    box-shadow: 1px 1px 27px 0px rgb(81, 81, 81);
}

#addTaskBtn{
    /* border: 1px solid rgb(210, 213, 218); */
    padding: 0.7rem;
    margin: 0 auto;
    border-radius: 0.3rem;
    /* color: #c9c8c8; */
    transition: all 0.5s ease, transform 0.3s;
    background-color: #495564;
    box-shadow: 1px 1px 27px 0px rgb(81, 81, 81);
    color: white;
    /* align-self: center; */
    /* justify-self: center; */

}
#addTaskBtn:active{
    background-color: rgb(79, 78, 78);
    border-width: 1px;
    border-color: white;
    color: whitesmoke;
    font-weight: 400;
    box-shadow: inset 1px 1px 5px 12px #323a45;

}
/* ..................Used for task form but changed later design.............END......... */







/* ............................right side DIV............................................................. */

.rightDiv{
    border: 3px solid rgb(93, 92, 92);
    border-radius: 1.5rem;
    height: 100%;
    width: 59.2%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: center; */
    position: relative;
    z-index: 2;
    
}
.rightHeaader{
    position: relative;
    /* left: 0; */
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.4rem;
}
/* .rightHeaader div{
    padding: 0.3rem 0.4rem;
} */

.rightHeaader div::before{
    /* content: "Update Pomodoro"; */
    content: attr(data-text);
}
#taskSelectionParent{
    width: 60%;
    /* padding: 0rem 2rem; */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* left: 2rem; */
}
#taskSelection{
    width: 80%;
    padding: 0.6rem;
    background-color: #495564;
    color: white;
    font-weight: 500;
    font-size: 1.4rem;
    border: none;
    border-radius: 0.3rem;
    position: absolute;
    left: 0 ;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#taskSelection option {
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.rightBody{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
    gap: 0.7rem;
}
.controls{
    display: flex;
    /* justify-content: space-evenly; */
    /* align-items: stretch; */
    gap: 2rem;
}
button{
    background:none;
    border: none;
    color:rgb(164, 159, 159);
    font-weight: 400;
    font-size: medium;

}
button:hover{
    cursor: pointer;
}
.timer{
    font-size:10rem;
    font-weight: 800;
    border-bottom: 5px solid #495564;
}

.addTime{
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    gap: 4rem;
    /* border-top: 5px solid #495564; */
    padding: 1rem;

}
.timerControls{
    display: flex;
    gap: 3rem;
}

.updatePomo{
    /* border: 2px solid blue; */
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: absolute;
    right: 40%; 
    z-index: 10;
    opacity: 100%;
    background-color:#0f1828;    
    /* box-shadow:inset 1px 1px 40px 30px rgba(85, 2, 85, 0.452); */
    border-radius: 0.6rem;
}
.updatePomo form{
    display: flex;
    align-self: center;    
    flex-direction: column;
    padding: 1.4rem;
    border: 1px solid #495564;
    box-shadow: 5px 5px 5rem rgb(54, 54, 54);
    border-radius: 0.5rem;    
    gap: 1rem;
}
.updatePomo form input{
    padding: 0.5rem;
    border: none;
    border-radius: 0.3rem;
    color: black;
    font-weight: 400;
}
.formDiv{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    /* grid-template-rows: repeat(2, 1fr); */
}
#pomoDur{
    /* font-size: 2rem; */
    border: 1px solid black;
    border-radius: 0.5rem;
    padding: 0.5rem;
}
/* .updatePomo form button{
    border: 2px solid red;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
} */

.screenCover{
    background-color: rgb(32, 30, 30);
    width: 100vw;
    height: 100vh;
    position: absolute;
    opacity: 80%;
    z-index: 5;
    display: none;
}

#formBtn{
    background:#495564;
    border: 1px solid white;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    /* box-shadow: 2px 2px 25px 1px #555555;     */
}
#formBtn:active{
    color: black;
    border: 1px solid white;
}
#formBtn:hover {
    font-weight: 500;
    color: black;
    border: none;
    padding: 0.55rem;
}





/* ............................UTILITY CLASS STYLES........................................................ */

.OnclickBgChange{
    background-color: #495564;
    border-radius: 0.1rem;
    border: 1px solid rgb(235, 230, 230);
    /* padding:0.3rem 0.3rem; */
}

/* .spaceForButton{
    margin: 0 1rem;
    padding:0.3rem 0.3rem;
} */

.hover:hover{
    cursor: pointer;
    background-color: #495564;
    border-radius: 0.3rem;
    /* padding: 0.5rem; */
    /* border: 1px solid rgb(235, 230, 230); */
}

.btn{
    background-color: #495564;
    padding: 0.5rem 0.7rem;
    border: none;
    color: white;
    border-radius: 0.3rem;
    font-weight: 500;
    transition: all 0.5s ease, transform 0.2s;
}
.hidden{
    display: none !important;
}
.addTimeStyle{
    color: white;
    font-size: medium;
    font-weight: 600;
}




@media (max-width:825px) {
    .timer{
        font-size:6.5rem;
        font-weight: 800;
    }
    .controls{
        gap: 1.5rem;

    }
    .mainWrapper{
        /* display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        color: white; */
        flex-direction: column;
        gap: 0.2rem;
    }
    .leftDiv{
        /* border: 3px solid rgb(93, 92, 92); */
        /* border-radius: 1.5rem; */
        height: 50vh;
        min-width: 100vw;
        /* display: flex; */
        
    }
    .rightDiv{
        height: 50vh;
        width: 100vw; 
    }
    .rightBody{
        gap: 0.5rem;
        padding: 0rem 1.2rem;
    }
    .updatePomo{
    /* border: 2px solid blue; */
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        position: absolute;
        left: 10%;
        top: 35%;
        width: 80vw;
    }

    
}

@media (max-width:550px) {
    .timer{
        font-size:4.5rem;
        /* font-weight: 800; */
    }
    .controls{
        gap: 1rem;  
        font-size: 0.2rem;      
    }
   
    .button{
        background:none;
        border: none;
        color:rgb(164, 159, 159);
        font-weight: 400;
        /* font-size: 0.8em; */
    }
    .addTime{
        gap: 2rem;
    }
    .rightBody{
        gap: 0.4rem;
        padding: 0rem 1.2rem;
    }
     .btn{
        padding: 0.3rem 0.5rem;
    }
    .rightHeaader{
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.4rem 2.4rem;
    }
    .rightHeaader div{
        /* padding: 0.3rem 0.4rem; */
        font-size: 1rem;
    }
    .rightHeaader div::before{
        content: attr(data-icon);
        /* right: 0; */
    }

    .updatePomo{
    /* border: 2px solid blue; */
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        position: absolute;
        left: 10%;
        top: 35%;
        width: 80vw;
    }
    #taskSelection{
        width: 80%;
        padding: 0.3rem;
        background-color: #495564;
        color: white;
        font-weight: 400;
        font-size: 1.2rem;
        border: none;
        border-radius: 0.3rem;
        position: absolute;
        /* top: 1rem; */
        /* right: 1rem; */
        left: 0 ;
        width: 200px;         
        max-width: 90vw;      
        box-sizing: border-box;
    }
    
    .screenCover{
        width: 100vw;
        height: 100vh;
    }
}