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

body {
  font-family: 'Poppins', sans-serif;
  background: url('./assets/dopamine-background.png') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #222;
}

/* HEADLINE */
h1 {
  font-size: 4rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 1rem;
}


/* INSTRUCTIONS */

 h2, h3 {
display: flex;
justify-content: center;
text-align: justify;
width: 100%;
  max-width: 600px;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-weight: 300;
      font-size: 1rem;
}

/* BUTTONS */
.btn {
     font-weight: 600;
  transition: all 300ms ease;
  padding: 0.5rem;
  width: 8rem;
  border-radius: 0.50rem;
  cursor: pointer;
  border: none;
}

.btn-color-1  {
  background-color: #e8e8e4;
  border: 0.1rem solid #d8e2dc;
  margin-bottom: 0.75rem;
}

.btn-color-1:hover {
  background-color: #f4a261; 
}

#clear-timer {
  margin-top: 0.5rem;
}


/* COUNTDOWN CONTAINER */
#countdown-container {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}

.countdown-item {
  text-align: center;
}

.number {
  font-size: 3rem;
  font-weight: bold;
  color: #111;
}

.label {
  font-size: 1rem;
  color: #666;
}

/* REFLECTION SECTION */
#reflection-section {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

#reflection {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  resize: vertical;
}

/* REFLECTION LIST */
#reflection-list {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.reflection-entry {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
}

.reflection-entry p {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #222;
}

.reflection-entry small {
  font-size: 0.85rem;
  color: #555;
}
