@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Artifika&display=swap');

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: 'Inter', sans-serif;
}

html {
 scroll-behavior: smooth;
}

body {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 min-height: 75vh;
 background: #F8EDEB;
 letter-spacing: 3px;
}

.todo-box {
 position: relative;
 width: 525px;
 height: 650px;
 border-radius: 30px;
 padding: 30px 50px;
 background: #F8EDEB;
 box-shadow: 25px 25px 75px rgb(255, 181, 167), 10px 10px 70px rgb(255, 181, 167);
}

h2 {
 width: 100%;
 text-align: left;
 color: #FFB5A7;
 font-size: 40px;
 font-family: "Artifika", serif;
 font-weight: bold;
 font-style: normal;
 margin-bottom: 10px;
}

#input-box {
 position: relative;
 width: 100%;
 border: none;
 outline: none;
 padding: 10px 20px;
 font-size: 20px;
 border-radius: 30px;
 box-shadow: 18px 18px 38px inset #FFB5A7;
 color: #6d6875;
 background: #F8EDEB;
}

.todo-box li {
 width: calc(100% - 50px);
 position: relative;
 display: flex;
 justify-content: space-between;
 align-items: center;
 background-color: #FFB5A7;
 margin: 20px 0;
 padding: 10px 10px 10px 45px;
 min-height: 45px;
 border-radius: 25px;
 cursor: pointer;
 color: #6d6875;
 font-size: 18px;
}

.todo-box li::before {
 content: '';
 position: absolute;
 left: 8px;
 width: 30px;
 height: 30px;
 background: #F8EDEB;
 border-radius: 50%;
}

.todo-box li.done {
 text-decoration: line-through;
 background: #FF9E8A;
}

/* CHECK MARKS */
.todo-box li.done:after {
 content: '';
 position: absolute;
 left: 16px;
 width: 12px;
 height: 6px;
 border-left: 2px solid #656464; 
 border-bottom: 2px solid #656464;
 transform: rotate(315deg);
}

/* DELETE ITEM 'X' */
.todo-box li i {
 position: absolute;
 right: -50px;
 height: 30px;
 width: 30px;
 display: flex;
 justify-content: center;
 align-items: center;
 border-radius: 50%;
 background: #FFB5A7;
}

.todo-box li i:hover {
 background: #FF9E8A;
}

.todo-box li i::before {
 content: '';
 position: absolute;
 width: 15px;
 height: 2px;
 background: #F8EDEB;
 transform: rotate(45deg);
}

.todo-box li i::after {
 content: '';
 position: absolute;
 width: 15px;
 height: 2px;
 background: #F8EDEB;
 transform: rotate(-45deg);
}

#list {
 position: relative;
 margin-top: 20px;
 height: 450px;
 overflow-y: auto;
 padding-right: 10px;
}

::-webkit-scrollbar-track{
 box-shadow: inset 0 0 15px #cac8c8;
}
::-webkit-scrollbar {
 width: 8px;
}
::-webkit-scrollbar-thumb {
 background: whitesmoke;
}

/* DARK/LIGHT MODE BUTTONS */
#color-change {
 margin: 20px;
 display: inline-block;
 justify-content: space-between;
 background: #F8EDEB;

}

.colorChange {
 border: none;
 font-size: 30px;
 padding: 15px;
 color: #FFB5A7;
 cursor: pointer;
}