.csmf--btn i {
  transition: all 0.5s;
}
.csmf--btn a,
.csmf--btn button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  transition: all 0.5s;
  overflow: hidden;
}
.csmf--btn.icon-position-after i,
.csmf--btn.icon-position-after svg {
  order: 15;
}
@keyframes mask_animation {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
}
@keyframes mask_animation_2 {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}
.csmf--btn.icon-position-after .csmf--btn-mask::after {
  align-items: flex-start;
  justify-content: flex-start;
}
.csmf--btn-default {
  padding: 17px 35px;
  border: 1px solid #1c1d20;
  overflow: hidden;
  z-index: 0;
}
.csmf--btn-default:hover {
  color: #1c1d20;
}
.csmf--btn-circle {
  width: 140px;
  height: 140px;
  color: #1c1d20;
  border-radius: 100%;
  flex-direction: column;
  background-color: #e8bf96;
}
@media only screen and (max-width: 1199px) {
  .csmf--btn-circle {
    width: 130px;
    height: 130px;
  }
}
.csmf--btn-circle:hover {
  color: #fff;
}
.csmf--btn-oval {
  color: #1c1d20;
  border: 1px solid #1c1d20;
  padding: 32px 52px;
  border-radius: 50% 50% 50% 50%;
}
@media only screen and (max-width: 991px) {
  .csmf--btn-oval {
    padding: 30px;
  }
}
.csmf--btn-oval:hover {
  color: #e8bf96;
}
.csmf--btn-ellipse {
  color: #1c1d20;
  padding: 45px 45px;
  position: relative;
  background-color: #1c1d20;
  border-radius: 100%;
  border-top-left-radius: 200%;
  border-bottom-right-radius: 200%;
  z-index: 1;
}
.csmf--btn-ellipse:hover {
  color: #ffbc7d;
  background-color: #e8bf96;
}
.csmf--btn-ellipse:before {
  position: absolute;
  content: "";
  width: calc(100% - 16px);
  height: calc(100% - 2px);
  background-color: #fff;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  border-top-left-radius: 200%;
  border-bottom-right-radius: 200%;
}
.csmf--btn-square {
  flex-direction: column;
  color: #1c1d20;
  text-align: center;
  border: 1px solid currentColor;
  height: 215px;
  width: 215px;
  padding: 20px;
  z-index: 0;
  transition: all 1.1s;
}
@media only screen and (max-width: 1199px) {
  .csmf--btn-square {
    width: 200px;
    height: 200px;
  }
}
@media only screen and (max-width: 991px) {
  .csmf--btn-square {
    width: 170px;
    height: 170px;
    font-size: 18px;
  }
}
.csmf--btn-square:hover {
  color: #e8bf96;
}
.csmf--btn-underline {
  color: #1c1d20;
  padding-bottom: 5px;
  position: relative;
}
.csmf--btn-underline::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: #1c1d20;
  transition: all 0.5s;
}
.csmf--btn-underline:hover {
  color: #e8bf96;
  fill: #e8bf96;
}
.csmf--btn-underline:hover::after {
  width: 0%;
}
.csmf--btn-mask {
  padding: 15px 30px;
  position: relative;
  overflow: hidden;
  transition: all 1.1s;
  border-radius: 5px;
  color: #1c1d20;
  border: 1px solid #1c1d20;
  z-index: 1;
}
.csmf--btn-mask i,
.csmf--btn-mask svg {
  position: relative;
  z-index: 1;
}
.csmf--btn-mask::after {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: #fff;
  position: absolute;
  content: attr(data-text);
  cursor: pointer;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #1c1d20;
  -webkit-mask: url(../images/mask-btn.png);
  mask: url(../images/mask-btn.png);
  -webkit-mask-size: 2300% 100%;
  mask-size: 2300% 100%;
  animation: mask_animation_2 0.7s steps(22) forwards;
  padding: 15px 30px;
}
.csmf--btn-mask:hover {
  color: #1c1d20;
}
.csmf--btn-mask:hover::after {
  animation: mask_animation 0.7s steps(22) forwards;
}
.csmf--btn-effect-default:hover {
  color: #1c1d20;
  background-color: #fff;
}
.csmf--btn-effect-cross {
  overflow: hidden;
  position: relative;
  transition: all 1.1s;
}
.csmf--btn-effect-cross::after {
  position: absolute;
  content: "";
  width: 150%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: #1c1d20;
  transform: translateX(-50%) translateY(-50%);
  transition: all 0.75s;
  opacity: 0.5;
  z-index: -1;
}
.csmf--btn-effect-cross:hover {
  color: #fff;
  background-color: transparent;
}
.csmf--btn-effect-cross:hover::after {
  height: 120%;
  opacity: 1;
}
.csmf--btn-effect-divide {
  overflow: hidden;
  position: relative;
  transition: all 1.1s;
  z-index: 1;
}
.csmf--btn-effect-divide::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 100%;
  left: 50%;
  top: 50%;
  background-color: #1c1d20;
  transform: translateX(-50%) translateY(-50%);
  transition: all 0.75s;
  opacity: 0.5;
  z-index: -1;
}
.csmf--btn-effect-divide:hover {
  color: #fff;
  background-color: transparent;
}
.csmf--btn-effect-divide:hover::after {
  width: 120%;
  opacity: 1;
}
.csmf--btn-effect-cropping {
  overflow: hidden;
  position: relative;
  transition: all 1.1s;
}
.csmf--btn-effect-cropping::after {
  position: absolute;
  content: "";
  width: 150%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: #1c1d20;
  transform: translateX(-50%) translateY(-50%) rotate(25deg);
  transition: all 0.75s;
  opacity: 0.5;
  z-index: -1;
}
.csmf--btn-effect-cropping:hover {
  color: #fff;
  background-color: transparent;
}
.csmf--btn-effect-cropping:hover::after {
  height: 400%;
  opacity: 1;
}
.csmf--btn-sliding-top {
  position: relative;
  transition: all 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.csmf--btn-sliding-top:after {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  z-index: -1;
  content: "";
  background-color: #1c1d20;
  transition: all 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.csmf--btn-sliding-top:hover {
  color: #fff;
  background-color: transparent;
}
.csmf--btn-sliding-top:hover::after {
  top: 0;
  bottom: auto;
  height: 100%;
}
/* Slide Effect Bottom */
.csmf--btn-sliding-bottom {
  position: relative;
  transition: all 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.csmf--btn-sliding-bottom:after {
  position: absolute;
  right: 0;
  top: 0;
  height: 0;
  width: 100%;
  z-index: -1;
  content: "";
  background-color: #1c1d20;
  transition: all 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.csmf--btn-sliding-bottom:hover {
  color: #fff;
  background-color: transparent;
}
.csmf--btn-sliding-bottom:hover::after {
  bottom: 0;
  top: auto;
  height: 100%;
}

.csmf--btn-sliding-left {
  position: relative;
  transition: all 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.csmf--btn-sliding-left::after {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  z-index: -1;
  content: "";
  background-color: #1c1d20;
  transition: all 1.1s cubic-bezier(0.42, 0, 0.58, 1) 0s;
}
.csmf--btn-sliding-left:hover {
  color: #fff;
  background-color: transparent;
}
.csmf--btn-sliding-left:hover::after {
  left: 0;
  right: auto;
  width: 100%;
}

.csmf--btn-sliding-right {
  position: relative;
  transition: all 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.csmf--btn-sliding-right::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  z-index: -1;
  content: "";
  background-color: #1c1d20;
  transition: all 1.1s cubic-bezier(0.42, 0, 0.58, 1) 0s;
}
.csmf--btn-sliding-right:hover {
  color: #fff;
  background-color: transparent;
}

.csmf--btn-sliding-right:hover::after {
  right: 0;
  left: auto;
  width: 100%;
}
.csmf--btn-border-cross {
  overflow: hidden;
  position: relative;
  transition: all 1.1s;
}
.csmf--btn-border-cross::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  bottom: 100%;
  left: 100%;
  opacity: 0;
  border-bottom: 1px solid #1c1d20;
  border-left: 1px solid #1c1d20;
  transition: all 0.75s;
  z-index: -1;
}
.csmf--btn-border-cross::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 100%;
  right: 100%;
  opacity: 0;
  border-top: 1px solid #1c1d20;
  border-right: 1px solid #1c1d20;
  transition: all 0.75s;
  z-index: -1;
}
.csmf--btn-border-cross:hover {
  border-color: transparent !important;
  color: #1c1d20;
}
.csmf--btn-border-cross:hover::before {
  bottom: 0;
  left: 0;
  opacity: 1;
  width: 100%;
  height: 100%;
}
.csmf--btn-border-cross:hover::after {
  top: 0;
  right: 0;
  opacity: 1;
  width: 100%;
  height: 100%;
}
.csmf--btn-parallal-border {
  overflow: hidden;
  position: relative;
  transition: all 1.1s;
}
.csmf--btn-parallal-border::before {
  position: absolute;
  content: "";
  width: 0%;
  height: 0%;
  bottom: 0;
  left: 0;
  opacity: 0;
  border-bottom: 1px solid #1c1d20;
  border-left: 1px solid #1c1d20;
  transition: all 0.75s;
  z-index: -1;
}
.csmf--btn-parallal-border::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 0%;
  top: 0;
  right: 0;
  opacity: 0;
  border-top: 1px solid #1c1d20;
  border-right: 1px solid #1c1d20;
  transition: all 0.75s;
  z-index: -1;
}
.csmf--btn-parallal-border:hover {
  border-color: transparent !important;
  color: #1c1d20;
}
.csmf--btn-parallal-border:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.csmf--btn-parallal-border:hover::after {
  opacity: 1;
  width: 100%;
  height: 100%;
}

.csmf--btn-fade-left:after {
  content: "";
  background: rgb(236, 233, 22);
  position: absolute;
  transition: all 0.9s ease 0s;
  z-index: -1;
  height: 100%;
  left: -100%;
  top: 0;
  transform: skew(30deg);
  transform-origin: top left;
  width: 0;
}
.csmf--btn-fade-left:hover:after {
  height: 100%;
  width: 200%;
}

.csmf--btn-fade-right:after {
  content: "";
  background: rgb(236, 233, 22);
  position: absolute;
  transition: all 0.9s ease 0s;
  z-index: -1;
  height: 100%;
  right: -60%;
  top: 0;
  transform: skew(30deg);
  transform-origin: bottom right;
  width: 0;
}
.csmf--btn-fade-right:hover:after {
  height: 100%;
  width: 160%;
}

/* Slide In Button Effect*/
.csmf--btn-slide-in {
  z-index: 2;
  overflow: hidden;
}
.csmf--btn-slide-in:before {
  content: "";
  position: absolute;
  height: 100%;
  background-color: white;
  width: 50%;
  left: -100%;
  border-left: 4px solid white;
  transition: 0.5s;
  z-index: -1;
}
.csmf--btn-slide-in:after {
  content: "";
  position: absolute;
  height: 100%;
  background-color: white;
  width: 50%;
  right: -100%;
  transition: 0.5s;
  z-index: -1;
}
.csmf--btn-slide-in:hover {
  color: #ffc107;
}
.csmf--btn-slide-in:hover:before {
  left: 0;
}
.csmf--btn-slide-in:hover:after {
  right: 0;
}
