html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

:root {
  --pomodoro: #222;
  --shortBreak: #222;
  --longBreak: #222;
}

body {
  background-color: var(--pomodoro);
  transition: background-color 1s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  user-select: none;
}

progress {
  border-radius: 2px;
  width: 100%;
  height: 12px;
  position: fixed;
  top: 0;
}

progress::-webkit-progress-bar {
  background-color: rgba(0, 0, 0, 0.1);
  ;
}

progress::-webkit-progress-value {
  background-color: #fff;
}

.title_div {
  margin-left: 0;
  margin-right: 0;
}

.button-group {
  padding-top: 20px;
}

.title {
  text-align: center;
  color: white;
}

.timer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  text-align: center;
}

.clock {
  margin-top: 50px;
  margin-bottom: 30px;
  font-size: 15rem;
  line-height: 1;
  color: white;
  display: flex;
  align-items: center;
  font-family: arial, sans-serif;
}

.mode-button {
  font-size: 16px;
  height: 28px;
  cursor: pointer;
  box-shadow: none;
  font-weight: 300;
  color: white;
  border: 1px solid transparent;
  margin: 0px;
  border-radius: 4px;
  padding: 2px 12px;
  background: none;
}

.mode-button.active {
  border-color: white;
}

.main-button {
  cursor: pointer;
  box-shadow: rgb(235, 235, 235) 0px 6px 0px;
  font-size: 22px;
  height: 55px;
  text-transform: uppercase;
  color: hsl(175, 26%, 41%);
  font-weight: bold;
  width: 200px;
  background-color: white;
  border-width: initial;
  border-style: none;
  margin: 20px 0px 0px;
  padding: 0px 12px;
  border-radius: 4px;
  transition: color 0.5s ease-in-out 0s;
}

button:focus,
button:active {
  outline: none;
}

.main-button.active {
  transform: translateY(6px);
  box-shadow: none;
  outline: none;
}

.hidden {
  display: none;
}

.wrapper div {
  height: 60px;
  width: 60px;
  border: 2px solid linear-gradient(315deg, #a53215 0%, #a71d31 74%);
  background-color: #3f0d12;
  background-image: linear-gradient(315deg, #a53215 0%, #a71d31 74%);
  border-radius: 50px;
  position: absolute;
  top: 10%;
  left: 10%;
  animation: 2s linear infinite;
}

div .dot {
  height: 25px;
  width: 25px;
  border-radius: 50px;
  background: rgb(5, 133, 5);
  position: absolute;
  top: 20%;
  right: 20%;
}

.wrapper div:nth-child(1) {
  top: 20%;
  left: 20%;
  animation: animate 80s linear infinite;
}

.wrapper div:nth-child(2) {
  bottom: 50%;
  left: 80%;
  animation: animate 100s linear infinite;
}

.wrapper div:nth-child(3) {
  top: 40%;
  left: 40%;
  animation: animate 30s linear infinite;
}

.wrapper div:nth-child(4) {
  top: 66%;
  left: 30%;
  animation: animate 70s linear infinite;
}

.wrapper div:nth-child(5) {
  top: 90%;
  left: 10%;
  animation: animate 90s linear infinite;
}

.wrapper div:nth-child(6) {
  top: 30%;
  left: 60%;
  animation: animate 50s linear infinite;
}

.wrapper div:nth-child(7) {
  top: 70%;
  left: 20%;
  animation: animate 80s linear infinite;
}

.wrapper div:nth-child(8) {
  top: 75%;
  left: 60%;
  animation: animate 100s linear infinite;
}

.wrapper div:nth-child(9) {
  top: 20%;
  left: 50%;
  animation: animate 60s linear infinite;
}

.wrapper div:nth-child(10) {
  top: 45%;
  left: 20%;
  animation: animate 50s linear infinite;
}

.wrapper div:nth-child(11) {
  top: 10%;
  left: 90%;
  animation: animate 90s linear infinite;
}

.wrapper div:nth-child(12) {
  top: 20%;
  left: 70%;
  animation: animate 70s linear infinite;
}

.wrapper div:nth-child(13) {
  top: 20%;
  left: 20%;
  animation: animate 80s linear infinite;
}

.wrapper div:nth-child(14) {
  top: 60%;
  left: 5%;
  animation: animate 60s linear infinite;
}

.wrapper div:nth-child(15) {
  top: 90%;
  left: 80%;
  animation: animate 90s linear infinite;
}

.wrapper div:nth-child(16) {
  top: 70%;
  left: 80%;
  animation: animate 80s linear infinite;
}

.wrapper div:nth-child(17) {
  top: 75%;
  left: 60%;
  animation: animate 100s linear infinite;
}

.wrapper div:nth-child(18) {
  top: 50%;
  left: 50%;
  animation: animate 60s linear infinite;
}

.wrapper div:nth-child(19) {
  top: 45%;
  left: 40%;
  animation: animate 50s linear infinite;
}

.wrapper div:nth-child(20) {
  top: 10%;
  left: 60%;
  animation: animate 90s linear infinite;
}

.wrapper div:nth-child(21) {
  top: 20%;
  left: 70%;
  animation: animate 70s linear infinite;
}

@keyframes animate {
  0% {
    transform: scale(0) translateY(0) rotate(70deg);
  }

  100% {
    transform: scale(1.3) translateY(-100px) rotate(360deg);
  }
}

@media screen and (max-width: 550px) {
  .clock {
    font-size: 8rem;
  }
}