.container-calc {
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  background-color: var(--lgray);
}

.title-calc {
  color: var(--black);
  font-family: var(--montserrat);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.calc-block {
  width: 1160px;
  height: 617px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--white);
  padding: 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 102px;
}

.counter-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
}
.result-block {
  width: 450px;
  height: 497px;
  border-radius: 20px;
  background: var(--gray);
  border: 1px solid var(--gray);
  padding: 30px 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.counter-item > h3 {
  font-family: var(--nunito);
  color: var(--black);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  opacity: 0.8;
}

#myinput1,
#myinput2,
#myinput3 {
  background: linear-gradient(
    to right,
    var(--green) 0%,
    var(--green) 42%,
    #dbdbe0 42%,
    #dbdbe0 100%
  );
  border: solid 1px #dbdbe0;
  border-radius: 8px;
  height: 8px;
  width: 488px;
  outline: none;
  transition: background 450ms ease-in;
  appearance: none;
  -webkit-appearance: none;
}
#myinput1::-moz-range-thumb,
#myinput2::-moz-range-thumb,
#myinput3::-moz-range-thumb {
  -moz-appearance: none;
  appearance: none;
  background-color: var(--green);
  border: 0px solid var(--green);
  border-radius: 50%;
  height: 24px;
  width: 24px;
  margin-top: -8px;
  overflow: hidden;
}

#myinput1::-webkit-slider-thumb,
#myinput2::-webkit-slider-thumb,
#myinput3::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--white);
  border: 3px solid var(--green);
  border-radius: 50%;
  height: 24px;
  width: 24px;
}

#myinput3 {
  background: linear-gradient(
    to right,
    var(--green) 0%,
    var(--green) 60%,
    #dbdbe0 60%,
    #dbdbe0 100%
  );
}

.value {
  font-family: var(--montserrat);
  color: var(--black);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 54px; /* 142.857% */
}
.minmax-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 488px;
  font-family: var(--nunito);
  color: var(--black);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  opacity: 0.8;
}

.result-item {
  width: 399px;
  height: 437px;
  border-radius: 10px;
  background: var(--white);
  padding: 84px 22px 83px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  gap: 15px;
}

.result-item > h3 {
  font-family: var(--montserrat);
  color: var(--black);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-item > h4 {
  color: var(--green);
  text-align: center;
  font-family: var(--montserrat);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 15px;
}

@media (max-width: 1400px) and (min-width: 1024px) {
  .container-calc {
    padding-top: 100px;

    gap: 40px;
  }

  .title-calc {
    font-size: 38px;
  }

  .calc-block {
    width: 960px;
    height: 557px;

    padding: 30px;

    gap: 62px;
  }

  .counter-block {
    gap: 30px;
  }
  .result-block {
    width: 450px;
    height: 457px;
    border-radius: 20px;
    background: var(--gray);
    border: 1px solid var(--gray);
    padding: 30px 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .counter-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .counter-item > h3 {
    font-size: 18px;
  }

  #myinput1,
  #myinput2,
  #myinput3 {
    width: 448px;
  }

  .value {
    font-size: 28px;

    line-height: 50px; /* 142.857% */
  }
  .minmax-container {
    gap: 15px;
    width: 448px;

    font-size: 16px;
  }

  .result-item {
    width: 349px;
    height: 387px;

    padding: 74px 22px 73px 18px;

    gap: 15px;
  }

  .result-item > h3 {
    font-size: 13px;
  }

  .result-item > h4 {
    font-size: 28px;

    margin-bottom: 10px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .container-calc {
    padding-top: 80px;

    gap: 30px;
  }

  .title-calc {
    font-size: 34px;
  }

  .calc-block {
    width: 760px;
    height: 557px;

    padding: 30px;

    gap: 32px;
  }

  .counter-block {
    gap: 30px;
  }
  .result-block {
    width: 350px;
    height: 437px;

    padding: 20px 15px;

    gap: 30px;
  }

  .counter-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .counter-item > h3 {
    font-size: 16px;
  }

  #myinput1,
  #myinput2,
  #myinput3 {
    width: 340px;
  }

  .value {
    font-size: 26px;

    line-height: 44px; /* 142.857% */
  }
  .minmax-container {
    gap: 15px;
    width: 340px;

    font-size: 16px;
  }

  .result-item {
    width: 324px;
    height: 387px;

    padding: 54px 22px 53px 18px;

    gap: 15px;
  }

  .result-item > h3 {
    font-size: 12px;
  }

  .result-item > h4 {
    font-size: 26px;

    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  .container-calc {
    padding-top: 40px;

    gap: 30px;
  }

  .title-calc {
    font-size: 24px;
  }

  .calc-block {
    width: 345px;
    height: 100%;
    flex-direction: column;
    padding: 30px 20px;
    align-items: center;
    justify-content: center;
    gap: 50px;
    box-sizing: border-box;
    border: none;
  }

  .counter-block {
    gap: 30px;
    align-items: center;
    width: 315px;
  }
  .result-block {
    width: 315px;
    height: 320px;

    padding: 25px 15px;

    gap: 30px;
  }

  .counter-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .counter-item > h3 {
    font-size: 14px;
  }

  #myinput1,
  #myinput2,
  #myinput3 {
    width: 305px;
  }

  .value {
    font-size: 22px;

    line-height: 54px; /* 142.857% */
  }
  .minmax-container {
    gap: 15px;
    width: 305px;

    font-size: 16px;
  }

  .result-item {
    width: 295px;
    height: 300px;

    padding: 20px 12px 20px 18px;
    align-items: center;
    gap: 10px;
  }

  .result-item > h3 {
    font-size: 14px;
    max-width: 204px;
    white-space: normal;
    text-align: center;
  }

  .result-item > h4 {
    font-size: 22px;

    margin-bottom: 10px;
  }
}
