:root {
     --dk-color: #1d1c1b ;
     --mid-color:  #3b3b3b  ;
     --blk-color:   #000000   ;
     --dkgray-color:  #f07bd2  ;
     --accent:#226051;
}
 html, body {
     margin:0;
     padding-top:25px;
     padding:0;
    
    font-family: pixel, Smooch Sans, ms pgothic, vardana;
    text-shadow: 0 0 0px, 0 0 3px grey;
     font-size:1em;
     
     background-repeat:repeat;
     background-attachment: fixed;
     color:var(--blk-color);
     animation: color-change 16s infinite;
     padding:1px;
     
     overflow-y:scroll;
 
}


/* <weight>: Use a value from 100 to 900
 <uniquifier>: Use a unique and descriptive class name */

.smooch-sans-uniquee {
  font-family: "Smooch Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

body a {
  color:var(--accent);
  font-weight:bold;
  }
  
@keyframes color-change {
  0% { color: #e3768f; }
  15% { color: #e376c7; }
  30% { color: #ca76e3; }
  45% { color: #7f76e3; }
  60% { color: #7f76e3; }
  75% { color: #98c758; }
  100% { color: #e3768f; }
  
   0% { border-color: #e3768f; }
  15% { border-color: #e376c7; }
  30% { border-color: #ca76e3; }
  45% { border-color: #7f76e3; }
  60% { border-color: #7f76e3; }
  75% { border-color: #98c758; }
  100% { border-color: #e3768f; }
}

@keyframes color-change3 {
  0% { text-shadow: #e3768f; }
  15% { text-shadow: #e376c7; }
  30% { text-shadow: #ca76e3; }
  45% { text-shadow: #7f76e3; }
  60% { text-shadow: #7f76e3; }
  75% { text-shadow: #98c758; }
  100% { text-shadow: #e3768f; }
  
  
  
  
}
  

   
 #container {
     max-width:1300px; 
     margin:0 auto;
     /* margin-top:65px; */
     
     z-index:19;

 
}



.scroll-left {
 height: 50px;	
 width:100vw;
 left:0;
 z-index:11;
 overflow: hidden;
 position: fixed;
 bottom:10px;
 color: orange;
 
}
.scroll-left p {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 0;
 line-height: 50px;
 text-align: center;
 /* Starting position */
 transform:translateX(100%);
 /* Apply animation to this element */
 animation: scroll-left 40s linear infinite;
}
/* Move it (define the animation) */
@keyframes scroll-left {
 0%   {
 transform: translateX(100%); 		
 }
 100% {
 transform: translateX(-100%); 
 }
}






#welcome-splash
{
  background:black;
  
  
  position:fixed;
  z-index:31;
  color:white;
  width:101vw;
  height:101vh;
}


 h1, h3, h5 {
     color: white;
     padding:0px;
}
 h2, h4, h6 {
     color:var(--accent);
  }
  


 #header {
     max-width:1000px;
     height:100px;
     width: 570px;
     position: relative;
     padding:0;
     margin-top:100px;
     margin-bottom:100px;
     background-color:var(--blk-color);
     
     
     z-index: 3;
}
 .title {
     font-size:35px;
     text-align:center;
     font-style:italic;
     position:relative;
}

.top-saw{
  margin:auto;
  }


.bottom-saw{
  margin:auto;
  }

/* Basic spin animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Both saws will spin on hover */
.bottom-saw img,
.top-saw img {
  transition: transform 0.3s ease;
  transform-origin: center center; /* ensure it spins around its center */
}

/* When hovering over either saw, spin them */
.bottom-saw:hover img {
  animation: spin 1.5s linear infinite; /* slower */
}

.top-saw:hover img {
  animation: spin 0.8s linear infinite; /* faster */
}

/* This line makes the bottom saw spin too when hovering over the top one */
.top-saw:hover ~ .bottom-saw img {
  animation: spin 1.5s linear infinite; /* same as bottom's regular spin */
}


.header-nav-bar {
    background: rgba(0, 0, 0, 0.5);
    border:1px solid var(--dkgray-color);
    /* border-radius:45px; */
    animation: color-change 16s infinite;
    overflow:visible;
    padding: 5px;
    margin-top:88px;
    margin-left:-48px;
    margin-right:-40px;
    margin-bottom:10px;
    display: flex;
    justify-content: space-evenly;
    
    position: relative;
}

.nav-button {
   background: rgba(0, 0, 0, 0.5);
    border:1px solid var(--dkgray-color);
    /* border-radius:45px; */
    animation: color-change 16s infinite;
    width:100px;
    
    transition: 0.3s;
    transition-property:width;
}

.nav-button:hover{
   background-color:rgba(0,0,0,0.5);
     animation: color-change2 16s infinite;
     color:black;
      border:1px solid var(--dkgray-color);
      width:150px;
      
      letter-spacing:0.4rem;
}
  
.threecolumn {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr; /* Left, Center, Right */
    gap: 10px; /* Space between columns */
    width: 90%;
    margin: 0 auto; /* Center the layout */
    height:100%;
}

.sidebar {
    background: rgba(255, 255, 255, 0); /* Light transparent effect */
    padding: 0px;
}

.main-content {
    background: rgba(0, 0, 0, 0.5);
    border:1px solid var(--dkgray-color);
    /* border-radius:45px; */
    animation: color-change 16s infinite;
    overflow:visible;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    


}

 #wrapper {
     margin:0 auto;
     /* max-width:1300px; */
     overflow-y: visible;
     z-index: 3;
     
  
     
}
.content {
  padding:10px;
  
  }
 #two-boxes {
     display:flex;
     flex-wrap:wrap;
     max-width:900px;
}
 .box-two, .box-three, .buttons-box, .box-five, .box-six {
     border:1px solid var(--dkgray-color);
     background-color:var(--blk-color);
     animation: color-change 16s infinite;
     overflow:auto;
}
/* about me section */
 .about-me {
     margin:auto;
     margin-top:0px;
     margin-bottom:5px;
     margin-right:0px;
     margin-left:0px;
     height:268px;
     width:100%;
     position: relative;
     /*
     overflow-y:scroll;
     overflow-x:hidden; */
     
     border:1px solid var(--dkgray-color);
     background-color:var(--blk-color);
     animation: color-change 16s infinite;
  
}

  /* To do section/change log */
 .box-four {
     margin-top:0px;
     margin-left:0px;
     margin:auto;
     width:100%;
   
     border:1px solid var(--dkgray-color);
     background-color:var(--blk-color);
     animation: color-change 16s infinite;
     overflow:auto;
     position:relative;
     z-index:9;
   
}

.box-four:hover {
  z-index:22;
  }
  

  
 /* Style the tab */
.tab {
  overflow: hidden;
  background-color:#3b3b3b;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  text-align:center;
  font-weight:bold;
  padding-top:5px;
  padding-bottom:5px;
  background-color:#737373;
  color:var(--dkgray-color);
  font-size:15px;
  animation: color-change 16s infinite;
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #dcff4f;
  transform: scale(1.2); 
  
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: black;
 
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 10px 12px;
 
  border-top: none;
  height: 300px;
  overflow-y:scroll;
} 

#change-log {
  display: block;
}

/* guestbook etc */
 .box-two {
     margin:5px;
     width:100%;
     height:90px;
     overflow-y:scroll;
     overflow-x:hidden;
     display: flex;
     align-items: center;
     justify-content: center;
}

.fade-element {
  opacity: 0; /* Initially invisible */
  animation: fadeInOut 20s 3, shake 0.5s infinite;
  animation-delay: 1s; /* Delay the fade-in by 8 seconds */
  animation-fill-mode: forwards; /* Keeps the final state after animation ends */
  pointer-events: none;
  
}

@keyframes fadeInOut {
   0% {
    opacity: 0; /* Start as invisible */
  }
  10% {
    opacity: 1; /* Fade in completely */
  }
  27% {
    opacity: 1; /* Stay visible for 7 seconds (about 7s total) */
  }
  37% {
    opacity: 0; /* Fade out */
  }
  100% {
    opacity: 0; /* Stay invisible before restarting the loop */
  }
}

@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); }
  
}
.question-button{transition: transform 0.2s}
.question-button:hover {transform: scale(1.5);}

.hide {
  display: none;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Prevents the element from affecting layout when hidden */
  transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; /* Fade in effect */
 
}

.question-button:hover + .hide {
  display: block;
  opacity: 1; /* Make text visible */
  visibility: visible; /* Makes it interactable */
  color: white;
  position:absolute;
  bottom:20px;
  
}




.pfp{
  transition: transform 0.2s;
  width:100%; 
  height:100%;
  margin-bottom:0;
  padding-bottom:0;
  bottom:-10px;
  z-index:8;
  pointer-events:none;

}


 .pfp-box {
     margin-top:5px;
     margin-left:5px;
     width:260px;
     display: flex;
     align-items: center;
     justify-content: center;
     border:1px solid var(--dkgray-color);
     background-color:var(--blk-color);
     animation: color-change 16s infinite;
     overflow:hidden;
     position:relative;
}

.pfp-box:hover .pfp {
  transform:translate(0,-18px)
  }
  
  .kiss {
    position: absolute;
    width: 40px; /* Base size */
    opacity: 1;
    animation: fadeOut 12s ease-out forwards;
    pointer-events: none;
    z-index:12;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}


.kiss-counter {
     font-size:22px;
     color: red;
     opacity: 0;
     transition: opacity 1s ease;
     margin-top:5px;
     margin-left:5px;
     width:260px;
     display: flex;
     align-items: center;
     justify-content: center;
     border: 2px solid #e62d40;
     background-color:var(--blk-color);
     background-image: radial-gradient(#400bde, #ca6cfe);
     overflow:display;
     position:relative;
}

.kiss-counter.show {
  opacity: 1;
}


 .music-box {
     margin-top:5px;
     margin-left:5px;
     margin-top:5px;
     width:60%;
     height:200px;
     display: flex;
     align-items: center;
     border:1px solid var(--dkgray-color);
     background-color:var(--blk-color);
     animation: color-change 16s infinite;
     overflow:auto;
     position:relative;
}

#popup-window{
  display:none;
  position:fixed;
  z-index:11;
  border:3px solid var(--dkgray-color);
  background-color:var(--blk-color);
  animation: color-change 16s infinite;
  right:300px;
  
}

/* rat house */
 .box-three {
     /* border-radius: 50%; */
     border:3px solid var(--dkgray-color);
     background-color:var(--blk-color);
     animation: color-change 16s infinite;
     overflow:auto;
     margin-left:5px;
     margin-top:5px;
     margin-bottom:40px;
     width:260px;
     height:260px;
     background:url("home/hallway1.gif");
     background-size: 100% 100%;
     overflow:auto;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow:visible;
     position:relative;
    
}


 .box-five, .box-six {
     height:200px;
     width:418px;
     margin-left:5px;
 }

 .box-five {
     margin-top:5px;
     margin-right:5px;
     width: 376px;
}

/* blinkie box */
 .box-six {
     margin-top:5px;
     margin-right:5px;
     width:260px;
     height:270px;
     position:relative;
     z-index:9;
     background:url("home/rainbow-stars.gif");
   
 }
 
 
 .box-six:hover {
  z-index:22;
  }
  
  
 .section-title {
     text-align:center;
     font-weight:bold;
     padding-top:5px;
     padding-bottom:5px;
     background-color:var(--mid-color);
     color:var(--dkgray-color);
     font-size:12px;
     animation: color-change 16s infinite;
    border-bottom: 1px solid var(--dkgray-color);
 }
 
 @keyframes background-color-change {
    
   0% { background-color: #e3768f; }
  15% { background-color: #e376c7; }
  30% { background-color: #ca76e3; }
  45% { background-color: #7f76e3; }
  60% { background-color: #7f76e3; }
  75% { background-color: #98c758; }
  100% { background-color: #e3768f; }
  
 }
 
.subsection-title {
     text-align:center;
     font-weight:bold;
     padding-top:5px;
     padding-bottom:5px;
     background-color:var(--blk-color);
     color:var(--dkgray-color);
     font-size:12px;
     animation: color-change 16s infinite;
}
 .nav-wrapper {
     display:flex;
     flex-wrap:wrap;
     width:200px;
     margin:0 auto;
     justify-content:center;
     align-items: center;
     margin-top:5px;
     margin-bottom:20px;
     position:relative;
}

.construction{
  background:url("gifs/construction.gif");
  background-repeat:repeat;
  position:absolute;
  pointer-events: none;
  margin:auto;
  z-index:8;
  opacity:0.4;

}

 .blinkies {
     display:flex;
     flex-wrap:wrap;
     width:260px;
     margin:0 auto;
     justify-content:space-evenly;
     margin-top:5px;
     
 }
 .button {
     width:218px;
     padding:3px;
     font-weight:bold;
     border: 1px solid;
     border-color: black;
     background-color:rgba(0,0,0,0.5);
     animation: color-change2 16s infinite;
     margin:auto;
     margin-top:6px;
     margin-right:5px;
     transition: color 0.3s, letter-spacing 0.7s;
     letter-spacing: normal;
}

.button:hover {
  
  background:url("gifs/arrow2.gif");
  background-position: center;
  background-color:black;
  color:white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
          -1px 1px 0 #000, 1px 1px 0 #000; 
  letter-spacing:0.4rem;

  /* animation: color-change 16s infinite; */
  
}

@keyframes color-change2 {

  
   0% { background-color: #e3768f; }
  15% { background-color: #e376c7; }
  30% { background-color: #ca76e3; }
  45% { background-color: #7f76e3; }
  60% { background-color: #7f76e3; }
  75% { background-color: #98c758; }
  100% { background-color: #e3768f; }
}

  button a {
    color:var(--accent);
    font-weight:bold;
  }
  p {
     padding:5px;
     color:var(--dkgray-color);
     animation: color-change 16s infinite;
     
}
 a {
  color:white;
  animation: color-change 5s infinite;
  
  }
  
a:hover {
  font-weight:bold;
  animation: color-change 0.4s infinite;
  }
  
a:active {
  color:white;
   animation: color-change none;
  }
  
 .scroll::-webkit-scrollbar-track {
     background-color: var(--blk-color);
}
 .scroll::-webkit-scrollbar {
     width: 10px;
     background-color: #f2b1a4;
}
 .scroll::-webkit-scrollbar-thumb {
     background-color: var(--dk-color);
}
 #footer {
     text-align:center;
     padding-top:5px;
     margin-bottom:5px;
}
 #footer p {
     background-color:white;
     display:block;
     width:160px;
     margin:0 auto;
     margin-top:5px;
     margin-bottom:5px;
     padding:5px;
}

 .draggable {
            position:relative;
            z-index: 20;
            background: url("toxic-rat.gif");
            display: block;
      
            
            
          }
          
  .draggable-header {
            position: relative;
            bottom:10px;
            margin:auto;
            padding: 0px;
            cursor: move;
          
            z-index: 20;
            -webkit-box-align:center;
            -moz-box-align:center;
            -webkit-box-pack:center;
            -moz-box-pack:center;
            display:-webkit-box;
            
            
          }
          
/*box with buttons */
 .buttons-box {
     margin-top:5px;
     margin-left:5px;
     width:260px;
     height:40px;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     z-index:9;
     position:relative
     
}
.buttons-box:hover{
  z-index:22;
}
          
          
.buttons-list {
    position: relative;
    background: black; /* Adjust as needed */
    padding: 10px;
    white-space: nowrap;
}

.scroller {
max-width:260px;

}

.scroller[data-animated=true] {

  overflow: hidden;
  
  -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.scroller[data-animated=true] .scroller-inner {
  width:fit-content;
  flex-wrap: nowrap;
  animation:scroll var(--_animation-duration, 40s) var(--_animation-direction, backwards) linear infinite; 
  
  }
  
  .scroller[data-direction="right"] {
   --_animation-direction: reverse;
  }
  
  
  @keyframes scroll {
    to {
      transform:translate(calc(-50% - 5px));
    }
  }

.scroller-inner {
display:flex;
gap: 10px;

padding: 5px;
flex-wrap:wrap;
}
          
 /* scrolling buttons */         
.marquee-container {
    position: relative;
    bottom: 5px;
    width: 260px; /* Constrain the box */
    overflow: hidden; /* Hide overflow to prevent seeing duplicate before scrolling */
    background: black; /* Adjust as needed */
    padding: 10px 0;
    white-space: nowrap;
}

/* Marquee wrapper: holds two duplicate lists */
.marquee {
    display: flex;
    width: 200%; /* Ensure the whole content scrolls in a loop */
    animation: marquee-scroll 10ass linear infinite; /* Continuous movement */
}

/* The list of buttons */
.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 10px; /* Maintain space between images */
    width: 100%; /* Ensures the second set starts immediately after the first */
}

/* Button styling */
.marquee img {
    height: 40px;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 4px cyan);
}

/* Keyframes for smooth, seamless scrolling */
@keyframes marquee-scroll {
    from {
        transform: translateX(0); /* Start at normal position */
    }
    to {
        transform: translateX(-100%); /* Move left exactly halfway */
    }
}

        
          
textarea {
  background-color:var(--dkgray-color);
  color:var(--mid-color);
  font-size:10px;
  }
 @media only screen and (max-width: 860px) {
     html, body {
         overflow:visible;
    }
    #header {
      width:97.6%;
    }
     #container {
         width:100%;
    }
     .about-me, .box-two, .box-three, .box-four, .box-five, .box-six {
         width:100%;
    }
    .box-two {
      order:1;
    }
    .about-me {
      order:2;
    }
     .box-three {
         width:98%;
    }
     .three-boxes {
         width:98%;
    }
     .two-boxes {
         width:100%;
    }
     .wrapper {
         width:100%;
    }
}

/*bouncing elements */
.bounds {
  position: relative;
  width: 99%;
  height: 98%;
  border: 5px white solid;
  animation: color-change 16s infinite;
  box-sizing: border-box; /* Ensures border is included in dimensions */
}

.bouncer {
  position: absolute;
  width: 260px; /* Adjust size as needed */
  height: 200px;
  top: 0; 
  left: 0;
}


/* writings */


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  height:600px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*copy code button */
.tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.tooltip.show {
  opacity: 1;
}



/* Splash Overlay */
#splash-overlay {
  position: fixed;
  inset: 0; /*structurally necessary inset */ 
  background-color: #222321;
 /* animation: color-change2 16s infinite; */

 /*  background-image:url('home/background-tile2.png'); */
 
  background-repeat:repeat;
  display: none; /* Hide by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#splash-overlay.active {
  display: flex; /* Only show when JS activates it */
}

#splash-overlay.fade-out {
  opacity: 0;
}

/* Center box */
.splash-box {
  
  padding:15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
 
  color: gray;

}



/* Button */
#enter-site {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: letter-spacing 0.3s, background 0.3s ease;
}

#enter-site:hover {
  background: #98c758;
  letter-spacing: 0.4rem;
}


