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

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    

}

*::-webkit-scrollbar{
    display: none;
}

body{
    width: 100vw;
    height: 100vh;  
    background-image: url('bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar{
    position: absolute;
    top: 1.1em;
    font-size: 1.5em;
    font-weight: bold;
}

.navbar{
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 70px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 9;
    background: white;
    border-radius: 20px 20px 0px 0px;
}

.navbar button{
    width: 50px;
    height: 50px;
    background: none;
    border: none;
}

.navbar button img{
    width: 40px;
}

.page-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: nowarp;
    overflow-x: hidden;
}

.stats-section {
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    position: relative;
}

.headertop{
    position: absolute;
    font-size: 1.1em;
    top: 35px;
    left: 30px;
}

.headerbottom{
    position: absolute;
    font-size: 2.3em;
    color: #9B15FF;
    top: 50px;
    left: 30px;
}

.stats-holder{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: end;
    align-items: center;
    flex-direction: column;
}

.box-holder{
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.box-holder span{
    display: flex;
    width: 145px;
    height: 145px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    margin: 10px;
    border-radius: 20px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.1);
    background: rgba( 255, 255, 255, 0.4);
}

.box-holder span:nth-of-type(1) h1{
    font-size: 50px;
    color: #A000FF;
}

.box-holder span:nth-of-type(2) h1{
    font-size: 50px;
    color: #84CD00;
}

.box-holder span:nth-of-type(3) h1{
    font-size: 50px;
    color: #FFBB61;
}

.box-holder span:nth-of-type(4) h1{
    font-size: 50px;
    color: #FF298F;
}

.box-holder span h4{
    font-size: 12px;
    color: #212121;
}

.lower-box{
    position: relative;
    width: 100%;
    height: 35%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: start;
    padding-top: 50px;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(105deg, #FFFFFF, #F3E5FF, #E2F2FF);border:1px solid rgba( 255, 255, 255, 0.18 );
}

.lower-box .lb-head{
    position: absolute;
    top: 15px;
    left: 25px;
    color: #9B15FF;
    font-weight: bold;
}

.catbox-holder{
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    
}

.catbox-holder span{
    display: flex;
    width: 100px;
    height: 45px;
    justify-content: center;
    align-items: end;
    padding-right: 25px;
    flex-direction: column;
    margin: 5px;
    flex-shrink: 0;
    border-radius: 20px;
    background: rgba( 255, 255, 255, 0.4);
    box-shadow: 0 0 16px rgba(0,0,0, 0.1);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 25% 50%;
}

.catbox-holder span:nth-of-type(1){
    background-image: url('unset.png');
}

.catbox-holder span:nth-of-type(2){
    background-image: url('work.png');
}

.catbox-holder span:nth-of-type(3){
    background-image: url('education.png');
}

.catbox-holder span:nth-of-type(4){
    background-image: url('sport.png');
}

.catbox-holder span:nth-of-type(5){
    background-image: url('social.png');
}

.catbox-holder span:nth-of-type(6){
    background-image: url('entertainment.png');
}

.schedule-section {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    flex-direction: column;
    overflow: hidden;
}

.date-holder{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 0px;
    height: 300px;
}

.topdate-holder{
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    padding: 0px 30px;
    align-items: center;
    flex-direction: row;
    margin: 50px 0px 18px 0px;
}

.topdate-holder h2{
    font-size: 2.3em;
    margin-top: 15px;
    color: #9B15FF;
}

.topdate-holder h4{
    position: absolute;
    margin-bottom: 35px;
    margin-left: 3px;
    font-size: 1.1em;
}

.topdate-holder span button{
    background-color: transparent;
    border: none;
    border-radius: 50%;
}

.topdate-holder span button img{
    height: auto; 
    width: 50px;
    filter: drop-shadow(5px 10px 16px #6F6F6F);
}

.date{
    width: 100vw;
    height: 120px;
    padding-top: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: black;
    overflow-x: scroll;
    padding-left: 20px;
    padding-right: 10px;
    scroll-snap-type: x mandatory;
  
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 30px 30px 0px 0px;
    background: rgba( 255, 255, 255, 0.6); box-shadow: 0 0px 1px 0 rgba( 31, 38, 135, 0.37 ); backdrop-filter:blur( 10px );-webkit-backdrop-filter:blur( 20px );border:2px solid rgba( 255, 255, 255, 0.2 );
}

.dateBtnActive{
    width: 60px;
    height: 90px;
    background: linear-gradient(120deg, #E2BCFF, #9B15FF);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin: 5px;
    border-radius: 10px;
    border: none;
    scroll-snap-align: center;
    color: white;
    font-size: 1.8em;
    flex-direction: column;
    font-weight: bold;
    box-shadow: 0px 4px 10px 0 #9B15FF;
    transition: .5s;
}

.dateBtn{
    width: 60px;
    height: 90px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
    margin: 5px;
    border-radius: 10px;
    border: none;
    scroll-snap-align: center;
    font-size: 1.6em;
    font-weight: bold;
}

.dateBtn span, .dateBtnActive span{
    font-size: 0.5em;
}

.task-container-parent{
    width: 100%;
    height: 70%;
    overflow-y: scroll;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    padding-bottom: 30px;
    backdrop-filter: blur(10px);
    background: rgba( 255, 255, 255, 0.6); box-shadow: 0 8px 15px 0 rgba( 31, 38, 135, 0.37 );border:1px solid rgba( 255, 255, 255, 0.18 );
}

.task-container{
    width: 100%;
    display: flex;
    flex-shrink: 0;
    justify-content: start;
    align-items: center;
    flex-direction: column-reverse;
    margin-bottom: 80px;
}

.task-container-completed{
    position: relative;
    width: 100%;
    display: none;
    flex-shrink: 0;
    flex-direction: column-reverse;
    justify-items: start;
    align-items: center;
    margin-bottom: 100px;
}

.completed-tag{
    width: 100px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #BEFFAD;
    color: #288300;
    position: absolute;
    z-index: 2;
    top: -36px;
    left: 10px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: bold;
}

.empty-task{
    display: none;
    margin-top: 2em;
    font-size: 1.5em;
    color: #4E4E4E;
}

.task-holder{
    position: absolute;
    width: 100%;
    height: 75%;
    background-color: blue;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    overflow-y: scroll;
    padding-bottom: 10px;
}

.task-card{
    width: 95%;
    height: 150px;
    background-color: white;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin: 10px 0 0 0;
    flex-shrink: 0;
    border-radius: 10px;
    padding: 0 30px 0 30px;
}

.task-content{
    width: 100%;
    height: 80%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    margin-left: 2em;
}

.task-card h2{
    width: 100%;
    height: auto;
    overflow: hidden;
}

.task-card p{
    width: 100%;
    height: auto;
    overflow: hidden;
}

.task-card img{
    width: 80px;
    height: auto;
}

.task-card h3{
    font-weight: normal;
    color: #757575;
}

.add-task{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 65%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding-top: 25px;
    border-radius: 30px 30px 0px 0px;
    background: linear-gradient(105deg, #FFFFFF, #F3E5FF, #E2F2FF); box-shadow: 0 0 6px 0 rgba( 31, 38, 135, 0.1 );border:1px solid rgba( 255, 255, 255, 0.18 );
}

.add-task h2{
    position: absolute;
    top: 30px;
    z-index: 10;
}

.task-view{
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    bottom: 0;
    background: linear-gradient(105deg, #FFFFFF, #F3E5FF, #E2F2FF);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#close{
    position: absolute;
    top: 7px;
    right: 15px;
    background: none;
    border: none;
    z-index: 10;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    filter: drop-shadow(0 0 8px #444444);
}

#add{
    position: fixed;
    bottom: 15px;
    width: 90%;
    height: 45px;
    background: linear-gradient(155deg, #7FD5FF, #008DFF);
    color: white;
    border: none;
    border-radius: 10px;
    z-index: 10;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0px 5px 16px 0 #0090FF;
}

#taskHeader{
    font-size: 1.5em;
    color: #00AEFF;
    margin-left: 8%;
    color: #9B15FF;
}

#taskname{
    font-size: 2.5em;
    font-weight: bold;
    height: auto;
    width: 80%;
    padding: 5px 0 5px 0;
    border: none;
    border-bottom: 0.7px solid #575757;
    background: none;
    margin-bottom: 30px;
    margin-left: 8%;
}

#taskdesc{
    font-size: 1.3em;
    color: #3F3F3F;
    width: 80%;
    padding: 5px 0 5px 0;
    border: none;
    border-bottom: 0.7px solid #575757;
    background: none;
    margin-bottom: 30px;
    margin-left: 8%;
}

.task-form{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: end;
    flex-direction: column;
}

.task-form-view{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
}

.task-form-view img{
    width: 10em;
    height: 10em;
    margin-bottom: 50px;
}

.task-form-view h1{
    width: 310px;
    font-size: 2.5em;
    font-weight: bold;
    width: 80%;
    margin-bottom: 10px;
}

.task-form-view p{
    width: 310px;
    font-size: 1.3em;
    color: #3F3F3F;
    width: 80%;
    margin-bottom: 30px;
}

.lower-input-view{
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    background: rgba( 255, 255, 255, 0.6); box-shadow: 0 8px 15px 0 rgba( 31, 38, 135, 0.37 );border:1px solid rgba( 255, 255, 255, 0.18 );
    padding-top: 10px;
    border-radius: 30px 30px 0 0;
}

.lower-input{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.loweri-holder{
    display: flex;
    width: 90%;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.loweri-holder-view{
    display: flex;
    width: 90%;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.lower-input button, 
.lower-input-view button{
    position: relative;
    width: 150px;
    height: 70px;
    flex-shrink: 0;
    margin: 5px;
    border-radius: 20px;
    border: none;
    background-color: white;
}

.lower-input button input, 
.lower-input-view button input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    color: transparent;
    background-color: transparent;
}

.lower-input button:nth-of-type(1),
.lower-input-view button:nth-of-type(1){
    width: 310px;
    background-image: url('category.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 7% 50%;
}

.lower-input button:nth-of-type(2),
.lower-input-view button:nth-of-type(2){
    background-image: url('clock.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 15% 50%;
}

.lower-input button:nth-of-type(3),
.lower-input-view button:nth-of-type(3){
    background-image: url('clock-purple.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 15% 50%;
}

#taskDelete{
    position: relative;
    width: 310px;
    height: 40px;
    margin-top: 5px;
    background: linear-gradient(105deg, #FF8D74, #FF2B00);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0px 4px 12px 0 #FF005D;
}

#taskComplete{
    position: relative;
    width: 310px;
    height: 40px;
    margin-top: 10px;
    background: linear-gradient(105deg, #7FD5FF, #008DFF);
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0px 4px 12px 0 #0090FF;
}

.category{
    display: none;
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 11;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(105deg, #FFFFFF, #F3E5FF, #E2F2FF);
}

.category button{
    border: none;
    width: 100px;
    height: 60px;
    margin: 5px;
    flex-shrink: 0;
    border-radius: 15px;
    background: rgba( 255, 255, 255, 0.4);
    box-shadow: 0 0 16px rgba(0,0,0, 0.1);
}


