#new-products {
  margin-bottom: 5rem;
}

#product-container {
  --closed-width: 8rem;
  display: grid;
  /* Using repeat breaks first open animation */
  grid-template-columns: max(var(--closed-width), 100% - var(--closed-width) * 5) var(--closed-width) var(--closed-width) var(--closed-width) var(--closed-width) var(--closed-width);
  width: 80%;
  aspect-ratio: 5/2;
  margin: 0 auto;
  margin-top: 10rem;
  transition: grid-template-columns 0.5s;
  min-height: 40rem;
}

#product-container .section {
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 0.5s;
  position: relative;
  overflow: hidden;
}

#product-container .section > div {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#product-container .section:last-of-type > div:first-child {
  display: flex;
  align-items: center;
}

#product-container .section img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
  position: relative;
}

#product-container .section:first-of-type {
  --color: var(--moduform-teal);
}

#product-container .section:nth-of-type(2) {
  --color: var(--moduform-blue);
}

#product-container .section:nth-of-type(3) {
  --color: var(--moduform-green);
}

#product-container .section:nth-of-type(4) {
  --color: var(--moduform-red);
}

#product-container .section:nth-of-type(5) {
  --color: var(--moduform-pink);
}

#product-container .section:nth-of-type(6) {
  --color: var(--moduform-orange);
}

#product-container .section:nth-of-type(7) {
  --color: var(--moduform-yellow);
}

#product-container .section .overlay {
  background-color: var(--color);
}

#product-container > .section .overlay {
  transition: background-color 0.5s;
}

#product-container > .section.active .overlay {
  background-color: transparent;
  transition: background-color 0.5s;
}

#product-container > .section .date-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 0;
  width: var(--closed-width);
  gap: 1.5rem;
  padding-top: 3rem;
}

#product-container > .section .date-container div {
  height: 1.25rem;
  width: 1.25rem;
  background-color: white;
  transition: background-color 0.5s;
  transform: scale(1);
  transition: transform 0.5s;
}

#product-container > .section .date-container h4 {
  font-family: "ModuSans Regular", sans-serif;
  font-size: 1.75rem;
  writing-mode: vertical-rl;
  margin: 0;
  margin-right: 0.1rem;
  font-weight: normal;
  color: white;
  transition: color 0.5s;
  transform: scale(1);
  transition: transform 0.5s;
}

#product-container > .section.active .date-container h4 {
  font-family: "ModuSans Semibold", sans-serif;
}

#product-container > .section.active .date-container div {
  background-color: var(--color);
}
#product-container > .section.active .date-container h4 {
  color: var(--color);
}

#product-container > .section:hover:not(.active) {
  transform: scaleX(1.1);
  transition: transform 0.1s;
  z-index: 20;
  cursor: pointer;
}
#product-container > .section:hover:not(.active) h4 {
  font-family: "ModuSans Semibold";
}

#product-container > .section:hover:not(.active) .date-container div {
  transform: scaleY(1.1);
  transition: transform 0.1s;
}

#product-container > .section:hover:not(.active) .date-container h4 {
  transform: scaleY(1.1) translateY(0.15rem);
  transition: transform 0.1s;
}

#accordion-intro-container {
  position: relative;
  display: flex;
  gap: 3vw;
  width: 80%;
  margin: 0 auto;
  z-index: 50;
  pointer-events: none;
}

#accordion-intro-container h1 {
  font-size: max(7.5vw, 8rem);
  margin: 0;
  font-family: "Modusans Semibold", sans-serif;
  font-weight: 400;
  position: relative;
  transform: translateY(-14%);
  color: var(--moduform-teal);
  line-height: 1;
  height: -moz-fit-content;
  height: fit-content;
}

#history-info {
  margin-top: 2rem;
}

#history-info > div {
  display: flex;
  gap: 1rem;
}

#history-info > div:first-of-type {
  margin-bottom: 1.5rem;
}

#history-info ul {
  --li-color: var(--moduform-teal);
}

#history-info li {
  position: relative;
  list-style-type: none;
  max-width: 40rem;
  font-size: 1.6rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  font-family: "Carbona", sans-serif;
  color: black;
}
#history-info li::before {
  content: "";
  height: 1rem;
  width: 1rem;
  top: 0.6rem;
  left: -2rem;
  position: absolute;
  background-color: var(--li-color);
}
#history-info li a {
  color: black;
  text-decoration: none;
  pointer-events: all;
  text-decoration-color: black;
  cursor: pointer;
}
#history-info li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1200px) {
  #product-container {
    width: 90%;
    --closed-width: 5rem;
  }
  #accordion-intro-container {
    width: 90%;
  }
}
@media screen and (max-width: 1000px) {
  #product-container {
    width: 95%;
  }
  #accordion-intro-container {
    width: 95%;
  }
}
#mobile-accordion-container {
  max-width: 450px;
  margin: 0 auto;
}

#mobile-accordion-container .section:first-of-type {
  background-color: var(--moduform-teal);
}

#mobile-accordion-container .section:nth-of-type(2) {
  background-color: var(--moduform-blue);
}

#mobile-accordion-container .section:nth-of-type(3) {
  background-color: var(--moduform-green);
}

#mobile-accordion-container .section:nth-of-type(4) {
  background-color: var(--moduform-red);
}

#mobile-accordion-container .section:nth-of-type(5) {
  background-color: var(--moduform-pink);
}

#mobile-accordion-container .section:nth-of-type(6) {
  background-color: var(--moduform-orange);
}

#mobile-accordion-container .section:nth-of-type(7) {
  background-color: var(--moduform-yellow);
}

#mobile-history-contianer .section {
  --height: 0;
}

#mobile-accordion-container .section h4 {
  margin: 0;
}

#mobile-accordion-container .section ul {
  margin-bottom: 4rem;
  margin-left: 15%;
}

#mobile-accordion-container .section li {
  font-family: "Carbona", sans-serif;
  list-style-type: none;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  width: 80%;
  padding-right: 2rem;
  position: relative;
  line-height: 1.4;
  color: black;
}
#mobile-accordion-container .section li::before {
  content: "";
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  background-color: black;
  top: 0.3rem;
  left: -2rem;
}
#mobile-accordion-container .section li a {
  color: black;
  text-decoration: none;
  text-decoration-color: black;
}
#mobile-accordion-container .section li a:hover {
  text-decoration: underline;
}

#mobile-accordion-container .section img {
  width: 100%;
  font-family: "Modusans Semibold", sans-serif;
  font-weight: 400;
}

#mobile-accordion-container .section .closed-overlay {
  display: flex;
  padding: 2rem;
  cursor: pointer;
}
#mobile-accordion-container .section .closed-overlay h4 {
  font-family: "Modusans Semibold", sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  margin-left: 1rem;
  color: white;
}
#mobile-accordion-container .section .closed-overlay div {
  height: 1rem;
  width: 1rem;
  background-color: white;
}

#mobile-accordion-container .section .open-overlay img {
  position: relative;
}

#mobile-accordion-container .section .open-overlay > img {
  vertical-align: middle;
  margin-bottom: 1rem;
  top: -0.85rem;
}

#mobile-accordion-container .section .open-overlay {
  height: 0;
  overflow: hidden;
  animation: close 0.5s;
}

#mobile-accordion-container .section.active .closed-overlay {
  display: none;
}
#mobile-accordion-container .section.active .open-overlay {
  height: auto;
  animation: open 0.5s;
}

@keyframes close {
  0% {
    height: var(--height);
  }
  99.99% {
    height: 0;
  }
  100% {
    height: 0;
    display: none;
  }
}
@keyframes open {
  0% {
    height: 0;
    display: block;
  }
  99.99% {
    height: var(--height);
  }
  100% {
    height: auto;
  }
}
#mobile-accordion-container {
  display: none;
}

@media screen and (max-width: 767px) {
  #new-products {
    margin-bottom: 0;
  }
  #product-container {
    display: none;
  }
  #mobile-accordion-container {
    display: block;
  }
  #accordion-intro-container {
    display: none;
  }
}/*# sourceMappingURL=accordion-component-style.css.map */