/*---------------------------------------------------------------------------------*/
/* Homepage Carousel */
.homepageCarousel {
  width: 100%;
  height: 750px;
  position: relative;
  background: url(../assets/theme/carousel-background.png);
}
.homepageCarouselDeco {
  height: 60px;
  background: url(../assets/theme/carousel-deco.gif);
  background-repeat: repeat-x;
}
.homepageCarouselBorder {
  width: 96%;
  height: 90%;
  padding: 1%;
  border-radius: 30px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--homepageCarouselBackgroundColor);
  outline: 4px dashed var(--homepageCarouselBorderColor);
}
@keyframes display {
  0% {
    transform: translateX(200px);
    opacity: 0;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  20% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(-200px);
    opacity: 0;
  }
}
.homepageCarouselPictures {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid var(--homepageCarouselPicturesBorderColor);
}
.homepageCarouselPictures > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  opacity: 0;
  animation: display 10s infinite;
}
.homepageCarouselPictures img:nth-child(2) {
  animation-delay: 2s;
}
.homepageCarouselPictures img:nth-child(3) {
  animation-delay: 4s;
}
.homepageCarouselPictures img:nth-child(4) {
  animation-delay: 6s;
}
.homepageCarouselPictures img:nth-child(5) {
  animation-delay: 8s;
}
.homepageCarouselDeco {
  width: 100%;
  position: absolute;
  bottom: -30px;
}

/*---------------------------------------------------------------------------------*/
/* Homepage News */
.homepageRecentProducts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 100px 0;
  position: relative;
}

/*---------------------------------------------------------------------------------*/
/* Recent Products */
#homepageRecentProductsGrid {
  width: 100%;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 50px;
}

/*---------------------------------------------------------------------------------*/
/* How to Use the Materials */
.howToUse {
  width: 100%;
  background-color: var(--howToUseBackgroundColor);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
  padding: 50px 0 100px;
  box-shadow: inset 0 0 10px var(--howToUseSectionGlow);
  position: relative;
}
.howToUseStarOverlay {
  width: 100%;
  height: 99%;
  background: url(../assets/theme/star-background.png);
  position: absolute;
  z-index: 0;
  bottom: 0;
  opacity: 0.8;
}
.howToUseStarIcon {
  height: 100px;
  width: 250px;
  background: url(../assets/theme/star.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 20px;
  top: -50px;
}
.howToUseGrid {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  z-index: 1;
}
.howToUseCard {
  width: 20%;
  background: white;
  outline: 3px dotted var(--howToUseCardBorder);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 50px 0 20px;
  border-radius: 10px;
  position: relative;
  border: 15px solid transparent;
  border-image: url(../assets/theme/how-to-use-card-border.png) 50 round;
  border-image-outset: 1;
}
.howToUseCardDeco {
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  height: 20px;
  background: url(../assets/theme/how-to-use-card-deco.gif);
  background-repeat: repeat;
  background-repeat: repeat-x;
}
.howToUseCardImage {
  height: 100px;
}
.howToUseCardText {
  font-family: "Poppins";
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  cursor: default;
}
.howToUseCardText span {
  border-bottom-style: dotted;
  border-bottom-color: var(--howToUseCardTextDecoration);
}
.howToUseDeco {
  height: 100px;
  width: 120px;
  background: url(../assets/theme/section-deco.gif);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 10px;
  top: -110px;
}
.howToUseDeco2 {
  width: 100%;
  height: 42px;
  background: url(../assets/theme/how-to-use-deco.gif);
  background-repeat: repeat;
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0;
  z-index: 1;
}
.howToUseCardDecoration {
  height: 20px;
  background: url(../assets/theme/how-to-use-deco.gif);
  background-repeat: repeat;
  background-repeat: repeat-x;
}

/*---------------------------------------------------------------------------------*/
/* Collection Showcase */
.collectionShowcase {
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.collectionShowcaseCard {
  width: 50%;
  height: 50%;
}
.collectionShowcaseCardDashedBorder {
  width: 94%;
  height: 90%;
  background: white;
  padding: 1%;
  border-radius: 30px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  outline: 4px dotted white;
  outline-offset: -10px;
}
.collectionShowcaseCardGradient1 {
  background: var(--collectionShowcaseCardGradient1);
}
.collectionShowcaseCardGradient2 {
  background: var(--collectionShowcaseCardGradient2);
}
.collectionShowcaseCardGradient3 {
  background: var(--collectionShowcaseCardGradient3);
}
.collectionShowcaseCardGradient4 {
  background: var(--collectionShowcaseCardGradient4);
}
.collectionShowcaseCardContent {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}
.collectionShowcaseCardBackground1 {
  background: url(../assets/marketing/collection-background1.png);
}
.collectionCardImage1 {
  background: url(../assets/marketing/collection1.jpg);
  background-size: cover;
  background-position: center;
}
.collectionShowcaseCardBackground2 {
  background: url(../assets/marketing/collection-background2.png);
}
.collectionCardImage2 {
  background: url(../assets/marketing/collection2.jpg);
  background-size: cover;
  background-position: center;
}
.collectionShowcaseCardBackground3 {
  background: url(../assets/marketing/collection-background3.png);
}
.collectionCardImage3 {
  background: url(../assets/marketing/collection3.jpg);
  background-size: cover;
  background-position: center;
}
.collectionShowcaseCardBackground4 {
  background: url(../assets/marketing/collection-background4.png);
}
.collectionCardImage4 {
  background: url(../assets/marketing/collection4.jpg);
  background-size: cover;
  background-position: center;
}

/*---------------------------------------------------------------------------------*/
/* Planner Yourself Today */
.homepagePlannerSection {
  width: 100%;
  background: var(--mainAreaBackground);
  box-shadow: inset 0 0 10px var(--mainAreaBorderColor);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  position: relative;
}
#homepagePlannersGrid {
  width: 100%;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 50px;
}
.homepagePlannerSectionDeco {
  width: 100%;
  height: 45px;
  background: url(../assets/theme/planner-section-deco.gif);
  background-repeat: repeat-x;
  position: absolute;
  top: 10px;
}
.homepagePlannerSectionDeco2 {
  height: 100px;
  width: 150px;
  background: url(../assets/theme/planner-section-deco2.gif);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  bottom: -20px;
  z-index: 2;
}

/*---------------------------------------------------------------------------------*/
/* Mundo Cor de Rosa */
.pinkWorldSection {
  width: 100%;
  background: var(--mainAreaBackground);
  box-shadow: inset 0 0 10px var(--pinkWorldSectionGlow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  position: relative;
}
.pinkWorldOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background: url(../assets/theme/pink-world-background.jpg);
  background-size: cover;
  opacity: 0.3;
}
.pinkWorldDeco {
  width: 100%;
  height: 56px;
  background: url(../assets/theme/pink-world-deco.webp);
  background-repeat: repeat-x;
  position: absolute;
  top: 0;
  z-index: 1;
}
.pinkWorldDeco2 {
  width: 100%;
  height: 56px;
  background: url(../assets/theme/pink-world-deco.webp);
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0;
  transform: scaleY(-1);
  z-index: 1;
}
.pinkWorldBox {
  width: 95%;
  background: #fff;
  position: relative;
  top: -20px;
  padding-bottom: 40px;
  border-radius: 20px;
  outline: 3px dotted var(--pinkWorldBoxOutline);
}
#pinkWorldGrid {
  width: 100%;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 50px;
}

/*---------------------------------------------------------------------------------*/
/* Combos */
.homepageComboSection {
  width: 100%;
  background: var(--mainAreaBackground);
  box-shadow: inset 0 0 10px var(--mainAreaBorderColor);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  position: relative;
}
#homepageCombosGrid {
  width: 100%;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 50px;
}


@media (max-width: 1600px) {
  .homepageCarouselBorder {
    height: 93%;
  }
  .homepageCarouselDeco {
    bottom: -40px;
  }
  .homepageRecentProducts .titleButton1,
  .homepageRecentProducts .titleButton2,
  .howToUse .titleButton1,
  .howToUse .titleButton2,
  .homepagePlannerSection .titleButton1,
  .homepagePlannerSection .titleButton2,
  .pinkWorldSection .titleButton1,
  .pinkWorldSection .titleButton2 {
    width: 60%;
  }
  .howToUseCard {
    min-height: 250px;
  }
}

@media (max-width: 1200px) {
  .homepageCarouselBorder {
    padding: 7px 7px 12px;
  }
  .howToUseGrid {
    flex-direction: column;
    gap: 40px;
  }
  .howToUseCard {
    width: 90%;
    min-height: auto;
    flex-direction: row;
  }
  .howToUseCardText {
    width: 80%;
  }
  .howToUseStarIcon {
    width: 200px;
    height: 90px;
  }
}

@media (max-width: 1000px) {
  .homepageCarousel {
    height: 650px;
  }
  .homepageCarouselBorder {
    width: 93%;
    height: 90%;
  }
  .homepageCarouselDeco {
    bottom: -30px;
  }
  .howToUseDeco {
    top: -100px;
  }
  .collectionShowcase {
    height: 700px;
  }
}

@media (max-width: 800px) {
  .homepageCarousel {
    height: 40vh;
  }
  .howToUseGrid {
    width: 90%;
  }
  .homepageRecentProducts .titleButton1,
  .homepageRecentProducts .titleButton2,
  .howToUse .titleButton1,
  .howToUse .titleButton2,
  .homepagePlannerSection .titleButton1,
  .homepagePlannerSection .titleButton2,
  .pinkWorldSection .titleButton1,
  .pinkWorldSection .titleButton2 {
    width: 80%;
  }
}

@media (max-width: 700px) {
  .collectionShowcase {
    height: auto;
  }
  .collectionShowcaseCard {
    width: 100%;
    height: 500px;
  }
}

@media (max-width: 500px) {
  .howToUseCard {
    flex-direction: column;
  }
  .howToUseCardText {
    width: auto;
  }
  .collectionShowcaseCard {
    height: 350px;
  }
  .homepagePlannerSectionDeco2 {
    width: 120px;
  }
}
