* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
}
body {
    height: 100%;
   
}
#header-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 200px;
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    background-color: #FF4505;
    box-shadow: 0 1px 3px 1px rgb(63, 63, 63);
    text-align: center;
    color: aliceblue;
    z-index: 1000;
    position: relative;
}
#input-container {
    display: flex;
    gap: 5px;
    justify-content: center;
    width: min(100%, 400px);
    margin: 0 auto;
}
#todo {
    width: 75%;
    height: 30px;
    border-radius: 5px;
    padding: 2px 10px;
    border: none;
}
button {
    border-radius: 5px;
    border: none;
    padding: 2px 5px;
    width: 35px;
    background-image: url('./../media/add-button.png');
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: opacity ease-in-out 0.1s;
}
button:hover {
    cursor: pointer;
    opacity: 1;
    transition: opacity ease-in-out 0.1s;
}
#todolist-container {
    height: calc(100% - 200px);
    overflow-y: auto;
    padding: 5px 10px 0 10px;
    
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: min(100%, 600px);
    margin: 0 auto;
}
li {
   background-color: #eee;
   font-size: 20px;
   margin-bottom: 2px;
   transition: all ease-in-out 0.1s;
}
li:nth-of-type(odd) {
    background-color: #f9f9f9;
}

li:hover {
    transform: scale(1.02);
    box-shadow: 0 0 2px 1px #33333355;
    transition: all ease-in-out 0.1s;
}

.check-container {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.check-container label {
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 10px;
    user-select: none;
    -webkit-user-select: none;
}

.delete {
    width: 40px;
    text-align: center;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffe7dfa1;
    transition: all ease-in-out 0.2s;
    user-select: none;
    -webkit-user-select: none;
    background-image: url('./../media/bin.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.delete:hover {
    background-color: #FF4505;
    color:  aliceblue;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
}

.check-container label.checked  {
    text-decoration: line-through;
    opacity: 0.3;
}


