/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */


/**********/
/* LAYOUT */
/**********/

:root {
  --pico-background-color: var(--pico-color-dark) !important;
  --pico-color: var(--pico-color-light) !important;
  --pico-font-family-sans-serif: "Inclusive Sans", system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji) !important;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100dvh;
  text-align: center;
}

main {
  flex: 1;
}

footer {
  padding: 2rem 0;

  img {
    height: 60px;
    margin: 0 1rem;
    width: auto;
  }
}

form > div {
  text-align: left;
}

/*********/
/* TIMER */
/*********/

.timer {
  --pico-font-size: 4rem;
  font-size: var(--pico-font-size);
  padding: 1rem;
}

.timer[data-timer-status-value="stopped"] {
  color: var(--pico-color-red-550);
}

.timer[data-timer-status-value="paused"] {
  color: var(--pico-color-gray);
}

.timer[data-timer-status-value="running"] {
  color: var(--pico-color-green-400);
}

.timer[data-timer-status-value="running"].timer--warning {
  color: var(--pico-color-pumpkin-350);
}

@media (min-width: 576px) {
  .timer {
    --pico-font-size: 6rem;
  }
}
@media (min-width: 768px) {
  .timer {
    --pico-font-size: 7rem;
  }
}
@media (min-width: 1024px) {
  .timer {
    --pico-font-size: 8rem;
  }
}
@media (min-width: 1280px) {
  .timer {
    --pico-font-size: 9rem;
  }
}
@media (min-width: 1536px) {
  .timer {
    --pico-font-size: 10rem;
  }
}

/****************/
/* PUBLIC TIMER */
/****************/

.timers-show main {
  align-items: center;
  display: flex;
  justify-content: center;
}
