/*basic*/
  img {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
 
}

 body {
  font-family: "Courier New", Courier, monospace; 
  
}

#loading-screen {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("home/loading_screen.png"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 260px;
  height: 260px;
  animation: spin 5s linear infinite;
}


@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body.loaded #loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}



::-webkit-scrollbar {
  width: 8px;   /* vertical scrollbars */
  height: 8px;  /* horizontal scrollbars */
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(186, 140, 154, 0.8);
  border-radius: 4px;    
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(186, 140, 154, 1);
}
     
     





/*basic end*/



/*fonts*/
@font-face {
  font-family: 'cursive';
  src: url('fonts/cursive.woff2') format('woff2'),
       url('fonts/cursive.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-cursive {
  font-family: 'cursive', cursive;
}

@font-face {
  font-family: 'lolita';
  src: url('fonts/lolita.woff2') format('woff2'),
       url('fonts/lolita.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.font-lolita {
  font-family: 'lolita', cursive;
}

@font-face {
  font-family: 'cross stitch';
  src: url('fonts/cross_stitch.woff2') format('woff2'),
       url('fonts/cross_stitch.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-cross-stitch {
  font-family: 'cross stitch', cursive;
}


@font-face {
  font-family: 'typekeys';
  src: url('fonts/typekeys.woff2') format('woff2'),
       url('fonts/typekeys.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-typekeys {
  font-family: 'typekeys', cursive;
}

@font-face {
  font-family: 'mythos';
  src: url('fonts/mythos.woff2') format('woff2'),
       url('fonts/mythos.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-mythos {
  font-family: 'mythos', cursive;
}

@font-face {
  font-family: 'vines';
  src: url('fonts/vines.woff2') format('woff2'),
       url('fonts/vines.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-vines {
  font-family: 'vines', cursive;
}

@font-face {
  font-family: 'ghosts';
  src: url('fonts/ghosts.woff2') format('woff2'),
       url('fonts/ghosts.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-ghosts {
  font-family: 'ghosts', cursive;
}

@font-face {
  font-family: 'blackletter';
  src: url('fonts/blackletter.woff2') format('woff2'),
       url('fonts/blackletter.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-blackletter {
  font-family: 'blackletter', cursive;
}

@font-face {
  font-family: 'wizard';
  src: url('fonts/wizard.woff2') format('woff2'),
       url('fonts/wizard.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-wizard {
  font-family: 'wizard', cursive;
}

@font-face {
  font-family: 'closetome';
  src: url('fonts/closetome.woff2') format('woff2'),
       url('fonts/closetome.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-closetome {
  font-family: 'closetome', cursive;
}

@font-face {
  font-family: 'kissme';
  src: url('fonts/kissme.woff2') format('woff2'),
       url('fonts/kissme.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-kissme {
  font-family: 'kissme', cursive;
}

@font-face {
  font-family: 'darling';
  src: url('fonts/darling.woff2') format('woff2'),
       url('fonts/darling.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-darling {
  font-family: 'darling', cursive;
}

@font-face {
  font-family: 'elsieswash';
  src: url('fonts/elsieswash.woff2') format('woff2'),
       url('fonts/elsieswash.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-elsieswash {
  font-family: 'elsieswash', cursive;
}

@font-face {
  font-family: 'candy';
  src: url('fonts/candy.woff2') format('woff2'),
       url('fonts/candy.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-candy {
  font-family: 'candy', cursive;
}

@font-face {
  font-family: 'sofia';
  src: url('fonts/sofia.woff2') format('woff2'),
       url('fonts/sofia.woff') format('woff'); 
  font-weight: normal;
  font-style: normal;
}

.font-sofia {
  font-family: 'sofia', cursive;
}
/*fonts end*/



/*image styles*/
/*rotate image on hover*/
    .rotate-image {
    transition: transform 0.5s ease;
    
    }
    
    .rotate-image:hover {
     transform: translateX(-50%) rotate(360deg);
    }

/*continous rotating image*/
  .rotating-image {
  display: block; 
  margin: 0 auto;
  transform-origin: center center; 
  animation: spin 5s linear infinite; 
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*marqee rotating images*/
    @keyframes marquee {
    0% { transform: translateX(100%); 
    
    }
    100% { transform: translateX(-150%); 
    
    }
    }
    
    .marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    }
    
    .marquee-content {
    display: inline-block;
    animation: marquee 30s steps(400, end) infinite;
    }
    
    .marquee-content > * {
    margin: 0 .25rem;
    }
    
    .marquee-content img {
    vertical-align: middle;
    }

/*drop shadow on hover*/
    .scale-shadow-image {
    filter: drop-shadow(0 0 1.5px rgba(0,0,0,0.5));
    transition: all 0.5s ease;
    
    }
    
    .scale-shadow-image:hover {
    transform: scale(1.07);
   filter: drop-shadow(0 0 2.5px rgba(0,0,0,0.5));
    }
    

/*vertical slide on hover*/
    .slide-vertical-image {
    transition: transform 0.5s ease;
    }
    
    .slide-vertical-image:hover {
    transform: translateY(-20px);
    }

/*pinboard slide on hover*/
    .fixed-axis-rotation-image {
    transition: transform 0.5s ease;
    transform-origin: top center;
    }
    
    .fixed-axis-rotation-image:hover {
    transform: rotate(10deg);
    }
    
/*image shake on hover*/
    .img-shake {
    animation: none;
    }
    
    .img-shake:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
    transition: .5s ease-in;
    }
    
    @keyframes shake {
    0% {
    transform: translate(1px, 1px) rotate(0deg);
    }
    
    10% {
    transform: translate(-1px, -2px) rotate(-1deg);
    }
    
    20% {
    transform: translate(-3px, 0px) rotate(1deg);
    }
        
    30% {
    transform: translate(3px, 2px) rotate(0deg);
    }
    
    40% {
    transform: translate(1px, -1px) rotate(1deg);
    }
    
    50% {
    transform: translate(-1px, 2px) rotate(-1deg);
    }
    
    60% {
    transform: translate(-3px, 1px) rotate(0deg);
    }
    
    70% {
    transform: translate(3px, 1px) rotate(-1deg);
    }
    
    80% {
    transform: translate(-1px, -1px) rotate(1deg);
    }
    
    90% {
    transform: translate(1px, 2px) rotate(0deg);
    }
    
    100% {
    transform: translate(1px, -2px) rotate(-1deg);
    }
    }
    

/*image styles end*/



/*text styles*/

/*text styles end*/


/*blinkies*/
  .blinkies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 900px;
    width: 100%;
}

  .blinkies-grid img {
    width: 100%;
    height: auto;
    display: block;
}
/*blinkies end*/


/*home page*/
  body.home-page {
    background: #f7dcf2;
    background-image: url('home/vichy.png');
    background-repeat: repeat;
    
    margin: 0;
    padding: 0;
    
    display: flex;              
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center; 
}
/*home page end*/












/* shrine text pages */
  body.shrine-garfield {
      background-image: url('shrine_text_pages/bgfabric.jpg');
      background-repeat: repeat;
      background-attachment: fixed;
      image-rendering: pixelated;
      image-rendering: crisp-edges;
      
      margin: 0;
      padding: 0;
      
      display: flex;
      padding-top: 50px; 
      padding-bottom: 50px; 
      justify-content: center; 
  }
  
  body.shrine-garfield .rectangle-anchor {
    background: #f2d6a0;
    border: 3px solid #d07300;
  }
  
  body.shrine-kate-bush {
      background-image: url('shrine_text_pages/tileswirl.png');
      background-repeat: repeat;
      background-attachment: fixed;
      image-rendering: pixelated;
      image-rendering: crisp-edges;
      
      margin: 0;
      padding: 0;
      
      display: flex;
      padding-top: 200px; 
      padding-bottom: 50px; 
      justify-content: center; 
  }
  
body.shrine-kate-bush .rectangle-anchor {
    background: #849d95;
border:3px solid #171417;
}
  
  /*general structure*/
  .rectangle-anchor {
    width: 700px;       
    height: 1500px;     
    padding: 20px;
    position: relative;
    
  }
  
  .rectangle-item {
    position: absolute; 
    transform: translateX(-50%)
  }
  
  .rectangle-text {
    margin-top: 200px;
    padding: 10px;
    background: rgba(255, 225, 0, 0.6);
    border-radius: 5px;
  }
/* shrine text pages end */




/*about me*/
body.about-me-page {
    background-image: url('about_me/wallpaper.png');
    background-repeat: repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
  
    margin: 0px;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;       
    position: relative;
    overflow: hidden;
  }

.doily {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 0;
    width: 900px; 
    height: auto;
    pointer-events: none;
}

.scroll-frame {
    position: relative;
    width: 700px;
    height: 420px;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px; 
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-panel {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
    text-align: center;
  
}

.panel-item {
    position: absolute;
    transform: translateX(-50%);
    max-width:100%;
}

/* smaller round doilies */
.doily-small {
  position: absolute;
  width: 400px; 
  height: auto;
  pointer-events: none;
  z-index: 2;
   filter: drop-shadow(0 0 2.5px rgba(0,0,0,0.5));
}

.doily-small-left {
  top: 28%;
  left: 15%;
  transform: translate(-50%, -50%);
}

.doily-small-right {
  bottom: 28%;
  right: 15%;
  transform: translate(50%, 50%);
}


.scroll-frame-small {
  position: absolute;
  width: 265px;
  height: 265px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.0);
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  z-index: 3;
}

.scroll-frame-left {
  top: 28%;
  left: 15%;
  transform: translate(-50%, -50%);
     
}

.scroll-frame-right {
  bottom: 28%;
  right: 14.5%;
  transform: translate(50%, 50%);
     
}

.scroll-panel-small {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  text-align: center;
  padding: 25px;
  border-radius: 50%;
  background: rgba(0, 55, 0, 0);
  -webkit-mask-image: radial-gradient(circle, #000 99%, transparent 100%);
  mask-image: radial-gradient(circle, #000 99%, transparent 100%);
}

/*about me end*/





/*mosaic wall*/  
    body.mosaic-wall {
      background-image: url('mosaic_wall/bg_tiles.png');
      background-size: auto;  
      background-repeat: repeat; 
      image-rendering: pixelated;
      image-rendering: crisp-edges;
      
      margin: 0;
      padding: 0;
      padding-top: 10px;    
      min-height: 100vh; 
      
      display: flex;             
      flex-direction: column;  
      justify-content: flex-start; 
      align-items: center;        
  }
  
   #mosaic {
      display: grid;
      grid-template-columns: repeat(7, 200px); 
      gap: 15px;
      justify-content: center; 
  }
          
   .tile {
      width: 200px;
      height: 200px;
      perspective: 1000px;
      cursor: pointer;
  }
  
   .tile-inner {
      width: 100%;
      height: 100%;
      transition: transform 0.6s ease-in-out;
      transform-style: preserve-3d;
      position: relative;
  }
  
    .tile-front, .tile-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      background-size: cover;
      background-position: center;
      border-radius: 5px;
  }
  
    .tile-back {
      transform: rotateY(180deg);
  }
  
    .flipped {
      transform: rotateY(180deg);
  }
/*mosaic wall end*/





/*the gallery*/
    body.gallery {   
      margin: 0;                  
      padding: 0;                  
      height: 100vh;               
      overflow: hidden;    
      
      display: flex;               
      flex-direction: column;
      align-items: flex-start; 
      justify-content: center;     
  }
  
    #bg-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('the_gallery/wallpaper.png');
      background-repeat: repeat;
      image-rendering: pixelated; 
      image-rendering: crisp-edges;
      z-index: -1;
  }
  
   .gallery-container {
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      overflow-y: hidden;
      gap: 20px;
      padding: 30px; 
      scroll-behavior: auto; 
      white-space: nowrap; 
      align-items: center;        
      min-height: 80vh;
      width: 100%;                
      box-sizing: border-box;     
  }
  
    .gallery-column {
      display: flex;
      flex-direction: column;
      gap: 40px;
      align-items: center; 
  }
  
    .gallery-item {
      display: inline-flex; 
      align-items: center;
      justify-content: center;
      filter: drop-shadow(3px 7px 2px rgba(0, 0, 0, 0.5));
  }
    
    .small-painting { height: 200px; }
    .medium-painting { height: 400px; }
    .large-painting { height: 500px; }
  
    .gallery-item img {
      width: auto;
      height: 100%;
      object-fit: cover;
      display: block;
  }
    
    .gallery-item:hover {
      transform: scale(1.01);
  }
  
    .museum-plate {
      position: fixed; 
      pointer-events: none;
      background: rgba(186, 140, 154, 0.8);
      padding: 4px 8px;
      font-size: large;
      border-radius: 5px;
      opacity: 0;
      transition: opacity 0.1s;
      z-index: 1000;
  }
  
    .intro {
      flex: 0 0 auto;
      padding: 1px 15px 1px 15px; /* top right bottom left */
      background: rgba(186, 140, 154, 0.8);
      border-radius: 5px;
      max-width: 300px;
      word-wrap: break-word;  
      white-space: normal;    
  }
  
/*the gallery end*/



/*the dragons hoard*/

     body.dragons-hoard {
      margin: 0;
      overflow-y: scroll; 
      overflow-x:hidden;
      height: 100%;
      width: 100%;
     
    }

    .hoard-container {
      width: 100vw;
      min-height: 2200px;
      background-image: url("dragons_hoard/wallpaper.png");
      background-repeat: repeat;
      image-rendering: pixelated;
      image-rendering: crisp-edges;
      position: relative;
    }

    .pin {
      position: absolute;
      cursor: grab;
      user-select: none;
      transition: transform 0.2s ease;
   filter: drop-shadow(0 0 1.5px rgba(0,0,0,0.5));
    }

    .pin:active {
      cursor: grabbing;
      transform: scale(1.05);
       filter: drop-shadow(0 0 2.5px rgba(0,0,0,0.5));
    }
    
    .small {
      width: 120px;
      height: 120px;
    }

    .medium {
      width: 220px;
      height: 220px;
    }
/*the dragons hoard end*/


/*the trapdoor*/
body.trapdoor {   
    background-image: url('trapdoor/spacebg.gif');
      background-size: auto;  
      background-repeat: repeat; 
      image-rendering: pixelated;
      image-rendering: crisp-edges;
  }
/*the trapdoor end*/






