body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #ebc9a1;
}

.container {
    text-align: center;    
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 10px  rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    border: 2px solid #8B7D70;
}

h1 {
    color: #331F19;
}

input[type="text"] {
    padding: 10px;
    width: 90%;
    max-width: 500px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid #8B7D70;
    border-radius: 5px;
    font-size: 1em;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: #60041A;
    box-shadow: inset 0 2px 4px rgba(96, 4, 26, 0.3);
}

.botao {
    width: 160px;
    color: #F4F0EA;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.2s ease;
}

.button-adicionar {
    background-color: #798252;
    margin-right: 5px;
    margin-top: 10px;
}

.button-adicionar:hover {
    background-color: #CCD595;
    color: #504e4d;
}

.botao_lista {
    background-color: #A34743;
    margin-top: 10px;
    margin-left: 5px;
}

p {
    margin-top: 20px;
    color: #331F19;
    font-size: 1.1em;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

ul li {  
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F4F0EA;
    color: #331F19;
    padding: 10px 30px;
    margin: 15px ;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

li:hover{
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.animar-tarefa{
    animation: aparecerTarefa 0.3s ease;
}

.concluida{
    text-decoration: line-through;
    opacity: 0.6;
}

input[type="checkbox"]:checked {
    accent-color: #28a745;
}

.contador{
    min-width: 10px;
    text-align: center;
    color: #000000;
    padding: 2px 8px;
    font-size: 0.8em;
    margin-left: 5px;
}

.acoes{
    margin: 0;
    padding: 0;
}

.button-editar {
    background-image: url(/img/png/002-editar.png);    
    width: 24px;
    height: 24px;   
    padding: 5px 5px;
    border: none;    
    cursor: pointer; 
    margin-right: 15px;
}

.button-remover {
    background-image: url(/img/png/001-lata-de-lixo.png);    
    width: 24px;
    height: 24px;   
    padding: 5px 5px;
    border: none;    
    cursor: pointer;   
}

.paginas{
    display: flex;
    justify-content: space-between;
    align-items: center;    
}

.button-paginas{
    background-color: #ebc9a1;
    color: #000000;  
    align-items: center;
    border-radius: 10px 10px 0px 00px ;
    gap: 5px;  
    padding: 20px;
    margin: 10px;
    margin-bottom: 0;
}

.button-paginas:hover{
    background-color:  #F4F0EA ;    
}

hr{
    border-bottom: 2px solid #ad957a;
    width: 100%;
    margin-top: 0;
}

.botao_lista:hover {
    background-color: #60041A;
    color: #F4F0EA;
}

.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal{
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
}

.modal-botoes{
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.btn-cancelar-edicao{    
    background-color: #929090;
    color: #F4F0EA;    
    margin-right: 5px;
   
}

.btn-salvar-edicao{  
    background-color: #798252;
    color: #F4F0EA;
    margin-left: 5px;
    
}

.btn-cancelar-edicao:hover{
    background-color: #d4d3d3;
}

.btn-salvar-edicao:hover{
    background-color: #CCD595;
}

.oculto {
    display: none;
}

@keyframes aparecerTarefa{
  from{
    opacity: 0;
    transform: translateY(-10px);
  }

  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
    body {        
        background-color: #ebc9a1;       
    } 

    .container{     
        border: none;
        box-shadow: none;
    }

     .paginas{
        margin-bottom: 0;
    }
   
    .button-paginas{    
        display: flex; 
        justify-content: center;
        align-items: center;
        width: 120px;
        font-size: 0.8em; 
        padding: 10px;
        margin-bottom: 0;
        margin: 0;
    }

    .modal{
    max-width: 300px;
}
 }