.effect-active a:hover {
  color: #0f45eb;
}

.effect-active a:hover::after {
  width: 100%;
  left: 0;
  background: #0f45eb;
}

.effect-active {
  position: relative;
  transition: all 0.4s ease;
  z-index: 1;
}

.effect-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
bottom: 0px;
right: 0px;
  background: #c29671;
  z-index: -1;
  transition: transform 0.4s ease;
  transform: scaleX(0);
  transform-origin: right;
  margin: 1px;
}

/* Only apply hover effect when the element has the .effect-active class */
.effect-active:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Only change the color when the element has the .effect-active class */
.effect-active .mainbutton .like button:hover,
.effect-active button:hover {
  color: white;
}

.mainbutton {
  width: 260px;
}

.mainbutton .contact-agent button {
  float: left;
}

.mainbutton .like button {
  float: right;
  background: #fff;
  color: #000;
  border: 1px solid #bbb;
}
