@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

nav {
    background: #0082e6;
    height: 80px;
    width: 100%;
}

.logo {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    font-size: 40px;
    line-height: 80px;
    padding: 0 30px;
    font-weight: bold;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

a.active,
a:hover {
    background: #1b9bff;
    transition: .5s;
}

.checkbtn {
    font-size: 22px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 1050px) {
    .logo {
        padding-left: 30px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 890px) {
    .checkbtn {
        display: block;
    }

    .logo {
        font-size: 22px;
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    a:hover,
    a.active {
        background: none;
        color: #0082e6;
    }

    #check:checked ~ ul {
        left: 0;
    }
}

section {
    min-height: 100vh;
    padding: 100px;
    background: url("bg.jpg") no-repeat;
    background-size: cover;
}

html {
    scroll-behavior: smooth;
}


/* AI chatbot css starts here */
.ai_chatbot{
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0082e6;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 20px;
}
.ai_chatbot:hover{
    width: 150px;
    border-radius: 30px;
    box-shadow: 5px 5px 20px black;
}
.ai_text{
    display: none;
    margin-left: 8px;
}

.ai_chatbot:hover .ai_text{
    display: inline;
}
.ai_chatbot:hover .ai_icon{
    opacity: 0;
}
.ai_chatbot:hover .ai_text{
    display: inline;
}

.ai_fullscreen{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0,110,255,0.85),
            transparent 32%
            ),
        radial-gradient(
            circle at 85% 75%,
            rgba(60,50,230,0.75),
            transparent 32%
            ),
        linear-gradient(
            135deg,
            #eaf4ff,
            #dce8ff
            );
}

.ai_fullscreen.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.ai_fullscreen{
    transition: all 0.4s ease;
}
.ai_close{
    border-radius: 30px;
    border: none;
    height: 60px;
    width: 60px;
    position: fixed;
    bottom: 25px;
    left: 20px;
}
.heading{
    font-size: 46px;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 40px ;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:linear-gradient(
        90deg,
        #006eff,
        #7b4dff,
        #00aaff,
        #006eff
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:headingColor 4s linear infinite;
}

@keyframes headingColor {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 300% 50%;
    }
}

.searchbar{
    border: none;
    display: block;
    margin: 0 auto;
    border-radius: 30px;
    width: 349px;
    height: 67px;
    font-size: 20px;
    padding: 10px;
    overflow:hidden;
    resize: none;
}

.aioutput {
    padding: 14px;
    display: block;
    width: fit-content;
    margin: 20px auto;
    font-size: 22px;
    text-align: center;
    margin-top: 80px;
    font-family: Arial, Helvetica, sans-serif;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255,0.7);
    box-shadow: 0 20px 50px rgba(30,80,180,0.15);
    border-radius: 24px;
    line-height: 1.7;
}

/* AI chatbot css ends here */
/* Pomodoro css starts here */
.pomodoro{
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 20px;
}

.settings-section{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.inputs-container{
    display: flex;
    gap: 20px;
}

.stats-container{
    display: flex;
    gap: 30px;
    margin-left:90px ;
    margin-top: 40px;
}

.stat{
    background-color: #2b2b2b;
    color: #ffffff;
    width: 90px;
    padding: 15px 0px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 5px 5px 10px 2px rgba(0,0,0,0.3);
}

.stat-value{
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}

.stat-label{
    font-size: 12px;
    color: #b3b3b3;
}

.timer{
    margin-top: 60px;
    margin-left: 30px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 10px solid orange;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
}
.start{
    width: 100px;
    height: 50px;
    margin-top:30px ;
    margin-left: 20px;
    border-radius: 35px;
    border: 1px solid;
    color:#0082e6 ;
    cursor: pointer;
}

#reset{
    width: 96px;
    height: 50px;
    border-radius: 35px;
    border: 1px solid;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 20px;
    color: #e60021;
}

#pause{
    width: 96px;
    height: 50px;
    margin-top: 20px;
    margin-left: 20px;
    cursor: pointer;
    border: 1px solid;
    border-radius: 35px;
}

.start, #reset, #pause{
    transition: transform 0.5s ease, box-shadow 0.5s ease;background-color: 0.3 ease;
}

.start:hover, #reset:hover, #pause:hover{
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.start:active, #reset:active, #pause:active{
    transform: scale(0.9);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);    
}
.timer-section{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#start:hover{
    cursor: pointer;
}

.time-input, .break-input{
    margin-top: 65px;
    margin-left: 90px;
    font-size: 24px;
}

.time-input label, .break-input label{
    font-weight: bold;
    margin-right: 10px;
}

.time-input input, .break-input input{
    width: 60px;
    height: 35px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    padding: 5px;
    border: 2px solid;
}

.time-input input:focus, .break-input input:focus{
    border-color: #e60021;
    outline: none;
}


/* pomodoro css ends here */
/* To do list css starts here  */

.completed{
    text-decoration: line-through;
    opacity: 0.5;
}

.todo{
    text-align: center;
}

#taskInput{
    font-size: 15px;
    border-radius: 24px;
    border: solid;
    padding: 12px;
    margin-bottom: 25px;
}

li{
    cursor: pointer;
    margin: 10px;
    font-size: 20px;
}