#polarChart {
  /* background-image: url(./image.png);
  background-size: 55% 100%;
  background-repeat: no-repeat; */
  position: absolute;
  z-index: 10;
  display: block;
  width: 512px;
  height: 256px;
  top: 220px;
  left: 21%;
  top: 129px;
  left: -4px;

  /* left: 0; */
  left: 2px;
  /* top: 50%; */
  top: calc(50% - 2px);
  transform: translateY(-50%);
}

#divCanvas {
  padding: 20px 0;
}

body {
  font-family: "Montserrat", sans-serif;
  padding: 0;
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

p {
  padding: 0;
  margin: 0;
}

.main {
  display: flex;
  flex-direction: column;
  grid-row-gap: 60px;
}

.container {
  padding: 0 20px;
}

@media screen and (min-width: 1200px) {
  .main {
    grid-row-gap: 100px;
  }
  .container {
    padding: 0 200px;
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  background-image: url(./hero.png);
  background-color: rgba(23, 129, 174, 1);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero__title {
  width: 350px;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .hero {
    height: 300px;
  }
  .hero__title {
    width: 450px;
    font-size: 50px;
  }
}

@media screen and (min-width: 1200px) {
  .hero {
    height: 400px;
  }
  .hero__title {
    width: 550px;

    font-size: 60px;
  }
}

.garnomy__img {
  width: 100%;
}

.garnomy__img--wrapper {
  height: fit-content;
  max-height: 400px;
  max-width: 300px;
  margin: 0 auto;
}

.garmony__text {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  color: #363636;
}

.garmony__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 50px;
}

.garmony__link {
  position: relative;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 40px;
  color: #1781ae;
  text-decoration: none;
}

.garmony__link:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 10px;
  top: 50%;
  right: -20px;
  background-image: url(./arrow.svg);
  transform: rotate(90deg) translateY(-50%);
  transition: all 0.3s;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.garmony__link.more span:first-child {
  display: none;
}

.garmony__link span:last-child {
  display: none;
}

.garmony__link.more span:last-child {
  display: inline-block;
}

.garmony__link.more:before {
  right: -25px;
  transform: rotate(270deg);
}

.garmony__link:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -5px;
  opacity: 0.3;
  border-top: 1px dashed #1781ae;
}

.garmony__info--wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-row-gap: 30px;
  margin-bottom: 50px;
  transition: all 0.3s;
}

.garmony__info--wrapper:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(360deg, #ffffff 10.41%, rgba(255, 255, 255, 0) 172.59%);
}

.garmony__info--wrapper.more {
  height: fit-content;
  overflow: visible;
}

.garmony__info--wrapper.more:before {
  content: none;
}

@media screen and (min-width: 1200px) {
  .garmony__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 110px;
  }
  .garnomy__img--wrapper {
    max-height: max-content;
    max-width: max-content;
  }
  .garmony__text {
    font-size: 18px;
  }
  .garmony__info--wrapper {
    grid-row-gap: 50px;
    /* margin-bottom: 50px; */
  }
}

.offer__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: #1781ae;
  box-shadow: 0px 24px 114px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}

.offer__title {
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.85;
  text-align: center;
  color: #ffffff;
}

.offer__title span {
  font-weight: 500;
  font-size: 30px;
}

@media screen and (min-width: 1200px) {
  .offer__wrapper {
    padding: 100px;
  }
  .offer__title {
    font-size: 32px;
  }
  .offer__title span {
    font-size: 36px;
  }
}

@media screen and (min-width: 1400px) {
  .offer__wrapper {
    padding: 120px 170px;
  }
}

.about-method__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 60px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  color: #363636;
}

.about-method__title {
  margin-bottom: 30px;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: #363636;
}

.about-method__box {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  color: #363636;
}

@media screen and (min-width: 1200px) {
  .about-method__wrapper {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 180px;
  }
  .about-method__title {
    margin-bottom: 40px;
    font-size: 30px;
  }
  .about-method__box {
    font-size: 16px;
  }
}

.balance {
  padding-bottom: 60px;
}

.balance__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 60px;
}

.invisible {
  visibility: hidden;
}

.balance__title {
  margin-bottom: 40px;
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: #363636;
  text-align: center;
}

.balance__box {
  position: relative;
}

.balance__img {
  width: 100%;
  object-fit: contain;
}

.balance__img--wrapper {
  width: 100%;
}

.balance__list {
  display: flex;
  flex-direction: column;
  grid-row-gap: 20px;
}

.balance__item {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0px 1px 24px rgb(0 0 0 / 15%);
}

.balance__item--inner {
  display: flex;
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  grid-row-gap: 50px;
  opacity: 0.2;
  transition: all 0.3s ease;
}
.balance__item--inner.visible {
  padding-top: 30px;
  opacity: 1;
  transition: all 0.3s ease;
}

.balance__item--inner p {
  padding: 40px 30px;
  border-radius: 10px;
  background-color: #f8f8f8;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: #363636;
}

.balance__item .rangeslider--horizontal {
  position: relative;
  width: 100%;
  height: 4px;
}

.balance__item .rangeslider--horizontal:before {
  content: "0";
  position: absolute;
  top: 100%;
  left: 10px;
  font-weight: 400;
  font-size: 20px;
  line-height: 60px;
  color: #d9d9d9;
}

.balance__item .rangeslider--horizontal:after {
  content: "10";
  position: absolute;
  top: 100%;
  right: 4px;
  font-weight: 400;
  font-size: 20px;
  line-height: 60px;
  color: #d9d9d9;
}

.balance__item .rangeslider__handle {
  background: none;
  box-shadow: none;
  width: 27px;
  height: 27px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1781ae;
}

.balance__link {
  position: relative;
  display: block;
  margin: 30px auto;
  padding: 15px 90px 15px 65px;
  max-width: 250px;
  width: fit-content;
  background: #1781ae;
  border: 1px solid #ececec;
  border-radius: 5px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.balance__link:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  background-image: url(./icon-download.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.balance__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #363636;
}

.balance__text--wrapper {
  display: flex;
  flex-direction: column;
  grid-row-gap: 30px;
}
.balance__result {
  display: none;
  margin-top: 50px;
  justify-content: center;
  text-align: start;
}

.balance__result.view-result {
  display: flex;
}

.balance__result--item {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #363636;
}
.balance__result--item span {
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .balance {
    padding-bottom: 100px;
  }
  .balance__title {
    margin-bottom: 60px;
    font-size: 50px;
  }
  .balance__list {
    grid-row-gap: 30px;
  }
  .balance__item {
    padding: 30px 40px;
  }
  .balance__item--inner.visible {
    padding-top: 50px;
  }
  .balance__link {
    font-size: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .balance {
    padding-bottom: 120px;
  }
  .balance__wrapper {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-column-gap: 120px;
  }
  .balance__title {
    margin-bottom: 120px;
    font-size: 60px;
  }
  .balance__list {
    grid-row-gap: 50px;
  }
}

.balance__item .rangeslider__handle:hover,
.balance__item .rangeslider__handle:focus {
  background: none;
  box-shadow: none !important;
  background-color: #1781ae;
}

.balance__item .sliderAll {
  height: auto;
}

.balance__caption {
  position: relative;
  padding-right: 25px;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #363636;
  cursor: pointer;
  transition: font-weight 0.3s;
}

.balance__caption:before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 20px;
  background-image: url(./arrow.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: all 0.3s;
}

.balance__caption.active {
  font-weight: 600;
}

.balance__caption.active:before {
  transform: rotate(90deg) translateX(-50%);
}

.sliderHolder {
  width: 20%;
  float: left;
}
.wheelCat {
  width: 100px;
  float: left;
  padding-top: 55px;
  text-align: right;
  padding-right: 10px;
  font-family: "Lato", san-serif;
  font-size: 13px;
}
.sliderAll {
  height: 100px;
  width: 100%;
  float: left;
}

@media screen and (min-width: 768px) {
  .sliderAll {
    width: 75%;
  }
}

@media screen and (min-width: 1200px) {
  .sliderAll {
    width: 100%;
  }
}

.rangeslider__fill {
  background-color: #1781ae;
}
.rangeslider__value-bubble {
  display: none;
}

.rangeslider__value-bubble {
  display: block;
  position: absolute;
  top: 100%;
  font-size: 20px;
  line-height: 60px;
  z-index: 2;
}

input[type="range"]:focus + .rangeslider .rangeslider__handle {
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
}
