.button {
  display: inline-block;
  position: relative;
  margin: 0.5em;
  padding: 10px 30px;
  border: 2px solid #cc52b8;
  overflow: hidden;
  text-decoration: none;
  font-size: 14px;
  outline: none;
  color: #0a516f;
  background: transparent;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
}

.button {
}

.button span {
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.2s;
}

@media (max-width: 575px) {
  .button:before, .button:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
}

@media (min-width: 576px) {
  .button:before, .button:after {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    -moz-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
}

.button:before {
  content: attr(data-hover);
  -moz-transform: 0.4s;
  -ms-transform: 0.4s;
  -o-transform: 0.4s;
  transform: 0.4s;
}

.button:hover span, .button:active span {
  opacity: 0;
  text-align: center;
  -moz-transform: 0.4s;
  -ms-transform: 0.4s;
  -o-transform: 0.4s;
  transform: 0.4s;
}

.button:hover:before, .button:active:after {
  opacity: 1;
  -moz-transform: 0.4s;
  -ms-transform: 0.4s;
  -o-transform: 0.4s;
  transform: 0.4s;
  -moz-transition-delay: .4s;
  -o-transition-delay: .4s;
  transition-delay: .4s;
}

.button:active:before {
  -moz-transform: 0.4s;
  -ms-transform: 0.4s;
  -o-transform: 0.4s;
  transform: 0.4s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

@media screen and (max-width: 576px) {
  #hideitem {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  #showitem {
    display: block;
  }
}

@media screen and (min-width: 574px) {
  #showitem {
    display: none;
  }
}

