.licence-calc {
  display: flex;
  gap: 36px;
}
.licence-calc--left {
  width: calc(40% - 36px);
}
.licence-calc--right {
  width: 60%;
}
.licence-calc__img {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.licence-calc__img .calc-image__img, .licence-calc__img .calc-image__bg {
  height: 100%;
  width: 100%;
  position: absolute;
}
.licence-calc__img .calc-image__content {
  position: relative;
  z-index: 3;
  padding: 0 64px 80px 65px;
}
.licence-calc__img .calc-image__content-headline {
  font-size: 30px;
}
.licence-calc__img .calc-image__content-text {
  margin-bottom: 20px;
}
.licence-calc__img .calc-image__content-button .button-primary {
  width: 100%;
  text-align: center;
}
.licence-calc__img .calc-image__bg {
  z-index: 2;
  background: linear-gradient(45deg, rgba(188, 86, 231, 0.4) 0%, rgba(79, 88, 219, 0.3) 45%, rgba(59, 71, 153, 0) 100%);
}
.licence-calc__img .calc-image__img {
  z-index: 1;
}
.licence-calc__img .calc-image__img img {
  height: 100%;
  object-fit: cover;
}
.licence-calc__text {
  margin-bottom: 70px;
  margin-top: 28px;
}
.licence-calc__boxes {
  display: flex;
  gap: 32px;
  margin-bottom: 34px;
  width: 750px;
}
.licence-calc__boxes .calc-box {
  width: calc(100% / 3);
  flex-shrink: 1;
}
.licence-calc__boxes .calc-box:hover .calc-box__bg {
  opacity: 1;
}
.licence-calc__boxes .calc-box:hover .calc-box__icon {
  background-color: #ffffff;
}
.licence-calc__boxes .calc-box__holder {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  box-shadow: 0px 9px 23px 2px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}
.licence-calc__boxes .calc-box__bg {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  background: linear-gradient(90deg, #bc56e7 0%, #3b4799 100%);
  border-radius: 24px;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.licence-calc__boxes .calc-box__icon {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  background-color: #222222;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  transition: all 0.3s ease-in-out;
}
.licence-calc__boxes .calc-box__input {
  position: absolute;
  z-index: 3;
  bottom: 0;
  display: flex;
  align-items: center;
  transform: translatey(50%);
}
.licence-calc__boxes .calc-box__input input {
  width: 50px;
  height: 40px;
  background-color: #ffffff;
  border-top: 2px solid #e6e6e6ff;
  border-bottom: 2px solid #e6e6e6ff;
  border-left: unset;
  border-right: unset;
  border-radius: 0;
  text-align: center;
  color: #000000;
  -moz-appearance: textfield;
}
.licence-calc__boxes .calc-box__input input::-webkit-outer-spin-button, .licence-calc__boxes .calc-box__input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.licence-calc__boxes .calc-box__input-plus, .licence-calc__boxes .calc-box__input-minus {
  cursor: pointer;
  aspect-ratio: 1;
  height: 40px;
  background-color: #ffffff;
  border: 2px solid #e6e6e6ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  line-height: 1;
}
.licence-calc__boxes .calc-box__title {
  margin-top: 40px;
  padding-right: 20px;
  padding-left: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
}
.licence-calc__info {
  font-size: 14px;
}
.licence-calc__button {
  width: 750px;
  margin-bottom: 40px;
}
.licence-calc__button .button-primary {
  cursor: pointer;
}
.licence-calc__title {
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: 500;
  scroll-margin: 100px;
}
.licence-calc__result {
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  border-top: 2px solid #C6C6C6;
  align-items: center;
  font-weight: 600;
}
.licence-calc__result:last-child {
  border-bottom: 2px solid #C6C6C6;
}
.licence-calc__result > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.licence-calc__result > div > input {
  border: unset;
  background-color: #ffffff;
  border-radius: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 120px;
  text-align: center;
  color: #000000;
}
.licence-calc__result > div > input::-webkit-inner-spin-button {
  position: absolute;
  width: 20px;
  right: 0;
  height: 100%;
}
@media (max-width: 1399px) {
  .licence-calc__boxes {
    flex-wrap: wrap;
    width: 100%;
  }
  .licence-calc__boxes .calc-box {
    width: 100%;
    display: flex;
  }
  .licence-calc__boxes .calc-box__holder {
    aspect-ratio: unset;
    height: 170px;
    width: 160px;
    flex-shrink: 0;
  }
  .licence-calc__boxes .calc-box__input {
    left: calc(100% + 20px);
    transform: unset;
    bottom: 20px;
  }
  .licence-calc__boxes .calc-box__title {
    text-align: left;
  }
  .licence-calc__button {
    width: unset;
    text-align: left;
  }
}
@media (max-width: 1199px) {
  .licence-calc {
    flex-wrap: wrap;
  }
  .licence-calc--left {
    width: 100%;
    order: 2;
  }
  .licence-calc--right {
    width: 100%;
    order: 1;
  }
  .licence-calc__img {
    padding-top: 80px;
  }
}
@media (max-width: 575px) {
  .licence-calc {
    flex-wrap: wrap;
  }
  .licence-calc__boxes .calc-box:hover .calc-box__bg:before {
    opacity: 1;
  }
  .licence-calc__boxes .calc-box__title {
    margin-top: 10px;
    padding-bottom: 60px;
  }
  .licence-calc__boxes .calc-box__input {
    bottom: 10px;
  }
  .licence-calc__boxes .calc-box__holder {
    aspect-ratio: unset;
    border-radius: 0;
    width: 100px;
    flex-shrink: 0;
    padding-bottom: 50px;
    background-color: transparent;
    box-shadow: unset;
  }
  .licence-calc__boxes .calc-box__bg {
    height: 100px;
    width: 100px;
    box-shadow: 0px 9px 23px 2px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    opacity: 1;
  }
  .licence-calc__boxes .calc-box__bg:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #bc56e7 0%, #3b4799 100%);
    opacity: 0;
    z-index: 4;
    transition: all 0.3s ease-in-out;
    border-radius: 20px;
  }
  .licence-calc__boxes .calc-box__icon {
    width: 100px;
    height: 100px;
    mask-size: 50px;
  }
}
