header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--clr-bg-light);
}
header.home {
  background-color: rgba(var(--clr-black-triple), var(--opacity-none));
  /* position: fixed; */
  transition: all 1s;
}
header.home:hover,
header.home nav.active,
header.home.vmenu {
  background-color: var(--clr-bg-light);
}
header.home.nofade {
  background-color: var(--clr-bg-light);
}
.logo img {
  height: 3rem;
}

nav {
  display: grid;
  padding: 1rem 1.5rem;
  width: 100%;
  grid-template-rows: min-content 0px 0px;

  /*z-index: 10;*/
}
nav .nav-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  background-color: rgba(var(--clr-black-triple), var(--opacity-none));
}
nav.active {
  min-height: 20rem;
  grid-template-rows: min-content auto 0px;
}
nav.active .nav-bottom.menu-container {
  display: flex;
}
nav .main-menu-button {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}
.nav-bottom.menu-container {
  padding: 2rem;
  display: none;
  overflow: hidden;
}
.header {
  background-color: rgba(var(--clr-black-triple), var(--opacity-full));
  display: flex;
  align-items: baseline;
  padding: 0.5rem;
  /*gap: 1rem;*/
}
.menu-item {
  /*font-size: var(--font-size-base);*/
  width: 100%;
}
.menu-item:hover {
  text-decoration: underline;
}
.main-menu {
  position: relative;
}
.menu-item.drop {
  display: flex;
  width: 100%;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  /* line-height: 4rem; */
}
.menu-item.drop .drop-pointer {
  height: 10px;
  width: 10px;
  transition: 0.5s ease-in-out;
}
.menu-item.active .drop-pointer {
  transform: rotate(180deg);
}
.content-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: calc(100% - 1.5rem);
  height: 50%;
}

.submenu {
  position: relative;
  /*left: 5vw;
    width: 80vw;*/
  /*top: calc(10% + .25rem);*/
  padding: 1rem;
}
.cx-submenu {
  min-width: 20rem;
}
.content-menu,
.submenu {
  display: none;
  background-color: var(--clr-bg-light);
  padding: 1vh;
  /*border-radius: .25rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);*/
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 250ms ease-in-out,
    transform 250ms ease-in-out;
}

.main-menu.active {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: fixed;
  display: block;
  background-color: rgba(var(--clr-black-triple), var(--opacity-mid));
}

.main-menu.active > .content-menu,
.menu-item.active + .submenu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  width: 100%;
  z-index: 20;
}

.menu-item-holder {
  width: 100%;
  cursor: pointer;
}

.information-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 2rem;
}

.exit-menu {
  align-self: flex-start;
}

.menu-container {
  align-self: flex-start;
  display: flex;
  width: 100%;
}

.menu-list {
  display: flex;
  flex-direction: column;
  min-width: 15%;
  max-width: 20rem;
  /*flex-grow: 2;*/
  gap: 0.25rem;
  margin-left: 3vh;
}

.toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /*z-index: 1;*/
  opacity: 0;
  cursor: pointer;
  height: 100%;
}
.toggle:not(:checked) ~ ul {
  visibility: hidden;
  opacity: 0;
}
.toggle:checked ~ ul {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.toggle:not(:checked) ~ div {
  visibility: hidden;
  opacity: 0;
}
.toggle:not(:checked) ~ div {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#lang-select ul {
  padding-top: 0.5rem;
  background: rgba(247, 247, 247, 1);
  list-style: none;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease-out;
  min-width: 4rem;
  position: absolute;
}
#lang-select ul li {
  border-radius: 2px;
  position: relative;
  display: inline-block;
  line-height: 1.5;
  width: 100%;
  background: rgba(247, 247, 247, 1);
  transition: all 0.5s;
}
#lang-select ul a {
  display: block;
  color: inherit;
  text-transform: cau;
  font-weight: 200;
  text-decoration: none;
}
#lang-select ul a:hover {
  text-decoration: underline;
}
#customer-menu ul {
  padding-top: 0.5rem;
  background: rgba(247, 247, 247, 1);
  list-style: none;
  overflow: hidden;
  transition: all 0.4s ease-out;
  min-width: 4rem;
  position: absolute;
}
#customer-menu ul li {
  border-radius: 2px;
  position: relative;
  display: inline-block;
  line-height: 1.5;
  width: 100%;
  background: rgba(247, 247, 247, 1);
  transition: all 0.5s;
}
#customer-menu ul a {
  display: block;
  color: inherit;
  text-transform: cau;
  font-weight: 200;
  text-decoration: none;
}
#customer-menu ul a:hover {
  text-decoration: underline;
}
#customer-menu div {
  position: fixed;
  min-width: 30rem;
  height: 100%; /* according to AI this adapts better to disappearing toolbars than 100vh*/
  padding: 1rem;
  top: 0;
  right: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    45deg,
    rgba(235, 235, 71, 1) 0%,
    rgba(0, 0, 0, 1) 12%,
    rgba(235, 235, 71, 1) 25%,
    rgba(0, 0, 0, 1) 37%,
    rgba(235, 235, 71, 1) 50%,
    rgba(0, 0, 0, 1) 62%,
    rgba(235, 235, 71, 1) 75%,
    rgba(0, 0, 0, 1) 87%,
    rgba(235, 235, 71, 1) 100%
  );
  z-index: 90;
}
#customer-menu div p {
  background: rgba(235, 235, 71, 1);
  padding: 0.5rem;
}
#lang-select,
#customer-menu,
#cart-show {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
}
.mw-logo {
  width: 2.35rem;
}
.language-ico,
.customer-ico,
#cart-svg-filler,
#cart-goods {
  transition-property: all;
  transition-duration: 1s;
}

#customer-menu:hover .customer-ico {
  fill: black;
}
#cart-show:hover #cart-svg-filler {
  fill: black;
}
#lang-select:hover .language-ico {
  fill: #cccccc;
}

#cart-show:hover #cart-goods {
  fill: lightgray;
}

#cart-goods {
  fill: grey;
  font: 70px serif;
}
@media (orientation: portrait) {
  #cart-goods {
    font: 90px serif;
  }
}
