/* poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* overall stlye for anything that i didint style*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/*background color and text color*/
body {
  background-color: #cad2c5;
  color: #84a98c;
}

/* main container*/
.container {
  text-align: center;
  width: 100%;
  padding: 10px 0;
}

/* timer part*/
.timer {
  display: inline-block;
  padding: 10px;
  width: 600px;
  box-sizing: border-box;
}

/* main area/ in the div thingy*/
main {
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 2rem;
}

/* stuff for the h1 tag like the numbers and writing*/
h1 {
  font-size: 2rem;
  margin: 20px auto;
}

/*button stuff from div class not acc buttons but from the div class*/
.button-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/*stuff for the pomodoro part*/

.pomodoro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  margin: 2.5rem 0;
  text-align: center;
  border-radius: 50%;
  background: #354f52;
  box-shadow: 20px 20px 42px black ;
}

/*stuff for the cool line inside of the circle*/
.pomodoro::before {
  content: "";
  position: absolute;
  border: 10px solid;
  border-radius: 50%;
  width: 22rem;
  height: 22rem;
}

/*formating for the numbers/ countdown*/
.time {
  font-size: 5rem !important;
  margin: 20px auto;
}

/*stuff for the button container*/
.button-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/*stuff to make the button look cool*/
.button {
  background-color: #52796f;
  color: #cad2c5;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  transition: all .2s ease-in;
}

.button.active, button:hover {
 background-color: #84a98c;
}

/*targets hidden stuff i think google said i had to add it since the code wasint working or something like that note i did not use ai just google*/

.hidden {
  display: block;
}

/*stuff to make the timer display look rlly cool*/
.timer-display {
  font-size: 5rem;
  margin-top: 20px;
  font-weight: bold;
}


/*stuff for the buttons*/
.buttons {
  margin-top: 20px;
}

/*for the start and stop buttons for some reason you have to do #start instead of .start*/

#start, #stop {
  background-color: #52796f;
  color: #cad2c5;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  transition: all .2s ease-in;
}

/*once again idk why you have to use # but it just doesent work without it*/
#stop:hover {
  background-color: tomato;
}

#start:hover {
  background-color: #219a52;
}

#timer-message {
  color: white;
  background-color: tomato;
  display: none;
  padding: 5rem;
  font-size: 1rem;
  text-align: center;
  border-radius: 1rem;
}

/*responsive part or whatever you want to call it*/
/*i am being honest i dont rlly know what it means to much but ik the basics of what it does*/
@media screen and (min-width: 320px) and (max-width: 600px) {
    .container {
      transform: scale(0.9)
    }

    .timer {
      width: 500px;
    }
}