/*
BASELINE v0.1 — DO NOT MODIFY WITHOUT EXPLICIT INSTRUCTION
*/

@font-face {
  font-family: "Digital-7";
  src: url("digital-7.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Digital-7 Mono";
  src: url("digital-7mono.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: black;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

#app, #display {
  width: 100%;
  height: 100%;
}

#mainLayout {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vmin;
}

#clockArea {
  position: relative;
}

#sideArea {
  display: none;
}

body.show-side #sideArea {
  display: block;
}

#roundClock {
  width: 90vmin;
  height: 90vmin;
}

#digitalInside {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  font-weight: 300;
}

#digitalHM {
  font-family: "Digital-7", monospace;
  font-size: 18vmin;
}

#digitalS {
  font-family: "Digital-7 Mono", monospace;
  font-size: 14vmin;
}

#timer {
  font-family: "Digital-7 Mono", monospace;
  font-size: 14vmin;
}

.hidden {
  display: none;
}

#controls {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #111;
  color: #ffffff;
  align-items: center;
  z-index: 10;
}

#controls.autohide {
  display: none;
}

#controls label,
#controls button {
  color: #ffffff;
}

#controls input {
  color: #000000;
  background: #ffffff;
  border: none;
  padding: 0.2rem 0.3rem;
}

#controls button {
  background: #222;
  border: 1px solid #444;
}

#controls button:hover {
  background: #333;
}

button, input {
  font-size: 1rem;
}
