html, body, h2, h4{
    margin: 0;
    padding: 0;
}
html, body {
  height: 100%;
  overflow: hidden;
}

body{
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(120, 160, 255, 0.18), transparent 60%),
    radial-gradient(900px 700px at 80% 20%, rgba(255, 180, 220, 0.14), transparent 60%),
    radial-gradient(900px 700px at 50% 90%, rgba(140, 220, 200, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f8fb 0%, #eef1f7 100%);
  color: #111;
}

#timer-display{
    font-size: 7rem;
    line-height: 1;
}

#phase-display{
    font-size: 1rem;
    line-height: 1.2;
}

#timer-container {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    color: #333;
    user-select: none;
    pointer-events: none;
}

menu {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
}

menu button, menu input {
  font: inherit;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 10px 12px;
  background: rgba(255,255,255,0.75);
}

menu button {
  cursor: pointer;
}



menu{
    opacity: 1;
    transition: opacity 200ms ease;
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translate(-50%, -50%);
    padding: 16px;
    z-index: 1000;
}

menu.hidden {
  opacity: 0;
  pointer-events: none; 
}

.menu-row {
    display: flex;
    flex-direction: column;
}

.hidden {
    visibility: hidden;
}

#overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}


.hamburger{
  width: 40px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hamburger span{
  display: block;
  width: 75%;
  height: 6px;
  background: #333;
  border-radius: 999px;
}

#ham{
  user-select: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
}

