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



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

@font-face {
    font-family: 'Heming';
    src: url("./font/heming-variable.ttf");
}

body {
    background-color: #000000;
    overflow-x: hidden;
    border: none;
}

.usernameWithHi {
    display: flex;
    align-items: center;
    color: #bfbfc9;
    padding: 24px 0 0 40px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.hiBox {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiBox canvas {
    width: 100%;
    height: 100%;
}

.heroDiv_1 {
    height: 99vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heroDiv_2 {
    height: 50vh;
    width: 25vw;
    border: 3px solid black;
    border-top-left-radius: 24%;
    border-bottom-right-radius: 24%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: #F0F7EE;
    min-width: 184px;
    min-height: 184px;
}

.signUpButton,
.signInButton {
    height: 2.5em;
    width: 5em;
    font-size: 20px;
    border: 3px solid black;
    border-radius: 7%;
    background-color: rgb(130, 216, 238);
    cursor: pointer;
    font-family: "Heming";
}

.signUpForm,
.signInForm {
    border: 3px solid black;
    border-radius: 12%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background-color: yellow;
}

#signUpForm {
    height: 65vh;
    width: 35vw;
    min-width: 367px;
    min-height: 424px;
}

.signUp_heading,
.signIn_heading {
    font-size: 28px;
    font-family: "Heming";
    margin: 2%;
}

.signup_title,
.signin_title {

    margin: 2% 0% 4% 2%;
}

.firstlastname {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.firstlastname #firstname,
.firstlastname #lastname {
    width: 48%;
}

.signUpinputs,
.signIninputs {

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.signUpinputs {
    height: 70%;
    width: 100%;
}

.signIninputs {
    height: 50%;
    width: 100%;
}



input,
select,
option {
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 400;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    transition: all 0.2s ease;
    color: #1d1d1f;
}

input:focus,
select:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

input::placeholder {
    color: #86868b;
}

.SubmitButton,
.addTodoButton,
.deleteTodoButton,
.doneButton,
.logOut {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}


.logOut,
.doneButton,
.deleteTodoButton,
.addTodoButton {
    cursor: pointer;
}

.SubmitButton:hover,
.addTodoButton:hover {
    background-color: #0051d5;
}

.addTodoButton {
    background-color: #007aff;
    color: #ffffff;
    transition: all 0.2s ease;
}

.logOut {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
    transition: all 0.2s ease;
}

.logOut:hover {
    background-color: #e8e8ed;
}


#signInForm {
    height: 50vh;
    width: 27vw;
    min-width: 271px;
    min-height: 294px;
}

.todoMain_div {
    margin-top: 1.5%;
    margin-bottom: 1%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.TodoHerocontainer {
    height: 70vh;
    width: 55vw;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}



.date {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    margin: 20px 0 12px 0;
    color: #6e6e73;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.todoList {
    font-size: 16px;
    border: 1px solid #e5e5ea;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background-color: #fafafa;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.todoList:hover {
    background-color: #f5f5f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}



.todoTitle {
    width: 250px;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.5;
}

.doneButton {
    width: 94px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.notDone {
    background-color: #f5f5f7;
    color: #86868b;
    border: 1px solid #d2d2d7;
}

.notDone:hover {
    background-color: #e8e8ed;
}

.done {
    background-color: #34c759;
    color: #ffffff;
    border: 1px solid #34c759;
}

.done:hover {
    background-color: #2fb04d;
}

.deleteTodoTD {
    width: 150px;
}

.deleteTodoButton {
    background-color: #ffffff;
    color: #ff3b30;
    border: 1px solid #d2d2d7;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.deleteTodoButton:hover {
    background-color: #ff3b30;
    color: #ffffff;
    border-color: #ff3b30;
}


#addTodoDivAndLogOut {
    height: 47vh;
    width: 22vw;
    border: none;
    border-radius: 16px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.addTodo_heading {
    font-size: 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin: 0px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.addTodoForm {
    width: 100%;
    height: 60%;
    padding: 20px;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: #fafafa;
}

.addTodoInputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}



@media (max-width:905px) {

    .signUpButton,
    .signInButton {
        height: 3em;
        width: 4em;
        font-size: larger;
    }

    .heroDiv_2 {
        height: 40vh;
        width: 38vw;
        min-width: 374px;
        min-height: 454px;
    }


    .addTodo_heading {
        font-size: 28px;
    }

    #signInForm {
        height: 40vh;
        width: 18vw;
    }

    #signUpForm {
        height: 44vh;
        width: 35vw;
    }

    .firstlastname #firstname,
    .firstlastname #lastname {
        width: 38%;
    }

    .todoMain_div {
        height: auto;
        width: 100vw;
        flex-direction: column;
        gap: 90px;
        padding: 20px;
        align-items: center;
    }

    .TodoHerocontainer {
        width: 100%;
        min-width: 390px;
        min-height: 745px;
        /*here the width is in respect to todoMainDiv */
    }

    #addTodoDivAndLogOut {
        height: 40vh;
        width: 40vw;
        min-width: 334px;
        min-height: 387px;
    }

    .addTodoForm {
        width: 80%;
        /*here the width is in respect to addTodoDivAndLogOut */
    }
}


@media (min-width: 906px)and (max-width: 1280px) {

    .signUpButton,
    .signInButton {
        height: 3em;
        width: 4em;
        font-size: larger;
    }

    .heroDiv_2 {
        height: 40vh;
        width: 38vw;
        min-width: 374px;
        min-height: 454px;
    }

    #signInForm {
        height: 58vh;
        width: 30vw;
    }

    #signUpForm {
        height: 44vh;
        width: 35vw;
    }

    .firstlastname #firstname,
    .firstlastname #lastname {
        width: 38%;
    }


    .todoMain_div {
        height: auto;
        width: 100vw;
        flex-direction: column;
        gap: 90px;
        padding: 20px;
        align-items: center;
    }

    .TodoHerocontainer {
        width: 100%;
        min-width: 390px;
        min-height: 745px;
        /*here the width is in respect to todoMainDiv */
    }

    #addTodoDivAndLogOut {
        height: 40vh;
        width: 40vw;
        min-width: 334px;
        min-height: 387px;
    }

    .addTodoForm {
        width: 80%;
        /*here the width is in respect to addTodoDivAndLogOut */
    }
}
