* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: -1;
  opacity: 0;
  transition: 1s all;
}

.navbar-erp {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 70px;
  padding: 0 40px;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  transform: translateY(-100%);
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.navbar-erp.scrolled {
  transform: translateY(0px); /* height of main header */
  background-color: #6d007b;
}

.navbar-erp.scrolled .navbar-links li a,
.navbar-erp.scrolled .navbar-logo {
  color: #ffffff !important;
}

.navbar-erp.scrolled {
  backdrop-filter: blur(10px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.4s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.navbar-logo img{
  width: 16%;
}

.navbar-links {
  list-style-type: none;
  display: flex;
}
.navbar-links li a {
  display: block;
  text-decoration: none;
  color: #444;
  padding: 20px 20px;
  font-weight: 700;
  transition: 0.4s all;
}

.navbar-links li.navbar-dropdown {
  position: relative;
}

.navbar-links li.navbar-dropdown:hover .dropdown {
  color: black !important;
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}

.navbar-links li.navbar-dropdown .dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding: 20px 0;
  top: 100%;
  transform: translateY(50px);
  left: 0;
  width: 250px;
  background-color: #fff;
  box-shadow: 0px 10px 10px 3px rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  z-index: 111;
  transition: 0.4s all;
}
.navbar-links li.navbar-dropdown .dropdown a {
  color: black !important;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 400;
}
.navbar-dropdown .dropdown a:hover {
  color: black !important;
  padding-left: 30px;
}
.navbar-links li a:hover {
  color: #ff3f34 !important;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 90vh;
  /* background-color: #f00; */
  background-image: url("http://lorempixel.com/1366/698/food/");
  background-size: cover;
}

.header-inner {
  text-align: center;
  color: #ff3f34;
  text-shadow: 0px 10px 10px rgba(0, 0, 0, .8);
}

.header-inner h1 {
  font-family: "Great Vibes", cursive;
  font-size: 130px;
}

.header-inner form input[type="search"] {
  position: relative;
  width: 500px;
  border: none;
  padding: 15px;
  border-radius: 27px;
  box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.3);
  z-index: 11;
}
.header-inner form input[type="search"]:focus {
  outline: none;
}

.header-inner form input[type="search"]:focus + div {
  z-index: 1;
  opacity: 1;
}

::placeholder {
  color: #666;
  font-weight: 400;
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #4a004f;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .navbar-links.show {
    max-height: 500px;
  }

  .navbar-links li a {
    color: #fff;
    font-size: 16px;
  }

  /* Dropdown inside mobile */
  .navbar-dropdown .dropdown {
    position: static;
    background: transparent;
    padding-left: 15px;
    display: none;
  }

  .navbar-dropdown.active .dropdown {
    display: flex;
  }
}

@media (max-width: 992px) {
  .navbar-links {
    position: absolute;
    top: 66%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #6d007b;
  }

  .navbar-links li a {
    color: #fff;
    padding: 15px 30px;
  }
}