* {
  box-sizing: border-box;
}
body {
  /* background-color: rgba(72, 163, 0, 0.07); */
  background-color: #edf6f9;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

main {
  padding: 0 16px 32px;
}
.title {
  font-size: 64px;
  /* color: rgb(72, 163, 0); */
  color: #0077b6;
  text-align: center;
}
.title span {
  /* color: rgb(97, 72, 28); */
  color: #03045e;
}

.app-container {
  background-color: #fbfbfb;
  max-width: 660px;
  margin-inline: auto;
  border-radius: 15px;
  padding: 32px 48px;
  box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.1);
}
.sun-icon {
  vertical-align: middle;
  margin-left: 16px;
}

.progress-label {
  font-size: 14px;
  color: rgb(133, 133, 133);
  margin-bottom: 20px;
}

.progress-bar {
  height: 30px;
  /* background-color: rgba(73, 163, 0, 0.1); */
  background-color: rgba(0, 119, 182, 0.1);
  border-radius: 15px;
  margin-bottom: 42px;
}

.progress-value {
  height: 100%;
  /* background-color: rgb(72, 163, 0); */
  background-color: #0077b6;
  border-radius: 15px;
  width: 0;
  font-weight: 500;
  font-size: 10px;
  color: white;
  display: flex;
  align-items: center;
  /* padding-left: 20px; */
  overflow: hidden;
  transition: width 0.25s ease-out;
}
.progress-value span {
  padding-left: 20px;
  min-width: max-content;
}

.error-label {
  font-size: 12px;
  color: red;
  margin-top: 4px;
  display: none;
}

.show-error .error-label {
  display: block;
}

.goal-container {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 17px;
  height: 82px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background-color: white;
  margin-bottom: 42px;
}
.custom-checkbox {
  height: 24px;
  width: 24px;
  border: 2px solid rgba(97, 72, 28, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.check-icon {
  display: none;
}
.goal-input {
  padding-left: 22px;
  font-family: inherit;
  outline: none;
  border: none;
  align-self: stretch;
  width: 100%;
  font-weight: 500;
}
.goal-input::placeholder {
  color: #d9d9d9;
}
.quote {
  font-weight: 500;
  text-align: center;
}
.made-with {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  color: #858585;
  margin-top: 64px;
}
.completed .custom-checkbox {
  /* background-color: #48a300;
  border-color: #48a300; */
  background-color: #90e0ef;
  border-color: #90e0ef;
}
.completed .check-icon {
  display: block;
}
.completed .goal-input {
  /* color: #48a300; */
  color: #0077b6;
  text-decoration-line: line-through;
}

@media (max-width: 768px) {
  .title {
    font-size: 32px;
  }
  .app-container {
    padding: 16px 32px;
  }
  .goal-container {
    height: 64px;
    margin-bottom: 24px;
    border-radius: 12px;
  }
  .custom-checkbox {
    height: 20px;
    width: 20px;
  }
  .made-with {
    margin-top: 32px;
  }
}
