:root {
  --color-beige: rgb(241, 232, 218);
  --color-olive: rgb(97, 108, 87);
  --color-white: #fdfdfd;
  --color-gray: gray;
  --color-dark-gray: #555;
  --color-hover: rgb(120, 134, 107);
  --color-black: #222;
  --color-charcoal: rgb(62, 58, 55);
  --color-cta: rgb(215, 117, 58);
}

* {
  box-sizing: border-box;
}

main {
  margin: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-olive);
  font-family:
    "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
  font-size: clamp(1rem, 0.8977rem + 0.4545vw, 1.25rem);
  color: var(--color-charcoal);
}

#app {
  width: min(600px, 90vw);
  text-align: center;
  margin: 0 auto;
}

.card {
  background: white;
  padding: 1.25rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

main#app > p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
}

button {
  width: 100%;
  padding: 1rem;
  margin-top: 0.8rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s ease-in;
}

button:hover {
  background: aliceblue;
}

.primary {
  background: var(--color-charcoal);
  color: white;
  transition: all 0.25s ease-in;
}

.primary:hover {
  background: var(--color-dark-gray);
  color: white;
}

.progress {
  margin-bottom: 2rem;
  color: var(--color-dark-gray);
}

.breathing {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.breathing-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #ecad8f;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: breathe 10s ease-in-out infinite;
  will-change: transform;
}

#breath-label {
  font-size: 0.95rem;
  color: #666;
}

@keyframes breathe {
  0% {
    transform: scale(0.75);
  }

  50% {
    transform: scale(1.4);
  }

  100% {
    transform: scale(0.75);
  }
}
