body {
  background-color: #f2f9ed;
  font-family: Poppins;
  padding: 0 16px;
}

h1 {
  font-size: 64px;
  font-weight: 700;
  text-align: center;
}

.container {
  max-width: 660px;
  margin-inline: auto;
  margin-block: 1rem;
  border-radius: 15px;
  padding: 32px 42px;
  background-color: #fff;
}

.container h2 {
  margin-block: 0 2rem;
  font-size: 32px;
  font-weight: 700;
}

.sun-cont {
  display: inline;
}

body>div>h2>div>img:nth-child(2) {
  left: 19px;
  position: relative;
  z-index: 1;
}

.sun-cont .anImg {
  position: absolute;
  animation-name: rotate;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes rotate {
  0% {
    transform: rotate(90deg);
  }

  25% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(270deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.container p {
  font-weight: 400;
  color: #858585;
}

.error {
  display: none;
}

.progress-bar {
  height: 2rem;
  margin-block: 1rem 4rem;
  background-color: #48a3001a;
  border-radius: 15px;
}

.progress-value {
  width: 0%;
  min-height: 100%;
  background-color: #48a300;
  border-radius: 15px;
  font-weight: 500;
  font-size: 10px;
  color: #EEFFE0;
  display: flex;
  align-items: center;
  transition: width 0.75s ease-in-out
}

.progress-value span {
  padding-left: 16px;
}

.goals {
  border: 1px solid #0000001a;
  border-radius: 17px;
  color: #d9d9d9;
  padding: 32px 16px;
  margin-block: 48px;
  display: flex;
  align-items: center;
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #61481C4D;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.completed .custom-checkbox {
  background-color: #48A300;
  border: 2px solid #48A300;
}

.completed .goal-input {
  color: #48A300;
  text-decoration: line-through;
}

.goal-input {
  border: none;
  outline: none;
  padding-left: 22px;
  font-family: inherit;
  font-size: 16px;
  align-self: stretch;
  width: 100%;
  font-weight: 500;
}

.goal-input::placeholder {
  color: #d9d9d9;
}

.addB {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.addB button {
  background-color: #48A300;
  color: #EEFFE0;
  border: none;
  font-family: inherit;
  font-size: 32px;
  font-weight: 500;
  width: 48px;
  height: 48px;
  border-radius: 100%;
}

@media (max-width: 700px) {
  h1 {
    font-size: 32px;
  }

  .container {
    padding: 16px 32px;
  }

  .container h2 {
    font-size: 16px;
  }

  .sun-cont {
    display: inline;
    box-sizing: border-box;
  }

  .sun-cont .anImg {
    width: 7%;
  }

  body>div>h2>div>img:nth-child(2) {
    width: 3%;
    left: 9px;
  }
}