.btn {
  border-radius: 4px;
  border: 2px solid rgb(83, 83, 83);
  color: rgb(83, 83, 83);
  display: inline-block;
  margin: 0 .5em;
  overflow: hidden;
  padding: 14px 60px 14px 6px;
  position: relative;
  text-decoration: none;
  line-height: 1;
}

.btn .btn-content {
  font-size: 1em;
  line-height: 1.2;
  padding: 0 16px;
  position: relative;
  right: 0;
  transition: right 300ms ease;
  display: block;
  text-align: left;
}

.btn .icon {
  border-left: 1px solid rgb(83, 83, 83);
  position: absolute;
  right: 0;
  text-align: center;
  top: 50%;
  transition: all 300ms ease;
  transform: translateY(-50%);
  width: 58px;
  height: 70%;
}

.btn .icon i {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.btn:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgb(83, 83, 83);
  opacity: 0;
  transition: opacity 300ms ease;
}

.btn:hover .btn-content {
  right: 100%;
}

.btn:hover .icon {
  border-left: 0;
  font-size: 1.8em;
  width: 100%;
}

.btn:hover:after {
  opacity: .2;
}

.btn.btn-alt-color {
  border-color: rgb(170, 21, 39);
  color: rgb(170, 21, 39);
}

.btn.btn-alt-color .icon {
  border-left-color: rgb(170, 21, 39);
}

.btn.btn-alt-color:after {
  background-color: rgb(170, 21, 39);
}

/* Hamburger Navigation */
.hamburger-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10002;
  position: relative;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  padding: 80px 30px 30px;
  transition: right 0.3s ease;
  z-index: 10000;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.nav-menu.active {
  right: 0;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-bottom: 20px;
}

.nav-menu a {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #ac1122;
  padding-left: 10px;
  border-bottom-color: #ac1122;
}

.nav-menu a i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  color: #8b69b8;
}

.nav-menu a:hover i {
  color: #ac1122;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 55em) {
  .hamburger-nav {
    top: 15px;
    right: 15px;
  }
  
  .nav-menu {
    width: 100%;
    right: -100%;
  }
  
  .nav-menu a {
    font-size: 1.1em;
  }
}
