.btn {
    text-align: center;
    background: var(--armygold);
    display: block;
    margin: 20px auto;
    padding: 5px;
    position: relative;
    width: fit-content;
    min-width:200px;
    max-width:400px;
    max-height: fit-content;
    height:fit-content;
}

.btn::before {
    /* bottom line left */
    content: '';
    display: block;
    position: absolute;
    bottom: 5px;
    left:5px;
    height: 1px;
    width: 0%;
    background-color: #000;
    /* hover off/ mouse out transition time */
    transition: all 0.1s;
}

.btn>div {
    position: relative;
    display: flex;
    flex-direction: column;
    width:100%;
    height:auto;
}
.btn>div::before, .btn>div::after {
    content: '';
    display: block;
    position: relative;
    height: 1px;
    width: 0%;
    background-color: #000;
}

.btn>div::before {
    /* top line */ 
    top: 0px;
    margin: auto;
    /* hover off/ mouse out transition time */
    transition: all 0.15s ease .45s;
    
}
.btn>div::after {
     /* bottom line right */
    position: absolute;
    bottom: 0px;
    right:0px;
     /* hover off/ mouse out transition time */
    transition: all 0.1s;
}
.btn a {
    position: relative;
    box-sizing: border-box;
    padding: .5em 1.2em;
    line-height: 100%;
    font-weight:530;
}
.btn a::before, .btn a::after {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    height: 0%;
    width: 1px;
    background-color: #000;
}

.btn a::before {
    /* side line left */   
    left: 0px;
     /* hover off/ mouse out transition time */
    transition: height 0.15s ease 0.3s;
}
.btn a::after {
    /* side line right */
    right: 0px;
     /* hover off/ mouse out transition time */
    transition: height 0.15s ease 0.3s;
}

.btn a, .btn a:hover {
    color: #000 !important;
}
.btn a, .btn input[type="button"], .btn input[type="submit"] {
    background-color: transparent;
    cursor: pointer;
    font-family: "GI", "GIfont", "Overpass", Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}

/* button animation */

.btn:hover>div::before {
    /* top line */
    width:100%; 
    /* hover mouse over transition time */
    transition: all 0.15s ease; 
}

.btn:hover a::before, .btn:hover a::after {
    /* vertical side line */
    height:100%; 
     /* hover mouse over transition time */ 
    transition: height 0.15s ease 0.3s;
}

.btn:hover>div::after, .btn:hover::before {
    /* bottom lines, 2 closing from each end */
    width:50%;
     /* hover mouse over transition time */
    transition: all 0.15s ease 0.45s;
}

/* variations - default is army gold */ 

/* DARK */

.btn.dark {
    background: #222;
}
.btn.dark::before, .btn.dark>div::before, .btn.dark>div::after, .btn.dark a::before, .btn.dark a::after {
    background-color: #FFF;
}
.btn.dark a, .btn.dark a:hover {
    color: #FFF !important;
}

/* GREEN */

.btn.green {
    background: #727365;
}
.btn.green::before, .btn.green>div::before, .btn.green>div::after, .btn.green a::before, .btn.green a::after {
    background-color: #CCC;
}
.btn.green a, .btn.green a:hover {
    color: #FFF !important;
}

/* GREY */

.btn.grey {
    background: #999;
}
.btn.grey::before, .btn.grey>div::before, .btn.grey>div::after, .btn.grey a::before, .btn.grey a::after {
    background-color: #FFF;
}
.btn.grey a, .btn.grey a:hover {
    color: #FFF !important;
}


/* social media buttons */
    
.inner-container ul.social {
    display:flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: space-between;
}

.inner-container .social li {
    list-style-type: none;
    margin: 0 10px 10px 0;
}

.inner-container .social .social-button {
    background: #221f20;
}

.inner-container .social .social-button a, .social .social-button-black a {
    width: 50px;
    aspect-ratio: 1/1;
    text-align: center;
    display: flex;
    align-items: center;
    align-content: center;
}

.inner-container .social-button a,
.inner-container .social-button-black a {
  i[class*=' armyicons'],i[class^='armyicons'] {
    font-size: 25px;
    color: #FFF;
    line-height: 25px;
    display: block;
    text-align: center;
    margin: auto;
  }
  &:not(.no-hover):hover,
  &:not(.no-hover):focus {
    i[class*=' armyicons'],i[class^='armyicons'] {
      color: var(--armygold);
    }
  }
}

.inner-container .social-button-black a {
  i[class*=' armyicons'],i[class^='armyicons'] {
    color: var(--armyblack);
  }
}

.inner-container .social-button,
.inner-container .social-button-black,
.inner-container .social-button-gold-lg,
.inner-container .social-button-sm {
  a {
    text-decoration: none;
  }
  a span {
    font-size: 0;
  }
  a span::before {
    font: normal 25px/25px 'armyicons';
    color: #FFF;
  }
  &.facebook-button a span::before {
    content: "\ea90";
  }
  &.twitter-button a span::before {
    content: "\e979";
  }
  &.pinterest-button a span::before {
    content: "\ead1";
  }
  &.flickr-button a span::before {
    content: "\eaa5";
  }
  &.youtube-button a span::before {
    content: "\ea9d";
  }
  &.instagram-button a span::before {
    content: "\ea92";
  }
  &.vimeo-button a span::before {
    content: "\eaa0";
  }
  &.linkedin-button a span::before {
    content: "\eaca";
  }
  &.email-button a span::before {
    content: "\e95f";
  }
  &.reddit-button a span::before {
    content: "\e96a";
  }
  &.rss-button a span::before {
    content: "\e974";
  }
}
.inner-container .social-button a,
.inner-container .social-button-black a {
  &:not(.no-hover):hover,
  &:not(.no-hover):focus {
    span::before {
      color: var(--armygold);
    }
  }
}
.inner-container .social-button-gold-lg a {
  span::before {
    color: var(--armygold);
  }
  &:not(.no-hover):hover,
  &:not(.no-hover):focus {
    span::before {
      color: var(--armyblack);
    }
  }
}
.inner-container .social-button-black a span::before {
  color: var(--armyblack);
}
.inner-container .social-button-sm a span::before {
  font-size: 22px;
  line-height: 22px;
}