*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background:  var(--background-primary);
}
#toggle{
    position: absolute;
    top: 40px;
    right: 100px;
    border-radius: 50px;
    padding: 15px;
    cursor: pointer;
    border: var(--border-secondary);
    background-color: #000000;
    color: #ffffff;
    font-size: 13px;
}
.todo-container{
    width: 30%;
    height: 600px;
    background-color: var(--background-secondary);
    position: relative;
    top: 100px;
    left: 550px;
    border: #830909 1px solid;
    border-radius: 10px;
    box-shadow:  var(--box-primary);
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--text-primary);
}
h1{
    margin-top: 25px;
    font-size: 30px;
}
p{
    font-size: 10px;
    margin: 20px;
    color: var(--text-secondary);
    text-align: center;
}
.input{
    width: 80%;
    height: 40px;
    border-radius: 5px;
    border: #ff0000 1px solid;
    background-color: var(--background-secondary);
    color: var(--text-tertiary);
    padding-left: 10px;
    margin-top: 20px;
}
input:focus{
    outline: none;
    border: #ffffff 1px solid;
    box-shadow: 0 4px 8px rgba(160, 151, 151, 0.5);
}
.add-btn{
    width: 60px;
    height: 30px;
    border-radius: 5px;
    border: none;
    background-color: var(--background-tertiary);
    color: var(--text-quaternary);
    margin-top: 20px;
    cursor: pointer;
}
.add-btn:hover{
    background-color: var(--background-quaternary);
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}
.todo-list-container{
    width: 90%;
    max-height: 340px;
    overflow: auto;
    margin-top: 20px;
    position: relative;
    top: 0;
    overflow: auto;
    left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h2{
    font-size: 20px;
    color: var(--text-quinary);
    position: relative;
    top: 10px;
    left: -15px;
}
.to-do-p-tag{
    font-size: 8px;
    position: relative;
    top: -8px;
    width: 60%;
    text-align: center;
}
table thead{
    color: var(--text-senary);
    font-size: small;
}
table tbody{
    color: var(--text-septenary);
}

/* Theme */

.dark-theme{
    --background-primary: linear-gradient(to right, #000000, #160202); /* body bg */
    --background-secondary: #000000; /* todo-container bg and input */
    --background-tertiary: #610000; /* add.btn  */
    --background-quaternary: #e10606; /* add.btn hover */

    --text-primary: #ff0000; /* container text color */
    --text-secondary: #a99595; /* p tag color */
    --text-tertiary: #d2c9c9; /* input text color */
    --text-quaternary: #d2c9c9; /* add.btn text color */
    --text-quinary: #940808; /* h2 color */
    --text-senary: #d5cdcd; /* table thead text color */
    --text-septenary: #8e8686; /* table tbody text color */

    --box-primary : 0 0 20px #641818;
    --border-secondary : #830909 1px solid;
}
.light-theme{
    --background-primary: linear-gradient(to right, #ffffff, #ffffff); /* body bg */
    --background-secondary: #ffffff; /* todo-container bg and input */
    --background-tertiary: #720505; /* add.btn  */
    --background-quaternary: #b70b0b; /* add.btn hover */

    --text-primary: #000000; /* container text color */
    --text-secondary: #585151; /* p tag color */
    --text-tertiary: #000000; /* input text color */
    --text-quaternary: #ffffff; /* add.btn text color */
    --text-quinary: #000000; /* h2 color */
    --text-senary: #000000; /* table thead text color */
    --text-septenary: #787171; /* table tbody text color */ 

    --box-primary : 0 0 2px #000000;
    --border-secondary : none
}


@media screen and (max-width:568px){
    .todo-container{
        width: 350px;
        height: 600px;
        position: relative;
        top: 160px;
        left: 30px;
    }
    h1{
        margin-top: 25px;
        font-size: 20px;
    }
    p{
        font-size: 10px;
    }
    .to-do-p-tag{
        font-size: 8px;
        position: relative;
        left: -15px;
    }
}

@media screen and (min-width:568px) and (max-width:768px){
    .todo-container{
        width: 350px;
        height: 600px;
        position: relative;
        top: 160px;
        left: 100px;
    }
    h1{
        margin-top: 25px;
        font-size: 20px;
    }
    p{
        font-size: 10px;
    }
    .to-do-p-tag{
        font-size: 8px;
        position: relative;
        left: -15px;
    }
}

@media screen and (min-width:768px) and (max-width:1024px){
    .todo-container{
        width: 350px;
        height: 600px;
        position: relative;
        top: 160px;
        left: 250px;
    }
    h1{
        margin-top: 25px;
        font-size: 20px;
    }
    p{
        font-size: 10px;
    }
    .to-do-p-tag{
        font-size: 8px;
        position: relative;
        left: -15px;
    }
}

@media screen and (min-width:1024px) and (max-width:1440px){
    .todo-container{
        width: 40%;
        height: 600px;
        position: relative;
        top: 160px;
        left: 350px;
    }
    h1{
        margin-top: 25px;
        font-size: 30px;
    }
    p{
        font-size: 10px;
    }
    .to-do-p-tag{
        font-size: 8px;
        position: relative;
        left: -15px;
    }
}



