html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
  color: #3f4242;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*::-moz-selection {
  background-color: #05cd7d;
  color: #ffffff;
}
*::selection {
  background-color: #05cd7d;
  color: #ffffff;
}

.calculator {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.header {
  display: flex;
  flex-flow: row nowrap;
  overflow: hidden;
  position: absolute;
  height: 101px;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.header > .header__text {
  flex: 1 1 auto;
}
.header > .header__btns {
  flex: 0 1 auto;
}

.header__text {
  overflow: hidden;
  width: 430px;
}

.header__btns {
  margin-left: 12px;
  overflow: hidden;
  width: 303px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  border-radius: 6px;
  background-color: #f3f5f5;
}

.header__btns > * {
  flex: 1 1 auto;
}


.header__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: #3f4242;
}

.header__subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 24px;
  color: #84898a;
}

.header__btn {
  text-align: center;
  text-transform: uppercase;
  width: 50%;
  height: 48px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 42px;
  border: 3px solid #f3f5f5;
  border-radius: 6px;
  padding: 0 12px;
  color: #989d9e;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.header__btn-active {
  cursor: default;

  background-color: #ffffff;
  color: #2d3030;

}

.header__btn-year-discount {
  color: #05cd7d;
  font-size: 12px;
  font-weight: 600;
}

.content {
  border-top: 1px solid #e8eded;
  overflow: hidden;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  top: 101px;
  bottom: 96px;
  background-color: #ffffff;

  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.content > * {
  flex: 0 0 auto;
}

.content-wrap {
  overflow: hidden;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;

}

.content__screens {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: #2D3030;
}

.content__screens-icon {
  cursor: pointer;
  display: inline-block;
  vertical-align: sub;
}

.content__screens-input-box {
  display: inline-block;
  position: relative;
  margin-left: 3px;
  min-width: 12px;
  max-width: 70px;
}

.content__screens-input-box,
.content__screens-input-fake,
.content__screens-input {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.content__screens-input-fake {
  display: inline-block;

  white-space: nowrap;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  color: transparent;

}

.content__screens-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: inherit;
  border: none;
  outline: none;
  padding: unset;
  cursor: text;
  background-color: #ffffff;
}

input.content__screens-input::-webkit-outer-spin-button,
input.content__screens-input::-webkit-inner-spin-button {
  display: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

input.content__screens-input {
  -moz-appearance: textfield;
}

.content__slider {
  margin-top: 11px;
  height: 6px;
  background-color: #e8eded;
  position: relative;
  cursor: pointer;
  border-radius: 10px;
}

.content__slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #05cd7d;
  cursor: pointer;
  border-radius: 10px;
}

.content__slider .ui-slider-handle,
.content__slider-ctrl {
  position: absolute;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border: 6px solid #ffffff;
  background-color: #05cd7d;
  border-radius: 50%;
  cursor: move;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.18);
  outline: none;
  transform: translate(-12px,-9px);
}

.content__slider-markers {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.content__slider-marker-min,
.content__slider-marker-max {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #b2b7b8;
}

.content__info {
  margin: 24px -5px 0;
  overflow: hidden;
  display: flex;
  flex-flow: row nowrap;
}

.content__info > * {
  flex: 0 1 auto;
  overflow: hidden;
  padding: 0 5px;
  width: 210px;
  box-sizing: border-box;
}

.content__info-storage-value,
.content__info-mo-value,
.content__info-screens-value,
.content__info-year-discount-value {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: #3f4242;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content__info-storage-label,
.content__info-mo-label,
.content__info-screens-label,
.content__info-year-discount-label {
  font-size: 14px;
  line-height: 24px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #84898a;
}

.content__info-mo-values {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content__info-mo-discount {
  font-size: 12px;
  font-weight: 600;
  text-decoration: line-through;
  vertical-align: top;
}

.content__info-year-discount-value_through {
  text-decoration: line-through;
  color: #ff5c27;
}

.footer {
  background-color: #1f2121;
  padding: 0 24px;
  box-sizing: border-box;
  position: absolute;
  height: 96px;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  position: absolute;

  display: flex;
  flex-flow: row nowrap;
  align-items: center;

}

.footer > * {
  flex: 0 1 auto;
}

.footer > .footer__info {
  flex: 1 1 auto;
}

.footer__info {
  overflow: hidden;
}

.footer__btn {
  display: block;
  width: 180px;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #05cd7d;
  color: #ffffff;

  font-weight: 500;
  font-size: 14px;
  line-height: 48px;

  border-radius: 6px;

  text-align: center;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  box-sizing: border-box;

  margin-left: 12px;
  cursor: pointer;
  
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

.footer__price-value {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #ffffff;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer__price-text {
  font-size: 14px;
  line-height: 18px;
  color: #bec3c4;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer__price-discount {
  color: #05cd7d;
}

@media screen and (min-height: 614px) {

  .header {
    display: block;
    height: 162px;
    padding-top: 24px;
  }

  .header__text {
    width: unset;
  }

  .content {
    top: 162px;
    bottom: 150px;
  }

  .header__btns {
    margin-top: 18px;
    width: unset;
    margin-left: unset;
  }

  .content__info {
    flex-wrap: wrap;
    margin-top: 0;
  }

  .content__info > * {
    flex: 0 0 auto;
    width: 50%;
    margin-top: 24px;
  }

  .footer {
    display: block;
    height: 150px;
    padding-top: 18px;
  }

  .footer__btn {
    margin-top: 12px;
    width: unset;
    margin-left: unset;
  }



}
