@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lilita+One&family=Righteous&family=Suez+One&display=swap');
body {
    font-family: "Lilita One", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(images/istockphoto-985915172-612x612.jpg);
}

.title-container {
    font-weight: 50;
    border-radius: 20px;
    padding: 10px;
    background-color: white;
    margin: 10px;
    box-shadow: 0 0 10px 8px rgb(46, 46, 46);
    transition: box-shadow 0.3s ease-in-out;
    outline: 5px solid black;
    min-width: 70vw;
}

.tasks-container {
    border-radius: 20px;
    padding: 10px;
    background-color: white;
    margin: 20px;
    box-shadow: 0 0 10px 8px rgb(46, 46, 46);
    transition: box-shadow 0.3s ease-in-out;
    outline: 5px solid black;
    min-width: 70vw;
}

.add-input {
    display: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    outline: 2px solid black;
}

.disappearing-text {
    color: rgb(92, 92, 92);
}

.buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 70vw;
}

.create-button {
    font-family: "Lilita One", serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 8px;
    outline: 2px solid black;
    background-color: white;
    font-size: large;
    padding: 10px;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px;
    background: white;
    border-radius: 5px;
    margin: 5px 0;
    list-style: none;
}

ul li {
    padding: 12px 8px 12px 8px;
    background-color: rgb(185, 185, 185);
    border-radius: 8px;
    margin: 15px;
    box-shadow: 0 0 10px 4px rgb(46, 46, 46);
    transition: box-shadow 0.3s ease-in-out;
    outline: 2px solid black;
}

.delete-btn {
    font-weight: bold;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.plus-button {
    display: none;
    font-weight: bold;
    font-size: 30px;
    background: green;
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 3px;
}

.check-box {
    appearance: none; 
    width: 20px;
    height: 20px;
    border: 2px solid #333; 
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background-color: white;
    transition: background 0.2s, border-color 0.2s;
}

.check-box:checked {
    background-color: #4CAF50; 
    border-color: #4CAF50;
}

.check-box:checked::after {
    content: "✔";
    font-size: 16px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}


.check-box:hover {
    border-color: #777;
}