@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
   overflow-x: hidden;
  overflow-y: auto;
} 

html, body {
  width: 100%;
  height: 100%;
  font-family: 'EB Garamond', serif;
 
}

body {
  display: flex;
  flex-direction: column;
}

.top {
    background-color: #1a1008;
    padding: 32px 48px;
    flex-shrink: 0;
}

.top h1 {
  font-size: 42px;
  color: #e8d5a3;
  font-weight: 400;
  letter-spacing: 0.05em;

}

.top p {
  font-size: 15px;
  color: #9a8060;
  margin-top: 6px;
}

.shelf-area > * {
  max-width: 800px;
}
.shelf-area {
  background-image: url('assets/wood.png');
  flex: 1;
  gap: 25px;
  background-size: cover;
  position: relative;
  background-position: center;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shelf-label {
  font-size: 20px;
  color: #2a1a08;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  justify-content: flex-start;
  margin-bottom: 16px;
  opacity: 0.7;
}
 /* everthing for all the shelfs cuz apparently it was dumb to use diff classes for em */

 .shelf > * {
  height: 80px;
  width:auto;
  cursor: pointer;
  transition: transform 0.2s;
 }
.shelf > *:hover {
  transform: translateY(-6px);
}


.shelf {
  display: flex;
  align-items: flex-end;
  min-height: 115px;
  gap: 28px;
  background-color: #5a3210;
  border-top: 6px solid #3a1f08;
  padding: 16px 20px 10px 20px;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);

}
.slotbook1, .scroll1, .musicpage, .drawframe, .hourglass, .paw {
  position: relative;
}

.scroll1 img {
  width: 100%;
  height: 80px;
}
.slotbook1 img {
  height: 100%;
  width: auto;
}
.musicpage img {
  height: 100%;
  width: 100%;
}

.drawframe img {
  height:100%;
  width: 100%;
}

.slotbook1 {
  height: 100%;
}
.camera1 {
  position: relative;
}
.camera1 img {
  height: 100%;
  width: auto;
}
.paw img {
  height: 100%;
  width: 100%;
}
.pijoncage {
  position:relative;
}
.pijoncage img {
  height:100%;
  width: 100%;
}
.dino {
  position: relative;
}
.dino img {
  height: 100%;
  width: 100%;
}
.whiteboard {
  position: relative;
}
.whiteboard img {
  height: 100%;
  width: 100%;
}

#omnitrix, #omnitrixopen {
  transition: opacity 0.3s ease;
}

.banner {
  position: absolute;
  right: 5%;
  top: 10%;
}
.banner img {
  height: 620px;
  width: 400px;
  z-index: 10;
}
@media (max-width: 1200px) {
  .banner {
    position: static;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .banner img {
    height: auto;
    width: 60%;
  }
}
.hourglass img {
     height: 85px;
     width: 85px;
}

.dirt {
  position: relative;
  height: 85px;
  width: 85px;
}

.dirt img {
  position:absolute;
  height: 100%;
  width: 100%;
}
.watch {
  position: relative;
  height: 75px;
  width: 70px;
}
.watch img {
  height: 100%;
  width: 100%;
  position: absolute;
  top:0;
  left:0;
  transition: opacity 0.3s ease;
}


footer {
  background-color: #1a1008;
  padding: 24px 48px;
  text-align: center;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: #9a8060;
  letter-spacing: 0.15em;
  text-transform: uppercase;

}

.footer2 {
  background-color: #0f0804;
  padding: 16px 48px ;
  text-align: center;
  font-size: 14px;
  color: #7c5740;
  letter-spacing: 0.1em;
}

.descriptions {
  display: none;
  position: absolute;
  bottom:110%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1008;
  color:#e8d5a3;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 3px;
}
.slotbook1:hover .descriptions {
  display: block;
}
.scroll1:hover .descriptions{
  display: block;
}
.musicpage:hover .descriptions{
  display: block;
}
.drawframe:hover .descriptions {
  display: block;
}
.camera1:hover .descriptions {
  display:block;
}
.paw:hover .descriptions {
  display:block;
}
.pijoncage:hover .descriptions {
  display:block;
}
.hourglass:hover .descriptions {
  display: block;
}
.dirt:hover .descriptions {
  display:block;
}
.watch:hover .descriptions {
  display: block;
}
#dino:hover .descriptions {
  display: block;
}
.whiteboard:hover .descriptions {
  display: block;
}
.socials:hover .descriptions {
  display:block;
}

.pigeon {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  align-items:center;
  flex-direction: row-reverse;
  gap: 8px;
}

#pigeon-btn {
   font-size: 50px; 
   cursor:pointer;
}

.words-scroll {
  background: #f0e0c0;
  color: #3d2d1e;
  font-family: georgia , serif;
  font-size: 12px;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  max-width:0;
  max-height: 36px;
  border-radius: 4px;
  transition: max-width 0.6s ease, padding 0.4s ease;
}
.words-scroll.open {
  max-width: 400px;
  padding: 8px 12px;
}

#flash {
  position:fixed;
  inset: 0;
  background: #00ff00;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.1s ease;
}

#flash.active {
  animation: greenflash 0.6s ease-out forwards;

}
@keyframes greenflash {
  0% {opacity: 0.7;}
  100% {opacity: 0;}
}
