
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    width: 80%;
    height: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.left, .right {
    padding: 20px;
}

.left {
    width: 50%;
    background-color: #fff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.right {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.right .top, .right .bottom {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    height: calc(100% - 40px);
    padding: 10px;
    border: none;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

#todo-input {
    width: 70%;
    padding: 10px;
    margin-right: 10px;
}

button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.done {
    text-decoration: line-through;
    color: #aaa;
}

.todo-buttons {
    display: flex;
    gap: 10px;
}

.todo-buttons button {
    padding: 5px 10px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

.todo-buttons .delete-btn {
    background-color: #dc3545;
}

.todo-buttons button:hover {
    opacity: 0.8;
}

.calculator {
    display: flex;
    flex-direction: column;
}

#calc-display {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    text-align: right;
    padding: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border: none;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px; /* 줄어든 버튼에 맞게 간격 조정 */
}

.calc-buttons button {
    padding: 14px; /* 기존 크기에서 30% 줄임 */
    font-size: 14px; /* 기존 크기에서 30% 줄임 */
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

.calc-buttons button:hover {
    background-color: #0056b3;
}
