/* Base styles for all screens */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.wrapper {
  max-width: 90%;
  margin: 20px auto;
  background-color: #3e6a83;  /*changed from white */
  border-radius: 8px;
  padding: 10px;
}

.sessions {
  max-width: 100%;
  margin: 20px auto;
  background-color: #3e6a83;
  border-radius: 12px;
  padding: 20px 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  display: none;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.child {
  margin: 15px auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 5px blue;
}

button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: black;
  background-color: white;
  border-radius: 15px;
  border: 2px solid white;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
  background-color: green;
  color: white;
}

h2 {
  text-align: center;
  color: #2a2a2a;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

p {
  text-align: center;
  font-size: 1rem;
}

.progresscontainer {
  width: 240px;
  height: 15px;
  margin: 10px auto;
  background-color: white;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.progressbar {
  width: 240px; /* Start full, then JS can reduce this */
  height: 100%;
  background-color: green;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
}

.quote {
  font-style: italic;
  color: white;
}

#timer15, #timer10 {
  color: white;
}

/* Extra styling for wider screens (optional) */
@media (min-width: 600px) {
  .wrapper {
    max-width: 250px;
  }

  .sessions {
    font-size: 1.8rem;
    padding: 30px 20px;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.25rem;
  }

  button {
    margin: 30px auto;
    padding: 12px 24px;
  }
}