.favorite-button {
  --background-default: #313440;
  --text-color-default: #FAFBFF;
  --star-color-default: #4371f7;
  --star-face-color-default: white;
  --star-color-active: #F6C206;
  --star-face-color-active: #845901;
  --star-hole: #16181E;
  --star-hole-inner: #20232C;
  --button-y: 0px;
  --star-y: 0px;
  --star-scale: 1;
  --star-rotate: 0deg;
  --star-hole-scale: 0;
  --star-face-scale: 1;
  --text-x: 0px;
  --text-o: 1;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  outline: none;
  border: none;
  background: none;
  min-width: 125px;
  padding: 12px 24px 12px 16px;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  color: var(--text-color-default);
  transform: translateY(var(--button-y)) translateZ(0);
}
.favorite-button:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 9px;
  transition: transform 0.2s;
  transform: scale(var(--background-scale-x, 1), var(--background-scale-y, 1)) translateZ(0);
  background: var(--background-default);
}
.favorite-button:active {
  --background-scale-x: .98;
  --background-scale-y: .96;
}
.favorite-button span {
  display: block;
  opacity: var(--text-o);
  transform: translateX(var(--text-x));
}
.favorite-button .icon {
  width: 36px;
  height: 119px;
  display: flex;
  pointer-events: none;
  position: relative;
  -webkit-clip-path: ellipse(150% 50% at 50% 50%);
          clip-path: ellipse(150% 50% at 50% 50%);
  margin: -100px 2px 0 -8px;
}
.favorite-button .icon:before {
  content: "";
  margin-top: auto;
  display: block;
  width: 36px;
  height: 12px;
  background: var(--star-hole);
  box-shadow: inset 0 3px 0 0 var(--star-hole-inner);
  border-radius: 100px/30px;
  transform: scale(var(--star-hole-scale));
  transform-origin: 50% 100%;
}
.favorite-button .icon .star {
  width: 20px;
  height: 19px;
  position: absolute;
  left: 8px;
  bottom: 0;
  transform: translateY(var(--star-y)) rotate(var(--star-rotate)) scale(var(--star-scale));
  border-radius: var(--star-radius, 0px);
  background: var(--star-color, var(--star-color-default));
  -webkit-clip-path: var(--star-clip, polygon(10px 0, 13px 6px, 20px 7px, 15px 12px, 16px 19px, 10px 15px, 4px 19px, 5px 12px, 0 7px, 7px 6px));
          clip-path: var(--star-clip, polygon(10px 0, 13px 6px, 20px 7px, 15px 12px, 16px 19px, 10px 15px, 4px 19px, 5px 12px, 0 7px, 7px 6px));
  transition: border-radius 0.2s, background 0.2s, -webkit-clip-path 0.2s;
  transition: clip-path 0.2s, border-radius 0.2s, background 0.2s;
  transition: clip-path 0.2s, border-radius 0.2s, background 0.2s, -webkit-clip-path 0.2s;
}
.favorite-button .icon .star:before, .favorite-button .icon .star:after {
  content: "";
  position: absolute;
  background: var(--star-face-color, var(--star-face-color-default));
  transition: background 0.2s, box-shadow 0.2s;
}
.favorite-button .icon .star:before {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  left: 7px;
  top: 8px;
  box-shadow: 4px 0 0 0 var(--star-face-color, var(--star-face-color-default));
  transform: scaleY(var(--star-face-scale));
}
.favorite-button .icon .star:after {
  width: 4px;
  height: 2px;
  border-radius: var(--star-face-radius, 2px 2px 0 0);
  left: 8px;
  top: 11px;
  transition: border-radius 0.2s;
}
.favorite-button.star-round {
  --star-clip: polygon(10px 0, 20px 0, 20px 7px, 20px 12px, 20px 19px, 10px 19px, 0 19px, 0 12px, 0 7px, 0 0);
  --star-radius: 50%;
}
.favorite-button.active {
  --star-color: var(--star-color-active);
  --star-face-color: var(--star-face-color-active);
  --star-face-radius: 0 0 2px 2px;
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: inherit;
}
*:before, *:after {
  box-sizing: inherit;
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  font-family: "Inter", Arial;
  justify-content: center;
  align-items: center;
  background: #F6F8FF;
  align-items: center;
}

.box1{
  height: 100%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 120px;
  background: #f4f7ff;
}
.box2{
  padding-right: 120px;
  height: 100%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1f2335;
}

.box2 .favorite-button{
  --background-default: #f4f7ff;
  --text-color-default: #1f2335;
}
