/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: #f1f3f7;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SEÇÃO DE ABERTURA */
.inicio {
  width: 100%;
  min-height: 100vh;
  background-color: #eeeeee;
  padding: 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.inicio-texto h1 {
  font-size: 128px;
  font-weight: 700;
}

.etiqueta-destaque {
  display: inline-block;
  border: 2px solid #000;
  border-radius: 50px;
  font-weight: 700;
  font-size: 36px;
  padding: 10px 30px;
  line-height: 48px;
  text-align: center;
  max-width: 100%;
}

.logo-dnc {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  height: 99px;
  width: 244px;
  
}

/* BOARD PRINCIPAL */
.board-container {
  background-color: #ffffff;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  width: 95%;
  max-width: 650px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.board-container h2 {
  font-size: 40px;
  margin-bottom: 24px;
}

.form-tarefa {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.form-tarefa input {
  flex: 1;
  min-width: 130px;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-tarefa button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 0 1rem;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

/* LISTA DE TAREFAS */
.lista-tarefas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.tarefa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  flex-wrap: wrap;
  gap: 1rem;
}

.tarefa .info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.tarefa .detalhes {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.etiqueta {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
}

button.concluir {
  background-color: #2563eb;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
}

.tarefa.concluida {
  background-color: #f9fafb;
  opacity: 0.6;
}

.tarefa.concluida strong {
  text-decoration: line-through;
}

.check-icon {
  font-size: 1.5rem;
  color: #10b981;
}

footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* RESPONSIVIDADE */

@media (max-width: 768px) {
  .inicio {
    flex-direction: column;
    align-items: flex-start;
  }

  .inicio-texto h1 {
    font-size: 64px; /* Mantém grande sem ser gigante em telas pequenas */
  }

  .etiqueta-destaque {
    font-size: 28px;
    padding: 8px 16px;
  }

  .logo-dnc {
    position: static;
    margin-top: 2rem;
  }

  .form-tarefa {
    flex-direction: column;
  }

  .form-tarefa button {
    width: 100%;
  }

  .tarefa {
    flex-direction: column;
    align-items: flex-start;
  }

  .tarefa .detalhes {
    flex-direction: column;
    align-items: flex-start;
  }

  button.concluir {
    align-self: flex-end;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .inicio {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .inicio-texto h1 {
    font-size: 64px;
    line-height: 1.1;
  }

  .etiqueta-destaque {
    font-size: 24px;
    padding: 10px 20px;
    width: auto;
  }

  .logo-dnc {
    position: static;
    margin: 1rem auto 0;
    width: 180px;
  }

  .form-tarefa {
    flex-direction: column;
    width: 100%;
  }

  .form-tarefa input,
  .form-tarefa button {
    width: 100%;
  }

  .tarefa {
    flex-direction: column;
    align-items: flex-start;
  }

  .tarefa .detalhes {
    flex-direction: column;
    align-items: flex-start;
  }

  button.concluir {
    width: 100%;
    align-self: flex-end;
  }

  .board-container h2 {
    font-size: 28px;
  }
}


