/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("./assets/fonts/lato-v25-latin-regular.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("./assets/fonts/lato-v25-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("./assets/fonts/lato-v25-latin-700.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("./assets/fonts/lato-v25-latin-700.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

html {
  background: #141717;
  color: #fff;
  font-family: "Lato", sans-serif;
}

p {
  margin: 0;
}

/* prevent root + body from adding more space */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
}

.badge {
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  display: inline-block;
}
.badge--default {
  background: #555;
  color: #fff;
  box-shadow: 0 0 8px rgba(85, 85, 85, 0.4);
}
.badge--work {
  background: #e63946;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}
.badge--break {
  background: #06d6a0;
  color: #141717;
  box-shadow: 0 0 10px rgba(6, 214, 160, 0.4);
}

.timer {
  font-size: 5rem;
  margin: 2rem 0;
}

.app-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.button {
  --size: 4rem; /* default button size */
  background: #1e1f1f;
  border: none;
  border-radius: 100%;
  width: var(--size);
  height: var(--size);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  color: #ffffff;
  font-size: 2rem;
}
.button--small {
  --size: 3rem;
  font-size: 1.25rem;
}
.button:hover:not(:disabled) {
  background: #2a2c2c;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}
.button:active:not(:disabled) {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.button:disabled {
  background: #2a2c2c;
  color: #7a7a7a;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* only applied to the play button */
.fix-off-center {
  margin-left: 3px;
}
