:root {
  --green:            hsl(167,    35%,    50%);
  --green-light:      hsl(136,    35%,    80%);
  --green-light-tint: hsl(136,    35%,    76%);
  --green-lighter:    hsl(136,    35%,    90%);
  --green-tint:       hsl(136,    35%,    98.5%);
  --pink:             hsl(330,    35%,    50%);
  --pink-light:       hsl(330,    35%,    90%);
  --pink-tint:        hsl(330,    35%,    98.5%);
  --grey:             hsl(206.9,  11.5%,  50.4%);
  --grey-light:       hsl(206.9,  11.5%,  80%);
  --grey-lighter:     hsl(206.9,  11.5%,  96%);
  --text-dark:        hsl(0,      0%,     10%);
  --text-light:       var(--green-tint);
  --ongoing:          lightgoldenrodyellow;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  display: block; /*lookback*/
  width: 100%;
  height: auto;
  pointer-events: none;
}

small {
  font-size: .6rem;
  color: var(--green-tint);
  justify-self: center;
  margin-bottom: .3em;
}

body {
  color: var(--text-dark);
  justify-items: center;
  font-size: 16px;
  font-size: clamp(1rem, 1.2vw, 1.125rem); /* temp */
}

header {
  position: inherit; /* standard */
}

.header-top {
  width: 100%;
  display: grid;
  background-color: var(--green);
  color: white;
  align-items: center;
  grid-template-areas: "social-media announcement";
  grid-template-columns: 1fr 3fr;
  padding: .3rem 0;
}
.header-top__social {
  grid-area: social-media;
  justify-self: center;
  display: flex
}
.header-top__announcement {
  grid-area: announcement;
  justify-self: start;
  font-size: .8rem;
}

.header-nav {
  position: sticky;
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: space-between;
  background-color: var(--green-tint);
  grid-template-areas: "gleft gcenter gright";
  grid-template-columns: 1fr 3fr 1fr;
  padding: 1rem 0;
  top: 0;
  z-index: 99;
}
.header-nav__logo {
  grid-area: gcenter;
  justify-self: center;
}
.header-nav__logo img {
  height: 4rem;
}
.nav-icon {
  grid-area: gright;
  justify-self: center;
}
.nav-icon img {
  height: 1rem;
}

:root {
  --bar-width: 1rem;
  --bar-height: .2rem;
  --burger-gap: .15rem;
  --burger-foreground: var(--green);
  --burger-background: var(--green-tint);
  --animation-time: 150ms ease-in-out;
  --burger-height: calc((var(--bar-height) * 3) + (var(--burger-gap) * 2));
}
.burger-menu {
  --x-width: calc(var(--burger-height) * 1.41421356237);
  grid-area: gleft;
  display: flex;
  flex-direction: column;
  gap: var(--burger-gap);
  width: max-content;
  position: absolute;
  justify-self: center;
  cursor: pointer;
}
.burger-menu::before,
.burger-menu input,
.burger-menu::after {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background: var(--burger-foreground);
  transform-origin: left center;
  border-radius: 9999px;
  transition: opacity var(--animation-time), width var(--animation-time);
}

.burger-menu input {
  appearance: none;
  margin: 0;
  padding: 0;
  outline: none;
  pointer-events: none;
}
.burger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}
.burger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}
.burger-menu input:checked {
  opacity: 0;
  width: 0;
}
.burger-menu:has(input:checked) + .sidemenu {
  transform: translateX(0);
}

.sidemenu {
  color: white;
  position: absolute;
  transform: translateX(-100%);
  width: 100vw;
  height: calc(100vh - 6rem);
  transition: var(--animation-time);
  z-index: 9;
  top: 6rem; left: 0;
  background-color: var(--green-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.sidemenu ul {
  height: 80%;
  padding: 2rem;
}
.sidemenu li {
  padding-bottom: 1.2rem;
  list-style: none;
}
.sidemenu a {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 800;
  text-decoration: none;
}
.sidemenu__social {
  background-color: var(--green-light-tint);
  display: flex;
  align-items: start;
  height: 20%;
}
.sidemenu__social a {
  padding: 1rem;
  margin: 1rem;
}
.sidemenu__social img {
  height: 1.4rem;
  width: 1.4rem;
}

@media (max-width: 1080px) and (orientation: landscape) {
  .header-nav {
    padding: .5rem 0;
  }
  .header-nav__logo img {
    height: 1.5rem;
  }
  .sidemenu {
    top: 2.5rem;
    overflow-y: auto;
    height: calc(100vh - 2.5rem);
    width: 100vw;
    justify-content: space-between;
  }
}

main {
  width: 100%; /* check about not setting width */
}

.hero {
  position: relative;
  background-color: var(--grey-lighter);
  padding: 2rem .5rem;
}
.hero_text {
  position: absolute;
  font-size: 5.5vw;
  font-weight: 800;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
}
.sub-hero {
  height: 2rem;
  background-color: var(--green-light);
}

.main-top {
  position: relative;
  height: 3.5rem;
  background-color: var(--green);
}
.main-top p {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--green-tint);
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
}

.top-product,
.product,
.package,
.promo,
.social {
  padding: 2rem 0;
}

.top-product {
  background-color: var(--green-tint);
}

.howto {
  background-color: var(--grey);
  padding: 2rem 1rem;
}

.product {
  position: inherit; /* standard */
}

.product-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: .5rem;
}
.product-subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin: 0 0 1em .5rem;
}

.productbox {
  display: flex;
  padding-left: .4rem;
  gap: 1.5rem .5rem;
  flex-wrap: wrap;
}
.productbox__item {
  flex: 1 1 calc(50% - .5rem);
  max-width: calc(50% - .5rem);
}
.productbox__image {
  display: block;
  width: 100%;
  height: auto;
}
.productbox__name {
  font-size: 1rem;
  margin-top: .6em;
  font-weight: 800;
  margin-bottom: .2em;
}
.productbox__desc {
  font-size: 0.9rem;
  font-weight: 300;
}
.productbox__price {
  font-size: 1.3rem;
  font-weight: 500;
}
.productbox__order {
  font-size: 1.2rem;
  background-color: inherit;
  width: 100%;
  padding: .3em 0;
  border: 2px solid var(--green);
  color: var(--green);
  margin-top: 1.2em;
}
.productbox__image--circle {
  border-radius: 50%;
}
.productbox--tight {
  gap: .8rem;
}
.productbox--scroll {
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: .5rem;
  scroll-padding-inline-end: .5rem;
  overflow-x: auto;
  padding: .5rem .5rem .8rem .5rem;
  scrollbar-width: none;
}
.productbox__item--scroll {
  scroll-snap-align: start;
  flex: 1 1 45%;
  max-width: 45%;
  flex-shrink: 0;
}

.productpage {
  margin: 0 .5rem;
}
.productpage__order {
  width: 100%;
}
.productpage__name {
  font-size: 1.5em;
  margin-top: .4em;
}
.productpage__desc {
  font-weight: 400;
}
.productpage__price {
  margin-top: 1em;
}
.productpage__order {
  font-size: 1.2rem;
  background-color: var(--green);
  width: 20rem;
  padding: .3em 0;
  border: none;
  color: var(--green-tint);
}
.productpage__story {
  margin-top: 1rem;
}
.productpage__story p {
  margin-top: .5em;
}

.productbox-scrollbar {
  text-align: center;
  font-size: .9rem;
  white-space: pre;
  margin-top: 1rem;
}
.productbox-scrollbar span {
  color: var(--grey);
}

.product .productbox__image {
  clip-path: circle(42% at 50% 50%); /* temp */
}

.promo {
  width: 100%;
  position: relative;
  display: block;
  background-color: var(--green-tint);
  text-align: center;
}
.promo img {
  max-height: 50rem;
}
.promo a {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  z-index: 9;
}

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

.social {
  display: block;
  position: relative;
  min-height: 12rem;
  background-color: var(--grey-light);
}

.centerstage {
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.centerstage h2 {
  margin-bottom: .8em;
}
.centerstage a {
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  justify-self: center;
}
.centerstage a img {
  height: 1rem;
  width: 1rem;
}
.centerstage span {
  font-weight: 900;
  color: var(--text-dark);
}

.main-bottom {
  height: 2rem;
  background-color: var(--green);
}

footer {
  display: grid;
  width: 100%;
  background-color: var(--grey);
  padding: 2em;
}

footer p {
  margin: 2rem 0;
  color: var(--green-tint);
}

.footer-menu {
  position: inherit;
}
.footer-menu ul {
  list-style-type: none;
}
.footer-menu li {
  padding: .3em 0;
}
.footer-menu a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--green-tint);
  cursor: pointer;
}

.logo-footer {
  justify-self: center;
  height: 8rem;
  margin-bottom: 1rem;
}

.social-footer {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  justify-self: center;
  margin-bottom: 2rem;
}
.social-footer img {
  height: 1.3rem;
  width: 1.3rem;
}

