/* :root { */
/*   --poke-yellow: #ffcc00; */
/*   --poke-yellow-light: #ffe066; */
/*   --poke-blue: #2a5db0; */
/*   --poke-blue-dark: #1b3f8b; */
/*   --poke-outline: #0b2e6b; */
/* } */
:root {
  --poke-yellow: #8fbc4a;        /* Forest green-yellow */
  --poke-yellow-light: #b8e986;  /* Light moss green */
  --poke-blue: #2d5016;          /* Deep forest green */
  --poke-blue-dark: #1a3010;     /* Dark forest */
  --poke-outline: #0d1a08;       /* Almost black-green */
}
@font-face {
  font-family: 'Press Start 2P';
  src: url('fonts/PressStart2P-Regular.ttf');
}

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

body {
  font-family: 'Press Start 2P', monospace;
  background: var(--poke-blue-dark);
  background-image: url('images/poko_01.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--poke-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  background: rgba(27, 48, 16, 0.7); /* poke-blue-dark with 70% opacity */
}
.container {
  text-align: center;
  max-width: 500px;
  width: 100%;
}

h1 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 var(--poke-outline);
}

#timer {
  font-size: 4rem;
  margin: 30px 0;
  color: var(--poke-yellow);
  text-shadow: 
    4px 4px 0 var(--poke-blue),
    -2px -2px 0 var(--poke-outline),
    2px -2px 0 var(--poke-outline),
    -2px 2px 0 var(--poke-outline),
    2px 2px 0 var(--poke-outline);
}

.big-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem;
  padding: 20px 40px;
  background: var(--poke-yellow);
  color: var(--poke-blue-dark);
  border: 4px solid var(--poke-outline);
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--poke-outline);
  transition: all 0.1s;
}

.big-btn:active {
  box-shadow: 2px 2px 0 var(--poke-outline);
  transform: translate(4px, 4px);
}

.tasks {
  margin-top: 50px;
  text-align: left;
}

.tasks h2 {
  font-size: 1rem;
  margin-bottom: 15px;
}

#taskList {
  margin-bottom: 10px;
}

.task-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 0.8rem;
}

.task-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.task-item.completed label {
  text-decoration: line-through;
  opacity: 0.5;
}

#taskInput {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  padding: 10px;
  width: calc(100% - 50px);
  background: var(--poke-blue);
  color: var(--poke-yellow);
  border: 2px solid var(--poke-outline);
}

#addTask {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2rem;
  padding: 10px;
  width: 40px;
  margin-left: 5px;
  background: var(--poke-yellow);
  color: var(--poke-blue-dark);
  border: 2px solid var(--poke-outline);
  cursor: pointer;
}
