/* FONT IMPORT */
@import url('https://fonts.bunny.net/css?family=amethysta:400');
@import url('https://fonts.bunny.net/css?family=clicker-script');
  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #E0A6C3;
  --content-background-color: #FFDEEB;
  --sidebar-background-color: #FCC0D7;

  /* Text Colors: */
  --text-color: #000000;
  --sidebar-text-color: #000000;
  --link-color: #94003A;
  --link-color-hover: #500B66;

  /* Text: */
  --font: 'Amethysta', sans-serif;
  --heading-font: 'Amethysta', sans-serif;
  --font-size: 17px;
  

  /* Other Settings: */
  --margin: 14px;
  --padding: 20px;
  --border: 1px solid #6E021B;
  --round-borders: 4px;
  --sidebar-width: 214px;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("https://i.pinimg.com/1200x/c5/4d/4d/c54d4d385d87dc6dde0fb0f720062ee7.jpg");
  
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links: */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 1500px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header" auto "main" auto "footer" auto / auto;
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
}


/* carousel*/


.shelf-carousel-viewport {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
}


.shelf-track {
  display: flex;
  width: 300%; 
  transition: transform 0.6s ease;
}

.shelf-scene {
  width: 33.3333%;  
  flex-shrink: 0;
  position: relative;
}


.shelf-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.shelf-nav-btn {
  padding: 8px 18px;
  border: 2px solid var(--link-color);
  background: var(--content-background-color);
  color: var(--link-color);
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9em;
  transition: background 0.15s ease, color 0.15s ease;
}

.shelf-nav-btn.active {
  background: var(--link-color);
  color: #fff;
}

.shelf-nav-btn:hover {
  background: var(--link-color-hover);
  color: #fff;
}




/* shelf specifics!*/

body.shelf-page main {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.bathroom-page {
  position: relative;
  min-height: 100vh;
  padding: 40px;
}

.tile-background {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;    
  max-width: 90%;     
  height: 100%;
  max-height: 800px;
  background-image: url("images/tiles.jpg");
  background-repeat: repeat;
  background-size: 310px 310px;
  z-index: -1;
}

.page-title-box {
  max-width: 500px;
  margin: 0 auto 40px;
  padding: 20px 30px;
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
  text-align: center;
}

.page-title-box h1 {
  font-style: italic;
  letter-spacing: 6px;
  margin: 0;
  padding-bottom: 15px;
  border-bottom: 3px dashed var(--link-color);
}

.single-shelf {
  background-image: url("images/shelf.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  min-height: 700px;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index:2;
  filter: drop-shadow(0px 15px 12px rgba(0,0,0,0.35));
}

/* items */
.shelf-item {
  position: absolute;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.15s ease;
}

.shelf-item img {
  height: 100px;
  width: auto;
  filter: drop-shadow(1px 3px 4px rgba(0,0,0,0.25));
  display: block;
}

.item2 img{
  height: 130px;
  width: auto;
}

.item4 img{
  height: 150px;
  width: auto;
}

.item5 img{
  height: 130px;
  width: auto;
}

.item6 img{
  height: 150px;
  width: auto;
}

.item11 img{
  height: 80px;
  width: auto;
}

.shelf-item:hover {
  transform: scale(1.5);
  z-index: 50;
}

.shelf-item-info {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  width: 160px;
  background: var(--content-background-color);
  border: 1px solid var(--link-color);
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 100;
  text-align: left;
}

.shelf-item:hover .shelf-item-info {
  display: block;
}

.shelf-item-info h5 {
  text-align: center;
  font-size: 12px;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--link-color);
}

.shelf-item-info p {
  margin: 3px 0;
}

/* individual item positions */
.item1 {
  top: 220px;
  left: 100px;
}

.item2 {
  top: 210px;
  left: 180px;
}

.item3 {
  top: 220px;
  right: 150px;
}

.item4 {
  top: 200px;
  right: 80px;
}

.item5 {
 bottom: 220px;
  left: 80px;
}


.item6{
  bottom: 190px;
  left: 140px;
}

.item7{
  bottom: 230px;
  right: 160px;
}

.item8{
  bottom: 240px;
  right: 100px;
}

.item9{
  bottom: 100px;
  left: 100px;
}

.item10{
  bottom: 100px;
  right: 240px;
}

.item11{
  bottom: 100px;
  right: 160px;
}

.item12{
   bottom: 100px;
  right: 100px;
}
  

.floor-wrap {
  perspective: 400px;
  overflow: hidden;
  height: 220px;
  margin-top: -100px;
}

.floor-tiles {
  width: 140%;
  height: 300px;
  margin-left: -20%;
  background-image: url("images/floortile.png");
  background-repeat: repeat;
  background-size: 150px 150px;
  transform: rotateX(60deg);
  transform-origin: top;
  filter: drop-shadow(0 -4px 6px rgba(0,0,0,0.15));
  position:relative;
  z-index: 0;
  clip-path: polygon(
  20% 0%,     
  80% 0%,     
  80% 40%,   
  100% 100%,  
  0% 100%,    
  20% 40% );
}

/* vanity*/


.tile-background.vanity-tiles {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;    
  max-width: 90%;     
  height: 100%;
  max-height: 800px;
  background-image: url("images/vanity_tiles.jpg");
    background-repeat: repeat;
  background-size: 310px 310px;
  z-index: -1;
}


.vanity-shelf {
  background-image: url("images/vanity.png");
  background-size: 100% 100%;
  min-height: 1000px;
  min-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index:2;
}

.floor-tiles.vanity-floor {
  width: 140%;
  height: 300px;
  margin-left: -20%;
  background-image: url("images/vanity-floor.jpg");
  background-repeat: repeat;
  background-size: 150px 150px;
  transform: rotateX(60deg);
  transform-origin: top;
  filter: drop-shadow(0 -4px 6px rgba(0,0,0,0.15));
  position:relative;
  z-index: 0;
  clip-path: polygon(
  20% 0%,     
  80% 0%,     
  80% 40%,   
  100% 100%,  
  0% 100%,    
  20% 40% );
}


.floor-wrap.vanity {
  perspective: 400px;
  overflow: hidden;
  height: 220px;
  margin-top: -280px;
}


/* vanity items*/ 


.vitem2 img{
  height: 130px;
  width: auto;
}

.vitem3 img{
  height: 80px;
  width: auto;
}

.vitem4 img{
  height: 150px;
  width: auto;
}

.vitem5 img{
  height: 80px;
  width: auto;
}


/*position*/
  
.vitem1 {
  top: 370px;
  left: 100px;
}

.vitem2 {
  top: 360px;
  left: 150px;
}

.vitem3 {
  top: 390px;
  left: 220px;
}

.vitem4 {
  bottom: 350px;
  left: 280px;
}

.vitem5 {
 bottom: 390px;
right: 280px;
}


.vitem6{
  bottom:390px;
  right: 180px;
}

.vitem7{
  top: 380px;
  right: 340px;
}

.vitem8 {
  top: 375px;
  right: 380px;
}

.vitem9 {
 top: 370px;
  right: 400px;
}


.vitem10{
  top: 370px;
  right: 240px;
}

.vitem11{
  top: 380px;
  right: 190px;
}

.vitem12{
  top: 370px;
  right:60px;
}

.vitem13{
  top: 370px;
  right:130px;
}



/* perfumes*/

.perfume-shelf {
  background-image: url("images/perfume-shelf.png");
  background-size: 100% 100%;
  min-height: 800px;
  min-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index:2;
}


.floor-tiles.perfume {
  width: 140%;
  height: 300px;
  margin-left: -20%;
  background-image: url("images/vanity-floor.jpg");
  background-repeat: repeat;
  background-size: 150px 150px;
  transform: rotateX(60deg);
  transform-origin: top;
  filter: drop-shadow(0 -4px 6px rgba(0,0,0,0.15));
  position:relative;
  z-index: 0;
  clip-path: polygon(
  20% 0%,     
  80% 0%,     
  80% 40%,   
  100% 100%,  
  0% 100%,    
  20% 40% );
}


.floor-wrap.perfume {
  perspective: 400px;
  overflow: hidden;
  height: 220px;
  margin-top: -215px;
}
.nitem1 img{
  height: 130px;
  width: auto;
}

.nitem2 img{
  height: 130px;
  width: auto;
}


.nitem1{
  top: 230px;
  right:90px;
}

.nitem2{
  bottom:220px;
  left:205px;
}

.nitem3{
  top: 355px;
  right:120px;
}

.nitem4{
  bottom: 220px;
  left:130px;
}

.nitem5{
  top: 380px;
  right:230px;
}


/* back button*/

.back-postcard {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 500;
  display: block;
  transition: transform 0.15s ease;
}

.back-postcard img {
  width: 90px;
  height: auto;
  filter: drop-shadow(2px 3px 5px rgba(0,0,0,0.3));
  transform: rotate(-6deg);
}

.back-postcard:hover img {
  transform: rotate(-2deg) scale(1.05);
}

.back-postcard-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--link-color);
  color: #fff;
  font-size: 0.75em;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.back-postcard:hover .back-postcard-label {
  opacity: 1;
}


/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "leftSidebar" auto "main" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  
  .right-sidebar { 
    display: none;
  }

  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}