.menu-sand {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 2px;
}

ul.menu-sand > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container-sand {
  display: none;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
}

#menu-toggle-sand {
  display: none;
}

.menu-button-sand,
.menu-button-sand::before,
.menu-button-sand::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  border-radius: 2px;
}

.menu-button-sand::before {
  content: '';
  margin-top: -8px;
}

.menu-button-sand::after {
  content: '';
  margin-top: 8px;
}

.menu-button-container-sand {
    display: flex;
}
.menu-sand {
    position: absolute;
    top: 0;
    margin-top: 53px;
    left: 20px;
    flex-direction: column;
}

#menu-toggle-sand ~ .menu-sand li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#menu-toggle-sand:checked ~ .menu-sand {
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background-color: var(--header-bg);
}

#menu-toggle-sand:checked ~ .menu-sand li {
    height: 2.5em;
    padding: 0.1em;
}
.menu-sand > li {
    display: flex;
    justify-content: left;
    margin: 0;
    padding: 0.5em 0;
    color: white;
}

#header a.menu-item-sand {
  display: flex;
  align-items: center;
  justify-content: left;
  height: 100%;
  width: 100%;
  text-decoration: none;
  border-radius: 10px;
  padding-left: 15px;
  padding-right: 15px;
}

#header a.menu-item-sand:hover {
  color: #4ac1f7;
}

#header div.menu_icon_box {
  height: 24px;
  width: 24px;
  margin-right: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header img.menu_icon {
  height: 20px;
}

#header a.menu-item-sand:hover {
  outline: 2px solid #4ac1f7;
  color: #4ac1f7;
}
#header a.menu-item-sand:hover img.menu_icon {
    cursor: pointer;
    transform: scale(1.1); /* Slight zoom effect */
    transition: transform 0.3s ease, fill 0.3s ease;
}