.App {
  text-align: center;
  background: var(--bg-color);
}

.theme--dark {
    --code-bg: #272822;
    --bg-color: var(--dark-bg);
    --text-shadow: var(--dark-bg-dark-shadow);
    --menu-text-color: var(--g-text-color-dark);
    --menu-text-hover-color: var(--primary-light);
    --text-secondary: var(--g-text-color-disabled-dark);
    --box-shadow-inset-small: inset -1px -1px 1px var(--dark-bg-light-shadow), inset 1px 1px 1px var(--dark-bg-dark-shadow);
}

.App.has-walked {
    background-color: teal;
}

.App.alarm-playing {
  background-color: coral;
}
.App.alarm-playing p {
  color: white;
}

.App.alarm-set {
    background: #000;
}

.App.alarm-set button {
    opacity: 0.1;
}
.App.alarm-set button:hover,
.App.alarm-set button:focus {
    opacity: 0.6;
}

.App.alarm-set p {
    color: coral;
    margin: 0;
}

.clock {
    font-size: 27vw;
    font-weight: bold;
    display: block;
    opacity: 0.2;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    letter-spacing: -4px;
}
.clock:hover {
    opacity: 0.4;
}
.App.alarm-playing .clock {
    opacity: 1;
    animation: blink 0.6s linear infinite;
}

@keyframes blink {
    0% {
       opacity: 1;
    }
    100% {
        opacity: 0.4;
    }
}

small {
    display: inline-block;
    font-family: 'Fira Code';
    margin-bottom: 2rem;
    opacity: 0.3;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

.App-header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

code {
    display: none;
}

button {
  font-size: calc(10px + 2vmin);
}

.input-wrapper {
    margin-top: 2rem;
}

.time-picker,
.stop-distance {
    align-items: center;
}

h1 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 3rem;
}

.time-picker div,
.stop-distance div {
    width: 100%;
}

.time-picker input,
.stop-distance input {
    font-size: 2rem;
    width: 10rem;
    margin: 1rem 0;
    text-align: center;
    padding: 1.5rem;
}

.stop-distance input:focus,
.time-picker input:focus {
    outline: 1px solid currentColor;
}

.pa-4 {
    padding: 1.5rem
}

.ma-4 {
    margin: 1.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}
