/* Hamburger Menu Icon */
@media only screen and (max-width: 767px) {
  .hamburgler {
    display: block;
  }
}

@media only screen and (min-width: 768px) {
  .hamburgler {
    display: none;
  }
}

.hamburgler {
    width: 30px;
    height: 15px;
    position: absolute;
    cursor: pointer;
    margin: 1.5em auto;
    padding: 0;
    transition: 0.3s ease all;
    top: 0.5em;
    left: 1em;
    z-index:1;
}

.hamburgler .bun {
  display: block;
  height: 3px;
  position: absolute;
  width: 100%;
  transition: transform 0.3s ease;
}

.hamburgler .bun.top {
  top: 0;
}

.hamburgler .bun.bottom {
  bottom: 0;
}

.hamburgler.no-hamburgler {
transform: rotate(-45deg);
}

.bun, .meat {
  display: block;
  width: 100%;
  background: var(--primary-colour);
  height: 17%;
  transition: 0.3s ease all;
  border-radius: 2px;
}

.no-hamburgler .top {
height: 38%;
width: 20%;
margin-left: 40%;
border-radius: 50px 50px 0 0;
}

.no-hamburgler .bottom {
height: 38%;
width: 20%;
margin-left: 40%;
border-radius: 0 0 50px 50px;
}

.meat {
  margin: 15% 0;
}

.no-hamburgler .meat {
margin: 2% 0;
}

.toggle-nav .bun.top {
  transform: translateY(17px) rotate(45deg);
}

.toggle-nav .bun.bottom {
  transform: translateY(5px) rotate(-45deg);
}

/* Menu Toggle Animation */


/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    padding: 85px 20px;
    color: #fff;
    backdrop-filter: blur(5px);
}

.mobile-menu:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-colour);
    opacity: 0.7;
    z-index: -1;
    border: 1px solid rgb(255, 255, 255, 0.1);
}

.toggle-nav .mobile-menu {
  display: block;
}

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

.mobile-menu li {
  text-align: center;
  padding: 1em 0;
}

.mobile-menu ul a{
  color:#fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: large;
}

.mobile-menu ul a:hover{
  color:var(--primary-colour);
}