* {
  margin: 0;
  border: 0;
  padding: 0;
  box-sizing: border-box;
}
.body {
  font-family: "Commissioner";
  background: hsl(0, 26.7%, 94.1%) url("images/image-hero-mobile.jpg") no-repeat;
  background-size: contain;
}
.overlay {
  width: 100%;
  height: 100vh;
  opacity: 0.5;
  display: none;
  background-color: #514e4e;
  overflow: hidden;
  z-index: 2;
  position: fixed;
}
.overlay-active {
  display: block;
}
.header {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: 3em 1.2em;
  background-color: transparent;
  margin-bottom: 8em;
  position: relative;
  width: 100%;
  z-index: 3;
}
.hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hamburger:hover {
  cursor: pointer;
  opacity: 0.8;
}
.burger-open-active {
  display: none;
}
.burger-close {
  display: none;
}
.burger-close-active {
  display: flex;
}
.dropdown {
  width: 90%;
  margin: 2em auto;
  display: none;
  flex-flow: column nowrap;
  justify-content: space-between;
  background-color: white;
  border-radius: 0.5em;
  position: absolute;
  overflow: hidden;
  z-index: 2;
  top: 4.1em;
}
.menu-list {
  list-style-type: none;
  display: block;
  border-bottom: 1px solid rgba(128, 128, 128, 0.274);
}
.menu-link {
  display: inline-block;
  color: black;
  font-weight: 600;
  padding: 1.5em;
  text-transform: capitalize;
  text-decoration: none;
}

.menu-list:hover {
  cursor: pointer;
}
.menu-list:hover .menu-link {
  text-decoration: underline;
}
.menu-list-last {
  border: 0;
}
.dropdown-active {
  display: flex;
}

.section-1 {
  width: 90%;
  margin: auto;
  margin-bottom: 1em;
  padding: 0 2em 2em;
  border-radius: 0.5em;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  background-color: white;
}
.section-1-img-container {
  transform: translateY(-50%);
}
.mastercraft-head {
  font-size: 1.2em;
  text-align: center;
  width: 70%;
  margin-bottom: 1em;
}
.mastercraft-text {
  font-size: 0.8em;
  text-align: center;
  opacity: 0.5;
  margin-bottom: 1em;
}
.section-1-btn-bookmark {
  width: 90%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
.section-1-btn {
  flex-basis: 75%;
  padding: 0.9em 2em;
  border-radius: 4em;
  text-align: center;
  font-size: 0.9em;
  background-color: hsl(176, 50%, 47%);
  color: white;
}
.section-1-btn:hover,
.card-btn:hover,
.pledge-btn:hover,
.complete-btn:hover {
  cursor: pointer;
  background-color: hsl(176, 72%, 28%);
}
.bookmark {
  flex-basis: 18%;
}
.bookmark-img {
  width: 100%;
}
.bookmark-span {
  display: none;
}
.section-2 {
  width: 90%;
  margin: auto;
  margin-bottom: 1em;
  padding: 2em 2em;
  border-radius: 0.5em;
  display: flex;
  flex-flow: column nowrap;
  gap: 0.8em;
  align-items: center;
  background-color: white;
}
.section-2-minihead,
.section-2-head {
  text-align: center;
}
.section-2-head {
  margin-bottom: 2px;
}
.section-2-minihead {
  font-size: 0.7em;
  opacity: 0.4;
}
.section-2-line {
  width: 30%;
  margin: auto;
  height: 1px;
  background-color: gray;
  opacity: 0.2;
  margin-bottom: 0.8em;
}
.section-2-3 {
  margin-bottom: 0.8em;
}
.progress-container {
  width: 80%;
  height: 8px;
  border-radius: 8px;
  background-color: #f4f4f4;
}
.progress {
  width: 80%;
  max-width: 100%;
  height: 100%;
  opacity: 1;
  border-radius: 8px;
  background-color: hsl(176, 50%, 47%);
}
.section-3 {
  width: 90%;
  margin: auto;
  border-radius: 0.5em;
  background-color: white;
  padding: 2em 1.2em;
}
.section-3-head {
  font-size: 1.2em;
  margin-bottom: 2em;
}
.section-3-text,
.section-3-text-2 {
  opacity: 0.5;
  font-size: 0.94em;
  line-height: 1.7em;
  margin-bottom: 1.5em;
}
.card {
  width: 90%;
  margin: auto;
  border-radius: 0.8em;
  padding: 1.2em;
  margin-bottom: 1.4em;
  background-color: white;
  border: 2px solid rgb(233, 229, 229);
}
.card-head {
  font-size: 0.9em;
  margin-bottom: 0.5em;
}
.card-1-head:hover,
.bamboo-head:hover,
.black-head:hover {
  color: hsl(176, 50%, 47%);
}
.mini-head {
  font-size: 0.8em;
  color: hsl(176, 50%, 47%);
  display: block;
  margin-bottom: 1em;
}
.card-text {
  opacity: 0.5;
  line-height: 1.7em;
  font-size: 0.85em;
  margin-bottom: 1em;
}
.card-number {
  margin-bottom: 1em;
}
.value {
  font-size: 1.5em;
  font-weight: 700;
}
.sup {
  opacity: 0.5;
}
.card-btn {
  background-color: hsl(176, 50%, 47%);
  font-size: 0.8em;
  font-weight: 600;
  color: white;
  padding: 0.8em 1.8em;
  border-radius: 5em;
}
.card-btn-3 {
  background-color: gray;
}
.card-3 {
  opacity: 0.5;
}
.selection {
  background-color: white;
  width: 90%;
  margin-left: 5%;
  display: none;
  flex-flow: column nowrap;
  padding: 2em 1.5em;
  position: absolute;
  top: 8em;
  margin-bottom: 10em;
  border-radius: 0.8em;
  justify-self: center;
  z-index: 2;
}
.selection-active {
  display: flex;
}
.selection-head {
  font-size: 0.9em;
}
.selected-card-active {
  border: 2px solid hsl(176, 72%, 28%);
}
.head-close {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9em;
}
.close:hover {
  cursor: pointer;
}
.close-img {
  opacity: 0.4;
}
.close-img:hover {
  opacity: 1;
}
.selection-mini-head {
  font-size: 0.8em;
  line-height: 1.5em;
  opacity: 0.6;
  margin-bottom: 1.2em;
}
.input-head,
.radio-head {
  display: flex;
  gap: 1em;
  margin-bottom: 1.5em;
}
.radio{
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid hsl(176, 50%, 47%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.radio-btn{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: hsl(176, 50%, 47%);
  display: none;
}
.radio-btn-active{
  display: block;
}
.card-1-head,
.bamboo-head,
.black-head,
.special-head {
  opacity: 1;
  font-weight: 700;
  font-size: 0.8em;
}
.card-1-text,
.card-2-text,
.card-3-text,
.card-4-text {
  font-size: 0.72em;
  line-height: 1.5em;
  opacity: 0.5;
}
.bamboo-mini-head,
.black-mini-head,
.special-mini-head {
  color: hsl(176, 50%, 47%);
  font-size: 0.85em;
}
.card-2-text,
.card-3-text,
.card-4-text {
  margin-bottom: 1.5em;
}
.select-value {
  font-size: 0.9em;
  font-weight: 700;
}
.selection-card-4 {
  opacity: 0.5;
}
.selection-card-2,
.selection-card-3,
.selection-card-4 {
  padding: 0;
}
.pledge-line {
  width: 100%;
  background-color: gray;
  height: 1px;
  opacity: 0.5;
}
.select-card {
  width: 100%;
  background-color: transparent;
  padding: 1.2em;
}
.pledge-contain {
  display: none;
  border-top: 1px solid rgba(128, 128, 128, 0.233);
  padding: 1.5em 0;
}
.pledge-contain-active {
  display: block;
}
.enter-pledge {
  font-size: 0.9em;
  opacity: 0.6;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5em;
}
.input-pledge {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
}
.dollar-label {
  flex-basis: 40%;
  overflow: hidden;
  position: relative;
  border: 1px solid hsl(176, 50%, 47%);
  border-radius: 2em;
}
.pledge-input {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 35%;
  font-weight: 600;
}
.dollar-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20%;
  opacity: 0.6;
}
/*to remove Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*to remove Firefox */

input[type="number"] {
  -moz-appearance: textfield;
}
input:focus {
  outline: none;
}
.pledge-btn {
  flex-basis: 50%;
  background-color: hsl(176, 50%, 47%);
  border-radius: 2em;
  text-align: center;
  color: white;
  padding: 1em 0;
}
.completed {
  background-color: white;
  width: 90%;
  margin-left: 5%;
  display: none;
  flex-flow: column nowrap;
  padding: 2em 1.5em;
  position: absolute;
  top: 8em;
  margin-bottom: 10em;
  border-radius: 0.8em;
  align-items: center;
  z-index: 3;
}
.completed-open {
  display: flex;
}
.complete-img-container {
  margin-bottom: 1.2em;
}
.complete-img {
  height: 100%;
  width: 100%;
}
.complete-h2 {
  font-size: 0.8em;
  font-weight: 700;
  margin-bottom: 2em;
}
.complete-text {
  text-align: center;
  font-size: 0.9em;
  opacity: 0.6;
  line-height: 1.6em;
  margin-bottom: 1.5em;
}
.complete-btn {
  width: 30%;
  background-color: hsl(176, 50%, 47%);
  padding: 1em 1.5em;
  text-align: center;
  color: white;
  border-radius: 2em;
}
.actual-body-passive {
  background-color: rgba(212, 209, 209, 0.589);
}
.body-passive {
  background-color: rgba(212, 209, 209, 0.589);
}

@media (min-width: 700px) {
  .body {
    background: hsl(0, 26.7%, 94.1%) url("images/image-hero-desktop.jpg")
      no-repeat;
  }
  .header {
    padding: 1.8em 10.5em;
    margin-bottom: 12em;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
  }
  .burger-open {
    display: none;
  }
  .dropdown {
    width: auto;
    display: flex;
    position: relative;
    flex-basis: auto;
    flex-flow: row nowrap;
    top: 0;
    background-color: transparent;
    margin: 0;
  }
  .menu-list {
    display: inline-flex;
    border: 0;
  }
  .menu-link {
    color: white;
  }
  .bodys,
  .selection {
    width: 52%;
    margin: 0 auto 1em;
    padding: 2em 4em;
  }
  .section-1{
    padding-top: 0;
  }
  .mastercraft-head {
    font-size: 1.1em;
  }
  .section-1-btn-bookmark {
    width: 100%;
    margin-top: 0.5em;
  }
  .section-1-btn {
    flex-basis: 30%;
  }
  .bookmark {
    flex-flow: row nowrap;
    display: flex;
    flex-basis: 30%;
    background-color: #f4f4f4;
    border-radius: 2.2em;
    align-items: center;
    cursor: pointer;
  }
  .bookmark:hover{
    opacity: .8;
  }
  .bookmark-img {
    width: 30%;
    margin-right: 0.9em;
  }
  .bookmark-span {
    display: block;
  }
  .section-2 {
    padding: 3em 4em;
    flex-flow: row wrap;
    align-content: center;
    justify-content: space-between;
  }
  .section-2-line {
    flex-basis: 2px;
    height: 50px;
    margin-bottom: 0;
  }
  .section-2-minihead {
    font-size: 1em;
  }
  .stats-contain {
    flex-basis: 30%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  .progress-container {
    flex-basis: 100%;
    height: 10px;
    margin-top: 5px;
  }
  .section-2-head {
    font-size: 35px;
  }
  .section-2-line {
    margin: 0;
  }
  .card {
    padding: 1.5em;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.9em;
    justify-content: space-evenly;
  }
  .head-mini-head {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  .mini-head {
    font-size: 0.9em;
    font-weight: 500;
  }
  .number-btn {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  .selection {
    margin-left: 25%;
  }
  .selected-card {
    margin-left: 0%;
    padding: 0;
    position: relative;
  }
  .input-head,
  .radio-head {
    margin: 0;
  }
  .card-1-text,
  .card-2-text,
  .card-3-text,
  .card-4-text {
    padding-left: 2.5em;
    padding-right: 1em;
    font-size: 0.82em;
    margin-top: 1em;
  }
  .selection-card-1 {
    padding: 1.2em;
  }
  .selection-card-2-head {
    display: flex;
    flex-flow: row nowrap;
    gap: 2em;
  }
  .selected-card-number {
    display: inline-block;
    position: absolute;
    top: 1em;
    right: 1.2em;
  }
  .pledge-contain-active {
    padding-left: 1.2em;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .input-pledge {
    flex-basis: 40%;
  }
  .enter-pledge {
    margin: 0;
  }
  .completed{
    overflow: hidden;
    width: 30%;
    margin: auto;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
  }
}
