.header {
  height: 3.4rem;

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  background-color: white;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(228, 228, 228);
}

.left-section {
  display:grid;
  align-items: center;
  min-width: 18rem;
}

/* Hide the left-section on smaller screens */
@media (max-width: 768px) { /* Adjust the max-width as needed */
  .left-section {
    display: none;
  }
}



/*
This code is for a hamburger if I want a hamburger menu option in the future
.hamburger-menu {
  height: 24px;
  margin-left: 24px;
  margin-right: 24px;
}
*/
.excelmug-logo {
  height: 2.2rem;
  margin: 3%
}

.middle-section {
  width: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem; /* Use rem for spacing */
  flex-shrink: 0;
  min-width: 15rem; /* Set a minimum width in rem */
  max-width: 90%; /* Use a percentage of the parent width */
}

.middle-section a {
  text-decoration: none;
  color: rgb(67, 65, 73);
  font-weight: 600;
  font-size: 18px;  
}

.home {
  text-decoration: none;
  color:rgb(255, 107, 107);
  font-weight: 600;
  font-size: 18px;  

}


.search-bar {
  height: 2.2rem;
  padding-left: 0.625rem;
  font-size: 16px;
  border: 0.0625rem solid rgb(192, 192, 192);
  border-radius: 0.12rem;
  box-shadow: inset 0.0625rem 0.12rem 0.18rem rgba(0, 0, 0, 0.05);
  width: 10rem;
}

.search-bar::placeholder {
  font-size: 1rem;
}

.search-button {
  height: 2.45rem;
  width: 3.5rem;
  background-color: rgb(240, 240, 240);
  border-width: 0.0625rem;
  border-style: solid;
  border-color: rgb(192, 192, 192);
  margin-left: -1px;
  margin-right: 10px;
}

.search-button,
.shopping-cart-button,
.upload-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.search-button .tooltip,
.shopping-cart-button .tooltip,
.upload-icon-container .tooltip {
  position: absolute;
  background-color: gray;
  color: white;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 2px;
  font-size: 12px;
  bottom: -30px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  white-space: nowrap;
}

.search-button:hover .tooltip,
.shopping-cart-button:hover .tooltip,
.upload-icon-container:hover .tooltip {
  opacity: 1;
}

.search-icon {
  height: 1.5rem;
}

.shopping-cart-button {
  height: 2.2rem;
  width: 2.2rem;
  border-radius: 1.3rem;
  margin: 1rem;
  border: none;
  background-color: rgb(245, 245, 245);
}

.shopping-cart-icon {
  height: 1.5rem;
}

.right-section {
  display: flex;
  align-items: center;
}

/* Hide the right-section on smaller screens */
@media (max-width: 600px) { /* Adjust the max-width as needed */
  .right-section {
    display: none;
  }
}
