@charset "UTF-8";
/* Geral */
*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    box-sizing: border-box;
}

body{
    background-image: url("../img/background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
}
button{
    background-color: white;
    color: #333;
    border: 2px solid rgba(10, 10, 10, 0.918);
    padding: .3rem .6rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
}

button:hover{
    background-color: rgb(50, 50, 190);
    color: white;
}

button:hover > i {
    color: white;
}

button i {
    color: black;
    font-weight: bolder;
    pointer-events: none;
}

input,select{
    padding: 0.25rem 0.5rem;
}

.hide{
    display: none;
}
/* todo header */

.conteiner{
    max-width: 450px;
    margin: 3rem auto ;
    background-color: #fdfdfd;
    padding: 1.5rem;
    border-radius: 15px;
}

.conteiner header{
    text-align: center;
    padding: 0 1rem 1rem;
    border-bottom: 1px solid #ccc;
}

/* to do Form */
#form, #edit-form{
    padding: 1rem;
    border-bottom: 1px solid #ccc;
}
#form p , #edit-form p {
    margin-bottom: .5rem;
    font-weight: bolder;
}
.controle{
    display: flex;
}
.controle input{
    margin-right: .3rem;
}
#cancel-edit-btn{
    margin-top: 1rem;
}
/* to do list */

.todo{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ddd;
    transition: .3s;
}
.todo h3{
    flex: 1;
    font-size: 0.9rem;
}
.todo button{
    margin-left: 0.4rem;
}

.done {
    background-color: #395169;
}

.done h3{
    color: white;
    text-decoration: line-through;
    font-style: italic;
}

