
.btn-epic {
    position: relative;
    margin: 0;
    width: 100%;
    min-width: 200px;
    max-width: 300px;
    height: 50px;
    background: #FF9D2C;
    transform: translate3d(0px, 0%, 0px);
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.05em;
    transition-delay: 0.6s;
    overflow: hidden;
    font-family: "Anton", sans-serif;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: 0px 6px 12px #965000;
  }
  .btn-epic:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #AE0019;
    border-radius: 50% 50% 0 0;
    transform: translateY(100%) scaleY(0.5);
    transition: all 0.6s ease;
  }
  .btn-epic:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FF9D2C;
    border-radius: 0;
    transform: translateY(0) scaleY(1);
    transition: all 0.6s ease;
  }
  .btn-epic div {
    position: relative;
    top: 0;
    width: 95%;
    height: 38px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-epic span {
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
    text-align: center;
    transition: transform 0.5s ease;
    border-radius: 30px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-epic span:first-child {
    color: #fff;
    transform: translateY(40px);
    /*border: 1px #fff solid;*/
  }
  .btn-epic span:last-child {
    color: #fff;
    transform: translateY(0);
    /*border: 1px #AF1B00 solid;*/
  }
  .btn-epic:hover {
    background: #3ad2d0;
    transition: background 0.2s linear;
    transition-delay: 0.6s;
  }
  .btn-epic:hover:after {
    border-radius: 0 0 50% 50%;
    transform: translateY(-100%) scaleY(0.5);
    transition-delay: 0;
  }
  .btn-epic:hover:before {
    border-radius: 0;
    transform: translateY(0) scaleY(1);
    transition-delay: 0;
  }
  .btn-epic:hover span:first-child {
    transform: translateY(0);
  }
  .btn-epic:hover span:last-child {
    transform: translateY(-40px);
  }

  .carousel-caption .btn-epic {
    margin: 0;
    font-size: 20px;
    height: 50px;
  }

  .creme-bg .btn-epic {
    margin: 0 auto;
    max-width: 270px;
    color: #000;
    border: 2px #FF9D2C solid;
  }

  .creme-bg .btn-epic span:last-child {
    color: #000;
  }

  .creme-bg .btn-epic {
    background: transparent;
  }

  .creme-bg .btn-epic:after {
    color: #000;
     background: transparent;
   }


/*
 

  */

  /* .creme-bg .btn-epic span:last-child {
    color: #000;
    border: 1px #AF1B00 solid;
} */
/*
.creme-bg .btn-epic:before {
    background: #FF9D2C;
}

.creme-bg .btn-epic span:first-child {
    border: 1px #AF1B00 solid;
  }

  .creme-bg .btn-epic span:last-child {
    border: 1px #AF1B00 solid;
  }

  .creme-bg .btn-epic span {
    top: 5px;
    width: 93%;
    height: 36px;
  }

  .creme-bg .btn-epic span:first-child {
    color: #fff;
    transform: translateY(45px);
    border: 1px #fff solid;
  }

  .creme-bg .btn-epic:hover span:last-child {
    transform: translateY(0px);
  }
*/
.about-agnihotra-footer .btn-epic {
  background: #fff;
  color: #FF9D2C;
  margin: 0;
}

.about-agnihotra-footer .btn-epic span:last-child {
  color: #FF9D2C;
}

.about-agnihotra-footer .btn-epic span:first-child {
  color: #FF9D2C;
}

.about-agnihotra-footer .btn-epic::before {
  background: #FCD681;
}
  /*

  .about-agnihotra-footer .btn-epic:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #FF9D2C;
    background: #FFFFFF;
    border-radius: 0;
    transform: translateY(0) scaleY(1);
    transition: all 0.6s ease;
}

.about-agnihotra-footer .btn-epic span:last-child {
  color: #FF9D2C;
  border: 1px #AF1B00 solid;
}

.about-agnihotra-footer .btn-epic span:first-child {
  color: #FF9D2C;
  border: 1px #AF1B00 solid;
}

.about-agnihotra-footer .btn-epic {
  max-width: 280px;
}
*/
/*red button*/


.white-btn .btn-epic {
  margin: 0 auto;
  max-width: 270px;
  background: transparent;
  border: 2px #FF9D2C solid;
  height: 50px;
}

.white-btn .btn-epic:after {
  background: transparent;
}

.white-btn .btn-epic span:last-child {
  color: #000;
  /* border: 1px #AF1B00 solid; */
}

.white-btn .btn-epic:before {
  background: #FF9D2C;
}

.white-btn .btn-epic span:first-child {
  border: 1px #AF1B00 solid;
}

.white-btn .btn-epic span:last-child {
  border: 1px #AF1B00 solid;
}

.navbar-nav .btn-epic span {
  top: -5px;
}