
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');


.effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #fff;
    text-transform: capitalize;
    /* background-color: - add your own background-color */
    font-family: 'Roboto', sans-serif;
    /* put your font-family */
    font-size: 18px;
    padding: 20px 0px;
    margin-top: 76px;
    margin-bottom: 96px;
    border-radius: 6px;
    overflow: hidden;
  }

  

/* effect-2 styles */
.effect.effect-2 {
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
  }
/* effect-2 styles */
.effect.effect-3 {
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
  }

.effect.effect-2:before {
    content: "\f0a4";
    font-family: FontAwesome;
    font-size: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0px 6px 6px 0px;
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
    text-align: center;
  }

  .effect.effect-3:before {
    content: "\f0a5";
    font-family: FontAwesome;
    font-size: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0px 6px 6px 0px;
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
    text-align: center;
  }

  .effect.effect-2:hover {
    text-indent: 30px;
  }
  .effect.effect-3:hover {
    text-indent: -30px;
  }

  .effect.effect-2:hover:before {
    right: 0;
    text-indent: 0px;
  }

  .effect.effect-3:hover:before {
    left: 0;
    text-indent: 0px;
  }