@import url("./header.css");
@import url("./footer.css");
@import url("./leftSidebar.css");
@import url("./rightSidebar.css");
@import url("./theme.css");
@import url("./productPages.css");

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@font-face {
  font-family: Thixel;
  src: url("../assets/fonts/Thixel.otf");
}
@font-face {
  font-family: FontAwe;
  src: url("../assets/fonts/fa-solid-900.woff2");
}
@font-face {
  font-family: FontAweBrands;
  src: url("../assets/fonts/fa-brands-400.woff2");
}
@font-face {
  font-family: Sparkle;
  src: url("../assets/fonts/Star-Sparkle.ttf");
}

:root {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: var(--leftSidebarMenuTextColor);
}

a:hover {
  color: var(--mobileButtonCloseBackground);
}

ul {
  margin: 0;
  padding: 0;
}

main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: var(--mainBackground);
}

/*---------------------------------------------------------------------------------*/
/* Titles  */
.titleButton1 {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border-radius: 20px;
  position: relative;
  border: 2px solid var(--titleButton1Border);
  box-shadow: inset -3px -3px 10px var(--titleButton1Glow),
    4px 5px 18px -5px var(--titleButton1Shadow);
  -webkit-box-shadow: inset -3px -3px 10px var(--titleButton1Glow),
    4px 5px 18px -5px var(--titleButton1Shadow);
  -moz-box-shadow: inset -3px -3px 10px var(--titleButton1Glow),
    4px 5px 18px -5px var(--titleButton1Shadow);
  background: url(../assets/theme/button-background.png);
  z-index: 1;
}
.titleButton1::after {
  content: "";
  position: absolute;
  bottom: -20px;
  z-index: 3;
  width: 80px;
  height: 30px;
  background: url(../assets/theme/button-deco.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.titleButton1Text {
  font-family: "Thixel";
  color: var(--titleButton1TextColor);
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 23px;
  text-align: center;
  text-shadow: 3px 0 var(--titleButton1TextBorder),
    -3px 0 var(--titleButton1TextBorder), 0 3px var(--titleButton1TextBorder),
    0 -3px var(--titleButton1TextBorder), 2px 2px var(--titleButton1TextBorder),
    -2px -2px var(--titleButton1TextBorder),
    2px -2px var(--titleButton1TextBorder),
    -2px 2px var(--titleButton1TextBorder);
  cursor: default;
}
.titleButton2 {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border-radius: 20px;
  position: relative;
  border: 2px solid var(--titleButton2Border);
  box-shadow: inset -3px -3px 10px var(--titleButton2Glow),
    4px 5px 18px -5px var(--titleButton2Shadow);
  -webkit-box-shadow: inset -3px -3px 10px var(--titleButton2Glow),
    4px 5px 18px -5px var(--titleButton2Shadow);
  -moz-box-shadow: inset -3px -3px 10px var(--titleButton2Glow),
    4px 5px 18px -5px var(--titleButton2Shadow);
  background: url(../assets/theme/button-background2.png);
  z-index: 1;
}
.titleButton2::after {
  content: "";
  position: absolute;
  bottom: -20px;
  z-index: 3;
  width: 80px;
  height: 30px;
  background: url(../assets/theme/button-deco2.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.titleButton2Text {
  font-family: "Thixel";
  color: var(--titleButton2TextColor);
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 23px;
  text-align: center;
  text-shadow: 3px 0 var(--titleButton2TextBorder),
    -3px 0 var(--titleButton2TextBorder), 0 3px var(--titleButton2TextBorder),
    0 -3px var(--titleButton2TextBorder), 2px 2px var(--titleButton2TextBorder),
    -2px -2px var(--titleButton2TextBorder),
    2px -2px var(--titleButton2TextBorder),
    -2px 2px var(--titleButton2TextBorder);
  cursor: default;
}

.mainArea {
  width: 73.7%;
  background: var(--mainAreaBackground);
  box-shadow: inset 0 0 10px var(--mainAreaBorderColor);
}

.productCard {
  width: 250px;
  min-height: 270px;
  background: #fbf8fd;
  border: 1px solid var(--productBorderColor);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 0;
  position: relative;
}

.starBackground {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  top: 0;
  border-radius: 15px;
  background: url(../assets/theme/star-background.png);
  box-shadow: inset 0 0 10px var(--mainAreaBorderColor);
}

.productPicture {
  height: 200px;
  z-index: 1;
}

.productTitle {
  width: 80%;
  height: 60px;
  font-size: 15px;
  color: var(--leftSidebarMenuTextColor);
  font-weight: 500;
  font-family: "Poppins";
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.collectionItem {
  color: black;
  width: 130px;
  height: 20px;
  position: absolute;
  top: -10px;
  border: 1px solid var(--productBorderColor);
  border-radius: 10px;
  font-family: Thixel;
  text-transform: uppercase;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.itemPrice {
  color: var(--itemPriceTextColor);
  width: 130px;
  height: 28px;
  position: absolute;
  bottom: -10px;
  text-align: center;
  border-radius: 10px;
  font-family: Poppins;
  text-transform: uppercase;
  font-size: 19px;
  font-weight: 800;
  background: var(--itemPriceBackgroundColor);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.newIcon {
  content: url(../assets/icons/new.gif);
  width: 27px;
  height: 7px;
}

/*---------------------------------------------------------------------------------*/
/* AD Windows */
.adWindow {
  width: 97%;
  height: 200px;
  margin: 3px;
}

@media (max-width: 800px) {
  .mainArea {
    width: 100%;
  }
  .menuProductCategories {
    display: none;
  }
  .headerCategories {
    display: flex;
  }
  .productCard {
    width: 180px;
    min-height: 220px;
  }
  .productPicture {
    height: 150px;
  }
  #randomChoicesMobile .productPicture, #mostLovedMobile .productPicture {
    height: 200px;
  }
  .productTitle {
    font-size: 13px;
    line-height: 15px;
  }
  .titleButton1Text,
  .titleButton2Text {
    font-size: 25px;
  }
  .allColors {
  padding: 0;}
}

@media (max-width: 400px) {
  .productCard {
    width: 150px;
    min-height: 190px;
  }
  .productPicture {
    height: 130px;
  }
}
