/* Genereal config */
:root {
  --focus-bg: #fbebe9;
  --rest-bg: #c4f5b2;
  --focus: #ef4343;
  --rest: #4bbf67;
  --border-c: #e7e0da;
  --hover-bg: #8b7c732d;
}

* {
  padding: 0;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  height: 100vh;
  background-color: #fca5a6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

body.rest {
  background-color: #83efa3;
  transition: 0.5s;
}

#title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
  width: 80vw;
}

/* Timer card styling */

#clock {
  width: 408px;
  height: 376px;
  border-radius: 25px;
  display: flex;
  background-color: #fbebe9;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

#badge {
  border-radius: 25px;
  width: max-content;
  padding: 5px 10px 5px 10px;
}

#badge.focus {
  background-color: var(--focus);
  transition: 0.25s;
}

#badge.rest {
  background-color: var(--rest);
  transition: 0.25s;
}

#progressBar {
  height: 15px;
  width: 300px;
  border: 1px solid black;
  border-radius: 10px;
}

#progressFilling {
  height: 15px;
  width: 0;
  border-radius: 100px;
  background-color: #ef4343;
  opacity: 60%;
}

#timerControlButtons {
  display: flex;
}

#timerControlButtons button {
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
}

#startTimer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 2px 3px 2px 1px rgb(177, 174, 174);
  color: white;
}

#startTimer.focus {
  background-color: var(--focus);
  transition: 0.25s;
}

#startTimer.rest {
  background-color: var(--rest);
  transition: 0.25s;
}

#startTimer:hover {
  opacity: 0.7;
  transition: 0.25s;
}

#resetTimer {
  align-items: center;
  justify-content: center;
  background-color: var(--focus-bg);
  opacity: 0.6;
}

#resetTimer:hover {
  opacity: 1;
  background-color: var(--hover-bg);
  transition: 0.25s;
}

#alternate {
  background-color: #fdfcfc;
  border: 1px solid var(--border-c);
  border-radius: 10px;
  width: 200px;
  height: 40px;
}
#alternate:hover {
  background-color: var(--hover-bg);
  transition: 0.25s;
}

#timer {
  font-family: "JetBrains Mono", monospace;
  font-size: 6rem;
}

/* Configuration card styling */

#form {
  margin-left: 40px;
  display: flex;
  border: 1px var(--border-c) solid;
  background-color: #fdfcfc;
  padding: 32px;
  border-radius: 25px;
  height: fit-content;
  width: fit-content;
  flex-direction: column;
  align-items: start;
}

.space-2 {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.timeInput {
  margin-top: 8px;
  padding: 8px 12px 8px 12px;
  width: 310px;
  height: 30px;
  border-radius: 10px;
  border: 1px var(--border-c) solid;
}

.timeInput:focus {
  outline: 2px solid red;
  outline-offset: 2px;
}

.subtext {
  color: #8c7b73;
  font-size: 12px;
  margin-top: 8px;
}

.icon {
  display: fixed;
}

.hidden {
  display: none;
}

#config {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 28px;
  display: block;
}

#tip {
  font-size: 14px;
  background-color: #f3f0ed;
  padding: 15px;
  border-radius: 15px;
}

#tipTitle {
  font-weight: 600;
}
#tipContent {
  margin-top: 5px;
  color: #8b7c73;
  width: 300px;
  font-weight: 400;
}
