*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: "Poppins", sans-serif;
}
a{
    text-decoration: none;
    /* color: #fff; */
}
.header{
    min-height: 60vh;
    background: linear-gradient(135deg, #8052ec,#d161ff);
    color: #fff;
    position: relative;
}
.container{
    max-width: 1200px;
    margin: auto;
    width: 90%;
}
.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    /* position: sticky;
    top: 1px; */
}
.nav-items{
    width: 40%;
    display: flex;
    list-style-type: none;
    justify-content: space-between;
}
.nav-items a{
    color: #fff;
    /* text-decoration: line-through; */
}
.headline{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.btn{
    display: inline-block;
    outline: none;
    border: none;
    cursor: pointer;
}
.btn-headline{
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}
.section-todo{
    margin-top: 5rem;
    text-align: center;
}
#savebtn{
    display: none;
}

/* add todo form */
.form-todo{
    /* border: 2px solid red; */
    min-height: 5vh;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.form-todo input{
    min-height: 100%;
}
.form-todo input[type="text"]{
    width: 70%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 400;
}
.form-todo input[type="submit"]{
    width: 20%;
    background: rgb(44,55,63);
    color: #fff;
    font-weight: bold;
}
/* todo nav */
.todo-list{
    /* background: #8052ec; */
    margin-top: 2rem;
}

.todo-nav{
    padding: 10px;
    margin: 2rem 0;
    background: rgb(44, 55, 63);
    /* position: sticky;
    top: -1px; */
}

/* todo table */
.todo-table{
    /* width: 900px; */
    /* background: #fff; */
    max-height: 470px;
    overflow-y: auto;
    /* overflow-x: scroll; */
    box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.5);
}
table{
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    
}
table thead th, 
table tbody td{
    padding: 15px;
    border: none;
    font-weight: 600;
    font-size: 14px;
}
table thead th{
    background: #454ac4;
    /* background: rgb(44,55,63); */
    color: #eee;
    font-size: 16px;
    position: sticky;
    top: -1px;
}

table tbody td{
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

table thead th:nth-child(1), 
table tbody td:nth-child(1){
    width: 90px;
    text-align: center;
}
table tbody td:nth-child(1){
    background: #454ac4;
    color:#eee;
    font-size: 16px;    
    font-weight: 500;
}
table tbody tr:hover,
table tbody tr:nth-child(odd){
    background: rgba(0, 0, 0, 0.05);
}


.section-signup{
    margin: 5rem auto;
    text-align: center;
    background: rgb(240, 240, 240);
    border-radius: 10px;
    padding: 1rem;
}
.signup-form{
    max-width: 800px;
    width: 95%;
    margin: auto;
    text-align: left;
}
.signup-form label{
    display: block;
}
.signup-form input{
    display: block;
    width: 100%;
    padding: 0.5rem;
}
.form-group{
    margin-top: 1rem;
}
.signup-form textarea{
    width: 100%;
}
.signup-btn{
    background: rgb(44, 55, 63);
    color: #fff;
    padding: 1rem 2rem;
    display: block;
    margin: 1rem auto;
}