* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    height: 100%;
    background: blue;
}
.container {
    width: 40%;
    min-width: 450px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    background: white;
    min-height: 150px;
    border-radius: 10px;
}
#newtask {
    position: relative;
    padding: 30px 20px;
}
#newtask input {
    width: 75%;
    height: 45%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    border: 2px solid black;
    position: relative;
    color: #111111;
    font-weight: 500;
    border-radius: 5px;
    padding: 12px;
}
#newtask input:focus {
    outline: none;
    border-color: whitesmoke;
}
#newtask button {
    width: 20%;
    float: right;
    height: 45px;
    border-radius: 5px;
    position: relative;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    background-color: rgb(218, 152, 53);
    border: none;
    font-weight: 500;
    color: white;
    outline: none;
    cursor: pointer;
}
#tasks {
    background-color: rgb(247, 159, 159);
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
    position: relative;
    padding: 30px 20px;
    

}
.task {
    background-color: aqua;
    height: 50px;
    margin-bottom: 8px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    justify-content: space-between;

}
.task span {
    font-family: monospace;
    font-size: 15px;
    font-weight: 400;

}
.task button {
    background: red;
    color: rgb(244, 223, 223);
    height: 100%;
    width: 40px;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
}