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

body {
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.1);
    font-family: 'Titillium Web', sans-serif;
    overflow-x: hidden;
}

.container {
    /* border: 1px solid red; */
    padding: 10px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header {
    width: 380px;
    height: 200px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.header img {
    width: 380px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.clear {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.clear i {
    font-size: 30px;
    color: #925b09;
}

.clear i:hover {
    cursor: pointer;
    text-shadow: 1px 3px 5px #000;
    transform: rotate(45deg);
}

.content {
    width: 380px;
    height: 350px;
    max-height: 350px;
    background-color: #FFF;
    overflow: auto;
}

.content::-webkit-scrollbar {
    display: none;
}

.content ul {
    padding: 0;
    margin: 0;
}

ul li {
    cursor: pointer;
    position: relative;
    padding: 12px 8px 12px 40px;
    list-style-type: none;
    background: #eee;
    font-size: 18px;
    transition: 0.2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ul li:nth-child(odd) {
    background: #f9f9f9;
}

ul li:hover {
    background: #ddd;
}

ul li.checked {
    background: #888;
    color: #fff;
    text-decoration: line-through;
}

ul li.checked::before {
    content: '';
    position: absolute;
    border-color: #fff;
    border-style: solid;
    border-width: 0 2px 2px 0;
    top: 10px;
    left: 16px;
    transform: rotate(45deg);
    height: 15px;
    width: 7px;
}

.close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px 16px 12px 16px;
}

.close:hover {
    background-color: #925b09;
    color: white;
}

.item {
    width: 380px;
    height: 55px;
    min-height: 45px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;

}

.item:hover {
    cursor: pointer;

}

.lineThrough {
    text-decoration: line-through;
    color: #ccc;
}

/*  add item  */
.add-to-do {
    position: relative;
    width: 380px;
    height: 55px;
    background-color: #FFF;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.add-to-do i {
    position: absolute;
    font-size: 40px;
    color: #925b09;
}

.add-to-do input {
    position: absolute;
    left: 50px;
    height: 35px;
    width: 310px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    padding-left: 10px;
}

.add-to-do input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #925b09;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
}

.add-to-do input::-moz-placeholder {
    /* Firefox 19+ */
    color: #925b09;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
}

.add-to-do input:-ms-input-placeholder {
    /* IE 10+ */
    color: #925b09;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
}

.add-to-do input:-moz-placeholder {
    /* Firefox 18- */
    color: #925b09;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
}
@media all and (max-width: 768px) {
    .content, .header, .header img, .item, .add-to-do{
        width: 320px;
    }
    .add-to-do input{
        width: 250px;
    }
}
@media all and (max-width: 280px) {
    .content, .header, .header img, .item, .add-to-do{
        width: 250px;
    }
    .add-to-do input{
        width: 180px;
    }
}