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

body {
  width: 100vw;
  height: 100vh;
  background-color: #7AE2FC;
  padding-top: 100px;

}
.container{width:90%; margin:0 auto;}

.counter-box {
  width: 300px; /* Increased from 150px */
  height: 400px; /* Increased from 200px */
  position: relative;
  background-image: url(counter-body.png);
  background-size:100% 100%; /* Changed from contain to cover for better scaling */
  background-repeat: no-repeat;
  margin:30px auto;
  padding-top: 60px;
}

#tap {
  width: 140px; /* Increased from 70px */
  height: 140px; /* Increased from 70px */
  border-radius: 50%;
  position: absolute;
  bottom: 32px; /* Adjusted position */
  left: 80px; /* Adjusted position */
  border: none;
  outline: none;
  background-color: #143214;
  font-size: 2.8rem; /* Increased font size */
  font-weight: 800;
  color: rgb(0, 130, 35);
  transition: all 0.3s ease;
  transform-origin: center;
  border: 6px solid rgb(0, 130, 35); /* Adjusted border size */
}

#tap:is(:active) {
  width: 130px; /* Adjusted active state size */
  height: 130px; /* Adjusted active state size */
  font-size: 2.6rem; /* Adjusted font size */
  box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
}

#counter-number {
  width: 240px; /* Increased from 120px */
  height: 80px; /* Increased from 40px */
 margin: 0 auto;
  background-color: #143214;
  border: 6px solid #049b04; /* Adjusted border size */
  border-radius: 10px; /* Adjusted border radius */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Electrolize', sans-serif;
  font-size: 62px; /* Increased font size */
  color: rgb(225 255 0);

}

#reset,.btn-icon {
  width: 60px; /* Increased from 30px */
  height: 60px; /* Increased from 30px */
  background-color: #143214;
  border-radius: 50%;
  padding: 10px; /* Adjusted padding */
  position: absolute;
  border: 4px solid; /* Adjusted border size */
  color: rgb(0, 130, 35);
  top: 160px; /* Adjusted position */
  right: 44px; /* Adjusted position */
  transition: all 0.3s ease;
  cursor: pointer;
}
 .btn-icon{right:unset; left: 44px;}
#reset:active #reset-icon {
  transform: rotate(180deg);
}
#reset-icon {
  width: 40px; /* Increased from 20px */
  transition: all 0.6s ease;
}
#reset:active #reset-icon{
  transform: rotate(180deg);
}
.btn-icon:active img{width:115%}
#reset img,.btn-icon img{width: 100%;transition: all 0.3s ease;}

#text-box {
  /* background-color: red; */
  width: 80%;
  height: 100px;
  margin-bottom: 150px;
  margin: auto;
}
#text-box img {
  width: 90%;
}
    h1{font:bold 30px/48px "ui-sans-serif"; text-align: center; margin: 20px auto; color: #475069;}
    h2{font:bold 20px/42px "ui-sans-serif"; text-align: center; margin: 20px auto; color: #475069;}
    p{font:16px/28px "ui-sans-serif";margin-bottom: 10px; text-align: left; color: #475069;}
