@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto:wght@400;700&display=swap');

:root{
    --dark-background: #121212;
    --light-background: #F5F5F5;
    --secundary: #00BFA6; /* verde água, bom para contrastar */
    --text-primary: #333333;
    --text-secundary: #666666; /* cinza médio para descrições */
    --details: #FF5C5C; /* avisos ou botões importantes */
    --primary: #6C63FF; /* roxo suave, chamativo mas não agressivo */
}

*{
    margin: 0px;
    padding: 0px;
}

body{
    background-color: var(--dark-background);
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    background-color: var(--light-background);
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 4px rgba(0,0,0,0.06);
}

.titulo{
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    text-align: center;
    font-size: 2.5em;
    padding: 20px;
}

.paragrafo{
    color: var(--text-secundary);
    text-align: center;
}

.destaque{
    color: var(--primary);
    font-weight: bolder;
}


button {
  padding: 12px 20px; 
  border: 1px var(--text-secundary) solid; 
  border-radius: 8px; 
  font-size: 16px; 
  cursor: pointer; 
  transition: 0.3s;
}

.input {
  color: var(--text-primary);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 10px 25px;
  background: transparent;
  max-width: 190px;
}

.input:active {
  box-shadow: 2px 2px 15px var(--primary) inset;
}

.input:focus {
  outline: none;
  border-color: var(--secundary);
  box-shadow: 0 0 0 2px rgba(0,191,166,0.15);
}

.p-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-tarefa {
  display: inline-block;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: var(--secundary);
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-tarefa:hover {
  background-color: #fff;
  color: var(--secundary);
  border: 2px solid var(--secundary);
  box-shadow: 5px 5px 0px var(--secundary);
}

.btn-tarefa:active {
  background-color: #d6fff5;
  box-shadow: none;
  transform: translateY(4px);
}


a {
  text-decoration: none;
  color: var(--details);
  font-weight: bolder;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

a:hover {
  color: #ff0000;
  transform: translateY(-1px); /* sobe levemente */

}

.tarefas{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.item-tarefa {
    background-color: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tarefas .item-tarefa {
  animation: fadeIn 0.4s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px);}
  to { opacity: 1; transform: translateY(0);}
}

.apagar {
  display: inline-block;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #ff5252;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.apagar:hover {
  background-color: #fff;
  color: #ff5252;
  border: 2px solid #ff5252;
  box-shadow: 3px 3px 0px #ff5252;
}

.apagar:active {
  background-color: #ffd6d6;
  box-shadow: none;
  transform: translateY(2px);
}




/* Responsividade para telas menores */
@media (max-width: 600px) {
  .container {
    padding: 10px;
    max-width: 98vw;
  }
  .titulo {
    font-size: 1.5em;
    padding: 10px;
  }
  .btn-tarefa {
    font-size: 18px;
    padding: 8px 12px;
  }
  .input {
    max-width: 100px;
    padding: 8px 10px;
  }
}


.footer{
  color: var(--text-secundary);
  text-align: center;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn-github {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-weight: bold;
  justify-content: center;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--primary);
  color: #fff;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
}

.btn-github:hover {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 5px 5px 0px var(--primary);
}

.btn-github:active {
  background-color: #e6e4ff;
  box-shadow: none;
  transform: translateY(4px);
}

.footer-p {
  padding-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-secundary);
}