:root {
  --btn-font-size: 16px;
  --btn-line-height: 1.4;
  --btn-py: 12px;
  --btn-px: 18px;
  --btn-min-h: 44px;
  --btn-min-w: 0;
  --btn-gap: 0.55rem;
}

.btn-5 {
  padding: 10px 25px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  background: transparent;
  outline: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  border: 2px solid #018786;
  z-index: 1;
  color: #018786;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-gap);
  box-sizing: border-box;
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  padding: var(--btn-py) var(--btn-px);
  min-height: var(--btn-min-h);
  min-width: var(--btn-min-w);
  border-width: 2px;
  border-style: solid;
  white-space: nowrap;
}

.btn-5:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: -1;
  background: #018786;
  transition: all 0.3s ease;
}

.btn-5:hover {
  color: white;
}

.btn-5:hover:after {
  top: auto;
  bottom: 0;
  height: 100%;
}
