/* From Uiverse.io by gagan-gv */ 
.main-btn {
  padding: 15px 20px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  z-index: 1;
}

.main-btn::after,
.main-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.main-btn::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #28282d;
  border-radius: 10px;
  background: #001C7D;
background: linear-gradient(126deg, rgba(0, 28, 125, 1) 0%, rgba(4, 82, 156, 1) 44%, rgba(0, 28, 125, 1) 100%);
}

.main-btn::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  border-radius: 50px;
}

.main-btn:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.main-btn:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.main-btn:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}












/* From Uiverse.io by JaydipPrajapati1910 */ 
.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: relative;
  padding: 8px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  transition: all .15s ease;
}

.button::before,
.button::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7D8082;
  transition: all .15s ease;
}

.button::before {
  top: 0;
  border-bottom-width: 0;
}

.button::after {
  bottom: 0;
  border-top-width: 0;
}

.button:active,
.button:focus {
  outline: none;
}

.button:active::before,
.button:active::after {
  right: 3px;
  left: 3px;
}

.button:active::before {
  top: 3px;
}

.button:active::after {
  bottom: 3px;
}

.button_lg {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #0f1923;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
  background: #001C7D;
background: linear-gradient(126deg, rgba(0, 28, 125, 1) 0%, rgba(4, 82, 156, 1) 44%, rgba(0, 28, 125, 1) 100%);
}

.button_lg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #0f1923;
}

.button_lg::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #0f1923;
  transition: all .2s ease;
}

.button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: #ed1c24;
  transform: skew(-15deg);
  transition: all .2s ease;
}

.button_text {
  position: relative;
}

.button:hover {
  color: #0f1923;
}

.button:hover .button_sl {
  width: calc(100% + 15px);
}

.button:hover .button_lg::after {
  background-color: #fff;
}


/* From Uiverse.io by satyamchaudharydev */ 
.readmore {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.readmore {
  --primary-color: #111;
  --hovered-color: #c84747;
  position: relative;
  display: flex;
  font-weight: 600;
  font-size: 20px;
  gap: 0.5rem;
  align-items: center;
}

.readmore p {
  margin: 0;
  position: relative;
  font-size: 16px;
  color: var(--primary-color);
}

.readmore::after {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--hovered-color);
  height: 2px;
  transition: 0.3s ease-out;
}

.readmore p::before {
  position: absolute;
  /*   box-sizing: border-box; */
  content: "Read More";
  width: 0%;
  inset: 0;
  color: var(--hovered-color);
  overflow: hidden;

}

.readmore:hover::after {
  width: 100%;
}

.readmore:hover p::before {
  width: 100%;
}

.readmore:hover svg {
  transform: translateX(4px);
  color: var(--hovered-color);
}

.readmore svg {
  color: var(--primary-color);

  position: relative;
  width: 15px;
 
}
