
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    outline: none;
}

body{
    background: url("img/work.jpg");
}

.container{
    background-color: #d1d1d1;
    width: 500px;
    border-radius: 10px;
    padding: 20px;
    margin: 100px auto 0;
}

.input-task{
    border: none;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    padding-left: 10px;
}

.button-task{
    border: none;
    border-radius: 5px;
    height: 40px;
    padding: 0 15px;
    background-color: #003329;
    color: #ffffff;
    font-size:16px ;
    font-weight: 700;
    float: right;
    cursor: pointer;
}

.button-task:hover{
    opacity: 0.8;
}

.list-tasks{
    width: 100%;
    list-style: none;
    margin-top: 30px;
}

.task{
    background-color: #f2f2f3;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.2) ;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    cursor: pointer;
}

img{
    height: 25px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.task:hover img{
    opacity: 1;
}

.done{
    background-color: #8fac55;
    text-decoration: line-through;
}

@media (max-width:768px) {
    .container {
      width: 90%;
    }
    .input-task{
        width: 65%;
    }
    .button-task{
        width: auto;
    }
    .task img{
        opacity: 1;
    }
  }
