* {
    box-sizing: border-box;
}

html {
    touch-action: manipulation;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    background: #0d1117;
    color: #ffffff;
    word-break: break-all;
}

h2 {
    font-size: 32px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 5px;
    background: #f4f4f4;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    background: #ffffff00;
    border-color: #d8dce0;
    border: 1px solid;
    border-radius: 5px;
    min-height: 50px;
    max-width: 508px;
    min-width: 300px;
    align-items: center;
    font-size: 21px;
}

.container {
    max-width: 640px;
}

#taskInput {
    color: #212529;
    opacity: 0.4;
    height: 50px;
    width: 300px;
    border-radius: 5px;
    font-size: 21px;
}

.btn {
    color: #d8dce0;
    background-color: #3C3C3C;
    line-height: 10px;
    height: 50px;
    border-radius: 5px;
    text-align: center;
    width: 200px;
    font-size: 21px;
    cursor: pointer;
}

.btn-x {
    border-radius: 50px;
    color: #d8dce0;
    border-color: rgba(255, 255, 255, 0);
    background: rgba(255, 255, 255, 0);
    font-size: 21px;
}

@media (max-width: 960px) {
    .container {        
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}