:root {
  --black: #222;
  --white: rgb(233, 233, 233);
  --alert: red;
  --success: green;
}

html {
  text-align: center;
  width: 100%;
  height: 100%;
}

body {
  --text-color: var(--black);
  --bg-color: var(--white);

  padding: 25px;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 25px;
}

.dark-mode {
  --text-color: var(--white);
  --bg-color: var(--black);
}

body {
  line-height: 1.1;
}

h1 {
  color: var(--text-color);
}

.countdown {
  margin: 0 30px;
  padding-top: 30px;
}

.label {
  font-size: 96px;
  font-weight: bold;
}

.time {
  font-size: 286px;
  font-weight: bold;
}

#controls {
  margin-top: 20px;
}

.card {
  background-color: transparent !important;
  border: 1px solid var(--text-color);
}

input {
  background-color: transparent;
  color: var(--text-color);
}

button {
  margin: 0 5px;
}

footer {
  /* position: fixed; */
  bottom: 0;
  font-size: 0.6em;
}

@media (max-width: 575.98px) {
  html {
    font-size: 0.9em !important;
  }
  .label {
    font-size: 32px;
  }
  .time {
    font-size: 100px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 1.1em !important;
  }
  .label {
    font-size: 48px;
  }
  .time {
    font-size: 142px;
  }
  .toggle {
    font-size: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 1.8em !important;
  }
  .label {
    font-size: 64px;
  }
  .time {
    font-size: 142px;
  }
  .toggle > i {
    font-size: 2rem;
    border-radius: 10px;
  }
  .toggle > i {
    padding: 10px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (min-width: 1200px) {
}

/* Style the toggle button */
.toggle {
  position: fixed; /* Fix the position of the button */
  /* bottom: 10px; Set the bottom position to 10 pixels */
  right: 10px; /* Set the right position to 10 pixels */
  padding: 10px; /* Add some space around the button */
  border: none; /* Remove the border */
  border-radius: 5px; /* Add some rounded corners */
  cursor: pointer; /* Change the cursor to a pointer */
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* Change the button color on hover */
.toggle:hover {
  background-color: gray;
}
