/* GENERAL */

html{
scroll-behavior:smooth;
}

body{
background: linear-gradient(-45deg,#6c63ff,#8b5cf6,#4f46e5,#9333ea);
background-size:400% 400%;
animation:gradientMove 12s ease infinite;

text-align:center;
font-family:'Poppins',sans-serif;
margin:0;
padding:0;
}


/* NAVBAR */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 40px;
font-size:22px;
font-weight:700;
background:white;
box-shadow:0 2px 15px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:100;
}

.logo{
font-family:"Bradley Hand",cursive;
font-size:42px;
font-weight:bold;
background: linear-gradient(90deg,#6c63ff,#8b5cf6,#4f46e5);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
text-shadow:0 4px 10px rgba(0,0,0,0.1);
}

#darkToggle{
background:none;
border:none;
font-size:22px;
cursor:pointer;
}


/* HERO */

.hero{
text-align:center;
padding:80px 20px;
max-width:700px;
margin:auto;
}

.hero-title{
font-size:40px;
margin-bottom:15px;
}

.hero p{
opacity:0.8;
margin-bottom:25px;
}

.hero button{
padding:12px 26px;
font-size:16px;
border-radius:10px;
background:#6c63ff;
color:white;
border:none;
cursor:pointer;
}

button:hover{
background:#584cff;
transform:scale(1.05);
}


/* TOOLS */

.tools{
display:flex;
flex-direction:column;
align-items:center;
gap:25px;
max-width:600px;
margin:40px auto;
}

.card{
width:100%;
max-width:500px;
height:140px;

background:white;
padding:30px;

border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

text-align:center;
text-decoration:none;
color:inherit;

transition:0.25s;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

.card i{
font-size:28px;
margin-bottom:10px;
}


/* DEADLINES */

.deadlines{
margin-top:40px;
text-align:center;
}

.deadline-card{
background:white;
padding:15px;
margin:10px auto;
width:300px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}


/* TIMER */

.timer-page{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
height:100vh;
gap:30px;
}

.timer-display{
font-size:80px;
font-weight:bold;
color:#4F46E5;
}

.timer-buttons{
display:flex;
gap:15px;
}

.timer-buttons button{
padding:12px 25px;
font-size:16px;
border:none;
border-radius:8px;
background:#4F46E5;
color:white;
cursor:pointer;
}

.timer-buttons button:hover{
opacity:0.8;
}

.back-btn{
margin-top:20px;
text-decoration:none;
color:#4F46E5;
font-weight:bold;
}


/* INPUT */

.time-input input{
width:80px;
padding:10px;
font-size:16px;
text-align:center;
border-radius:8px;
border:1px solid #ccc;
margin-right:10px;
}

.time-input button{
padding:10px 20px;
border:none;
border-radius:8px;
background:#5a54e6;
color:white;
font-weight:600;
cursor:pointer;
}


/* INSTALL BUTTON */

.install-btn{
background:#6C63FF;
color:white;
border:none;
padding:12px 22px;
font-size:16px;
border-radius:10px;
cursor:pointer;
margin-top:20px;
}

.install-btn:hover{
opacity:0.9;
}


/* PROGRESS BAR */

.progress-bar{
width:100%;
height:8px;
background:#e5e5e5;
border-radius:10px;
margin:10px 0;
overflow:hidden;
}

.progress{
height:100%;
background:#6c63ff;
border-radius:10px;
transition:0.3s;
}


/* FOOTER */

.footer{
margin-top:80px;
padding:40px 20px;
text-align:center;
background:#f5f5f5;
}

.footer h3{
font-size:20px;
margin-bottom:10px;
}

.footer p{
opacity:0.7;
font-size:14px;
}

.footer-date{
margin-top:10px;
font-size:13px;
}


/* DARK MODE */

.dark{
background:#1e1e1e;
color:white;
}

.dark nav{
background:#2b2b2b;
color:white;
}

.dark .card{
background:#2b2b2b;
color:white;
}

.dark .deadline-card{
background:#2b2b2b;
color:white;
}

.dark .progress-bar{
background:#444;
}

.dark .progress{
background:#8b82ff;
}

.dark .footer{
background:#1f1f1f;
color:white;
}


/* GRADIENT ANIMATION */

@keyframes gradientMove{

0%{
background-position:0% 50%;
}

50%{
background-position:100% 50%;
}

100%{
background-position:0% 50%;
}

}
.done{
text-decoration: line-through;
opacity:0.6;
}