/** @format */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
button {
  all: unset;
}
html {
  font-size: 10px;
}
body {
  font-family: "inter", sans-serif;
  height: 100vh;
  background-image: radial-gradient(ellipse, #385300, #212900);
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-size: 1rem; */
}
.counter {
  background-color: #bef227;
  width: 47.6rem;
  height: 61.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.counter__title {
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  width: 20rem;
  text-align: center;
  line-height: 0.9;
  font-weight: 500;
  font-size: 3.2rem;
  margin-top: 6rem;
}

.counter__value {
  color: #1d2507;
  font-size: 20rem;
  font-weight: 600;
  margin-top: 1rem;
}

.counter__reset-button {
  cursor: pointer;
}

.counter__reset-icon {
  opacity: 0.3;
  font-size: 3.5rem;
  transition: all 0.4s;
}
.counter__reset-icon:hover {
  opacity: 0.5;
}
.counter__buttons {
  background-color: #1d2507;
  height: 11.6rem;
  width: 100%;
  margin-top: auto;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
}
.counter__button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s;
}
.counter__button:hover {
  background-color: #212b06;
}

.counter__icon {
  color: #bdfe00;
  opacity: 0.9;
  font-size: 4rem;
}

.counter__button--increase {
  border-left: 1px solid rgba(189, 254, 0, 0.15);
}

.counter__button--decrease {
}

.counter__icon--minus {
}

.counter__icon--plus {
}
@media (max-width: 680px) or (max-height: 730px) {
  .counter {
    /* width: 100%; */
    height: 100%;
    border-radius: 0;
  }

  .counter__title {
    margin-top: 15rem;
  }
  .counter__buttons {
    border-radius: 0;
  }
}
