/* 자유롭게 디자인 해 주세요! */
@font-face {
        font-family: 'RixXladywatermelonR';
        src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-4@1.0/RixXladywatermelonR.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
    }

html {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

body {
    font-family: RixXladywatermelonR;
    max-width: 500px;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    scrollbar-width: thin;
}

.container {
    position: relative;
    display: flex;
    width: 450px;
    height: 680px;
    flex-direction: column;
    background-color: #fef79fbd;
    overflow: hidden;
}

.container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./grid.jpg");
    background-size: cover;
    background-blend-mode: darken;
    opacity: 0.5;
    z-index: -1;
}

header {
    font-size: 40px;
    font-weight: bold;
    padding: 20px;
    background-color: #2b3681;
    color: white;
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.5);
}

form {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-top: 20px;
}

label {
    align-items: center;
    padding: 2px 7px;
    font-size: 20px;
}

input {
    border-color: black;
    border-width: 0 0 2px;
    background-color: transparent;
    width: 180px;
    margin: 0;
    font-family: RixXladywatermelonR;
    padding-bottom: 5px;
    color:rgb(50, 50, 50);
}

input:focus {
    outline: none;
    box-shadow: none;
}

button {
    font-family: RixXladywatermelonR;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap-reverse;
}

#input-btn {
    border: transparent;
    border-radius: 4px;
    background-color: transparent;
    padding: 2px 7px;
    font-size: 25px;
    font-weight: 500;
}

#input-btn:hover {
    color: green;
    background-color: transparent;
}

section {
    margin-top: 20px;
}

h4 {
    font-size: 20px;
    text-align: left;
    padding: 10px 20px;
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 168px;
    overflow-y: scroll;
}

li {
    display: flex;
    align-items: center;
    padding: 8px 30px;
    gap: 8px;
}

li > :nth-child(1) {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background-color: transparent;
    font-size: 25px;
    border-color: #393939;
}

li > :nth-child(3) {
    border: transparent;
    background-color: transparent;
    font-size: 20px;
    font-weight: 500;
}

#done-list span {
    text-decoration: line-through;
    color: #b3b3b3;
}

#done-list li > :nth-child(1) {
    border: transparent;
    background-color: green;
    font-size: 20px;
    font-weight: 500;
    color: white;
}