/*
---- Basic Styling
*/
* {
  /* box-sizing: border-box; */
}

a {
  transition: all ease 0.3s;
}

/*
---- Navbar
*/
.navbar {
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.navbar-buttons {
  position: relative;
  width: 155px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.button-collapse {
  color: var(--white-color);
  text-transform: uppercase;
  text-align: center;
  width: 115px;
  outline: 0;
  height: 54px;
  position: fixed !important;
  right: 30px;
  z-index: 999 !important;
}

.menu-btn {
  /* width: 80px; */
  position: fixed;
  right: 0px;
  height: 78px;
  padding: 18px 10px;
  top: 0px;
  background: var(--black-color);
  text-align: center;
  display: none;
}

/* Sing In Button */
.button {
  background-color: rgba(44, 45, 47, 0.749);
  width: 97px;
  height: 30px;
  font-size: 12px;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.hamburger {
  display: -webkit-box;
  display: -ms-flexbox;
  float: right;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 35px;
  height: 33px;
  cursor: pointer;
  padding-top: 7px;
}

.hamburger div {
  -ms-flex-item-align: end;
  align-self: flex-end;
  height: 3px;
  width: 100%;
  background: var(--white-color);
}

.hamburger .meat {
  width: 100%;
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

.hamburger .bottom-bun {
  width: 100%;
  -webkit-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

.hamburger:hover div {
  width: 100%;
}

.hamburger:hover .top-bun {
  /* -webkit-animation: burger-hover 1s infinite ease-in-out alternate; */
  /* animation: burger-hover 1s infinite ease-in-out alternate; */
}

.hamburger:hover .meat {
  /* -webkit-animation: burger-hover 1s infinite ease-in-out alternate forwards 200ms; */
  /* animation: burger-hover 1s infinite ease-in-out alternate forwards 200ms; */
}

.hamburger:hover .bottom-bun {
  /* -webkit-animation: burger-hover 1s infinite ease-in-out alternate forwards 400ms; */
  /* animation: burger-hover 1s infinite ease-in-out alternate forwards 400ms; */
}

@-webkit-keyframes burger-hover {
  0% {
    width: 100%;
  }

  50% {
    width: 50%;
  }

  100% {
    width: 100%;
  }
}

@keyframes burger-hover {
  0% {
    width: 100%;
  }

  50% {
    width: 50%;
  }

  100% {
    width: 100%;
  }
}

.nav-text {
  font-size: 16px;
  font-weight: 400;
  color: #343434;
  position: absolute;
  top: 16px;
  right: 65px;
}

/*
---- Overlay
*/
.overlay {
  position: fixed;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)), url(../images/menu-head.jpg) no-repeat center center;
  background-size: cover;
  top: 0;
  left: 0;
  width: 100%;
  display: table;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}

.bg {
  position: fixed !important;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  margin-bottom: 0px !important
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100vh;
  z-index: 999;
}

.overlay.open li {
  animation: fadeInRight .5s ease forwards;
  animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
  animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
  animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
  animation-delay: .50s;
}

/* Navigation Title */
.overlay .nav-title {
  font-size: 22px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  top: 8%;
}

.overlay nav {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  /*height: 50%;*/
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 10px;
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  /*height: 100%;*/
  width: 100%;
  max-width: 500px;
}

.close-btn img {
  padding: 5px;
  max-width: 60px;
  margin: auto;
  display: table;
}

.overlay ul li {
  display: block;
  position: relative;
  opacity: 0;
  animation: fadeOutRight .5s ease forwards;
  animation-delay: .35s;
}

.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  padding: 3px;
  text-decoration: none;
  overflow: hidden;
  letter-spacing: 0;
  line-height: 35px;
  font-family: var(--secondary-font);
  text-transform: capitalize;
  font-size: 24px;
  transition: all ease 0.3s;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.63);
}

.overlay ul li a:hover, .overlay ul li a:focus, .overlay ul li a:active {
  color: var(--white-color);
}

.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
  /* background: #ea2e49; */
  max-width: 220px;
}

button:focus {
  outline: 0;
}

.open-menu, .close-menu, .button {
  cursor: pointer;
  transition: all ease 0.3s;
}

.open-menu:hover {
  background: var(--secondary-color);
  /* background: #81d8d0; */
}

.overlay ul li a:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 49.7%;
  width: 0%;
  transform: translateX(-50%);
  height: 0px;
  background: #FFF;
  transition: .35s;
}

.overlay ul li a:hover {
  /* background: rgba(0, 0, 0, 0.5); */
  opacity: 1;
}

.overlay ul:hover li a {
  opacity: 0.5;
}

.overlay ul li a:hover {
  opacity: 1;
  font-weight: 600;
  /* text-transform: capitalize; */
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }

  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeOutRight {
  0% {
    opacity: 1;
    left: 0;
  }

  100% {
    opacity: 0;
    left: 20%;
  }
}

nav.desktop-nav {
  display: flex;
  margin: 0px;
  width: 100%;
  justify-content: flex-end;
}

nav.desktop-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

nav.desktop-nav ul li {
  list-style: none;
  margin: 2px;
}

nav.desktop-nav ul li a {
  color: #171717;
  padding: 10px 7px;
  /* text-transform: uppercase; */
  font-size: 20px;
  font-weight: 500;
  font-family: var(--secondary-font);
}

nav.desktop-nav ul li a:hover {
  /* background: var(--primary-color); */
  color: var(--primary-color);
}

/*
---- Responsive
*/
@media (max-width: 1200px) {
  nav.desktop-nav ul li a {
    /* font-size: 17px; */
  }
}

@media (max-width: 1024px) {
  header .container {
    justify-content: flex-start;
    /* padding: 0; */
  }
}

@media (max-width: 768px) {
  nav.desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
    position: absolute;
  }

  .navbar-default {
    background: none;
  }

  .menu-btn {
    background: none;
  }

  .hamburger div {
    background: var(--primary-color);
  }
}

@media (max-width: 670px) {
  .overlay nav {
    font-size: 30px;
  }

  .close-btn {
    position: fixed !important;
    bottom: 0;
    width: 100%;
    background: var(--primary-color);
  }
}

@media (max-width: 550px) {
  .overlay nav {
    font-size: 20px;
  }
}
