* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    width: 40%;
    min-width: 450px;
    position: absolute;
    transform: translate(-50%, -50px);
    top: 20%;
    left: 50%;
    background: skyblue;
    min-height: 100px;
    border-radius: 10px;
}

h2 {
    text-align: center;
    margin-top: 10px;
}

#newTask {
    position: relative;
    padding: 30px 20px;
}
#newTask input {
    width: 75%;
    height: 45px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    border: 1px solid #d1d3d4;
    padding: 12px;
    color: #111111;
    font-weight: 500;
    position: relative;
    border-radius: 5px;
}
#newTask input:focus {
    outline: none;
    border-color: #515455;
}
#newTask button {
    position: relative;
    float: right;
    width: 20%;
    height: 45px;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 16px;
    background-color: white;
    border: none;
    color: black;
    outline: none;
}
#newTask button:active {
    transform: scale(0.98);
}

#tasks {
    padding: 30px 20px;
    margin-top: 10px;
    border-radius: 10px;
    width: 100%;
    position: relative;
}

.task {
    background-color: white;
    margin-bottom: 8px;
    padding: 5px 10px;
    height: 50px;
    margin-bottom: 8px;
    padding: 5px 10px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #939697;
    cursor: pointer;
}

.task span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
}
.task button {
    position: relative;
    float: right;
    width: 10%;
    height: 30px;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 16px;
    background-color: white;
    border: 1px solid #939697;
    color: black;
    outline: none;
}

.task button:active {
    transform: scale(0.98);
}