html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAGIVATION SECTION */

.header,
.footer {
  background-color: rgba(0, 118, 182);
  padding: 1em;
  width: 100%;
  height: 4.5em;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer {
  margin: 2em 0 0 0;
}

.header a,
.footer a {
  text-decoration: none;
  color: white;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

a:visited {
  color: inherit;
}

.nav-wrapper {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.left-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 2.5em;
}

.central-bar {
  width: auto;
  height: 100%;
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.search-field {
  width: calc(90% - 5em);
  height: 2em;
  border-radius: 1em;
  padding: 0 1em;
  margin: 0 0.5em;
  outline: none;
}

.right-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.right-bar-gap {
  margin: 0 0.5em;
}

.cart-num {
  width: 1.8em;
  height: 1.8em;
  border-radius: 1em;
  color: white;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65em;
}

.nav-greet {
  width: 100%;
  display: block;
}

.nav-greet,
.hide {
  display: none;
}

/* CATEGORY NAVIGATION BAR*/

.cat-dropdown {
  display: flex;
  flex-direction: column;
  position: relative;
}

.cat-heading {
  width: 8em;
  height: auto;
  cursor: pointer;
  text-align: center;
}

.cat-options {
  position: absolute;
  display: none;
  top: 2em;
  width: 8em;
  height: auto;
  z-index: 2;
  box-shadow: 5px 10px 10px 5px rgba(91, 91, 91, 0.2);
}

.cat-options option {
  border-bottom: 1px rgb(220, 220, 220) solid;
  background-color: white;
  color: black;
  padding: 1em;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
}

.cat-options option:hover {
  background-color: rgb(240, 240, 240);
}
