/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_responsive_navbar_dropdown */

:root {
  --primary-darkest: hsl(0, 0%, 20%);
  --primary-dark: hsl(0, 0%, 60%);
  --primary-light: hsl(0, 0%, 80%);
  --primary-lightest: hsl(0, 0%, 95%);
  --green: hsl(120, 30%, 70%);
  --yellow: hsl(60, 50%, 80%);
  --red: hsl(0, 50%, 50%);
}

.logo {
  width: 80%;
  max-width: 200px;
}

.navigation {
  background-color: var(--primary-light);
  font-size: 2.0rem;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.responsive-menu,
.dropdown-button {
  border: none;
  background-color: var(--primary-light);
  color: var(--black);
  display: block;
  font-size: 2.0rem;
  font-family: "Times New Roman", Times, serif;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.menu {
  display: none;
}

.menu-item {
  color: var(--black);
  text-decoration: none;
  padding: 10px 40px;
  display: block;
}

.responsive-menu:hover,
.menu-item:hover {
  background-color: var(--primary-dark);
  text-decoration: underline;
}

.responsive-menu,
.dropdown-button {
  padding: 10px 20px;
}

.dropdown-content {
  display: none;
  background-color: var(--primary-light);
}

.menu-item-dropdown {
  padding: 5px 0 5px 60px;
}

.dropdown-show {
  display: block;
}

.arrow::before {
  color: inherit;
  content: "";
  border: solid;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  margin: 0 10px 4px 0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transition: 0.25s;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transition: 0.25s;
}

.down::before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin-bottom: 5px;
}

.panel-show {
  display: block;
}

.cart-shopping {
  /* display: inline-block; */
  /* height: 2.5rem;
    width: 2.5rem; */
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  position: relative;
}

.cart {
  position: absolute;
  right: 25px;
  top: -27px;
}

.cart-icon {
  /* font-size: 2.5rem; */
  height: 1.25rem;
  width: 1.25rem;
  /* vertical-align: -0.15rem; */
  margin: 0;
  padding: 0;
  stroke: black;
  /* color: black; */
}

.cart-count {
  /* font-size: 24px; */
  display: inline-block;
  vertical-align: 1px;
  font-size: 26px;
  /* color: white; */
  /* background-color: var(--link); */
  /* padding: 0 3px 0 3px; */
}

.cart:hover .cart-icon,
.cart:hover .cart-count {
  color: black;
  fill: black;
}

.invitation {
  border-bottom: 1px solid black;
  padding: 0 0 3px 0;
}

.button,
summary {
  cursor: pointer;
  display: inline-block;
  color: var(--black);
  text-align: center;
  font-family: inherit;
  font-size: var(--text-regular);
  padding: 10px 20px;
  border: 1px solid hsl(0, 0%, 50%);
  border-radius: 0px;
  background-color: var(--lightest);
  /* transition: all 0.25s; */
}

.button:focus {
  outline: none;
}

.button-wide,
summary {
  width: 100%;
  margin: 0 auto;
}

.button-small {
  display: inline-block;
  color: black;
  font-family: inherit;
  font-size: var(--text-smaller);
  padding: 2px 5px;
  margin: 30px 20px 0 20px;
  width: 45%;
  max-width: 100px;
}

.button-inline {
  font-size: var(--text-smaller);
  padding: 0 10px;
  margin: 0 0 0 20px;
}

.button-lighter {
  background-color: var(--lighter);
}

.button-green {
  background-color: var(--green);
}

.button-yellow {
  background-color: var(--yellow);
}

.button-red {
  background-color: var(--red);
  color: var(--black);
}

.button:hover,
summary:hover {
  filter: brightness(110%);
  border: 1px solid black;
}

.card {
  background-color: var(--primary-light);
}

.bullets {
  list-style: none;
}

.bullets li::before {
  content: "☑ ";
  font-size: 2.0rem;
  position: absolute;
  margin: -7px 0 0 -30px;
}

.bullets-sub {
  list-style: disc;
}

.footer a {
  color: white;
}

.footer a:hover {
  text-decoration: underline;
}

@media only screen and (min-width: 600px) {

  .responsive-menu {
    display: none;
  }

  .menu {
    display: block;
  }

  .dropdown,
  .menu-item {
    display: inline-block;
  }

  .dropdown-content {
    min-width: 200px;
    position: absolute;
    border: 1px solid black;
  }

  .menu-item-dropdown {
    /* width: 100%; */
    display: block;
    padding-right: 40px;
  }
}
