@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
@font-face {
  font-family: 'Helvetica Light';
  src: url('/fonts/helvetica-light.ttf') format('truetype');
  font-weight: 300;
}
#loader {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#loader img {
  display: block;
  width: 120px;
  margin: 0 auto;
}
#loader span span {
  display: inline-block;
}

.d1 { animation: showDot 1.5s infinite; }
.d2 { animation: showDot 1.5s infinite 0.5s; }
.d3 { animation: showDot 1.5s infinite 1s; }
@keyframes showDot {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  100% { opacity: 1; }
}

body {
  height:100vh;
  overflow-x: hidden;
  background-image: url("/images/bg.jpg");
  cursor: url('/images/cursor.gif'), auto !important;
}
a {
    cursor: url('/images/hand.gif'), auto !important;
}

h1 {
  font-family: 'Helvetica Light', Helvetica, Arial, sans-serif;
  
}
.index {
  box-sizing: border-box;
  height: calc(100vh - 80px);       /* exactly between the 40px top/bottom margins */
  margin: 40px auto;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
  max-width: 50% !important;
  width: 90%;
  border: 50px solid transparent;
  border-image: url("/images/laceborder.png") 30 round;
}

.index-inner {
  box-sizing: border-box;
  display: grid;
  width: 100%;                       /* fills .index horizontally */
  height: 100%;                      /* fills .index vertically */
  min-height: 0;

  /* manual sizes — you pick every track */
  grid-template-columns: 1fr 2fr 1fr;        /* left column gets 2 shares */
  grid-template-rows: auto 0.5fr 1fr 10%;     /* fixed top/bottom rows, flexible middle */

  grid-template-areas:
    "title title title"
    "cover blinker merch"
    "links item1 guestbook"
    "item3 item2 guestbook";

  gap: 0;
  background-color: #ffffff;
}

.index-inner > div {
  height: 100%;
  box-sizing: border-box;
  min-height: 0;                 /* ← the key: cells can shrink & scroll */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 5px;
  border-style: outset;
}

.index-inner img {
  max-width: 100%;               /* images shrink to their cell instead of spilling */
  height: 100%;
}
.index-inner > div {
  min-height: 0;
}
.guestbook {
  grid-area: guestbook;
  overflow-y: auto;              /* guestbook scrolls inside its cell */
}

.blinker   { 
  grid-area: blinker;
  background-image: url('/images/blinker.gif');
  background-size: 100% 100%;  
}
.title     { 
  grid-area: title; 
  background-image: url('https://astroplasm.neocities.org/assets/backgrounds/147x147_c796c5bf37_tile.gif');
}
.cover     { 
  background-image: url('/images/tragicmagic.jpg');
  grid-area: cover; 
  background-size: 100% 100%;
  
}
.merch     { 
  grid-area: merch; 
  background-image:url('https://astroplasm.neocities.org/assets/backgrounds/64x64_c033347683_tile.gif');
}
.merch span {
  
    font-family: Roboto Mono, monospace;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    color: #e066ff;
    text-shadow: rgb(224, 102, 255) 0px 0px 20px;
}
.item1     { grid-area: item1; }
.item2     { grid-area: item2; }
.item3     { grid-area: item3; }

.linkBox {
  grid-area: links;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;   /* links top, party bottom */
  gap: 0;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  background-image: url('https://textures.neocities.org/thumbnails/pattern-and-prints/thumb_GLYPHS1.jpg');
}

.linkBox > div {
  min-height: 0;                 /* lets each half shrink properly */
  overflow: hidden;
  margin: 5px;

}

.linkBox .links {
  background-color: rgba(255,255,255,1);
  height:70%;
  width:80%;
}

.links {
  display: flex;
  flex-direction: column;        /* list on top, pre below */
  min-height: 0;
}

.stream-links {
  list-style: none;
  margin: 8px;
  padding: 0;
  text-align: left;
  flex-shrink: 0;

}

.stream-links li {
  padding-left: 24px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px;
  margin-bottom: 6px;
}

.links pre {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 4px 6px;
  box-sizing: border-box;
  overflow: auto;
  white-space: pre;
  font-size: 7px;
  line-height: 1.2;
}
.links li {
  border: none;
}
.party {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  background-image: url('/images/streamers.jpg');
}

.party img {
  max-width: 100%;
  height: auto;
}
.item3 {
  background-image: url('https://media.tenor.com/8vRiuPLm7z8AAAAM/hermosos-caballos-horse.gif');
}
.songBox {
  background-image: url('https://cdn.wallpaperhub.app/cloudcache/0/9/7/8/d/8/0978d806a1faf785077bf42592042b2d36f0e3dd.jpg');
  background-size: 100% 100%;
}
.songBox span {
  font-family: verdana;
  text-align: center;
  font-size: 15px;
  color: rgb(0, 255, 162);
  text-shadow: rgb(0, 0, 0) 2px 2px 2px;
}
.stream-links .spotify    { background-image: url('/images/logos/spotify.png'); }
.stream-links .apple      { background-image: url('/images/logos/apple-music.png'); }
.stream-links .tidal      { background-image: url('/images/logos/tidal.png'); }
.stream-links .soundcloud { background-image: url('/images/logos/soundcloud.png'); }
.stream-links .bandcamp   { background-image: url('/images/logos/bandcamp.png'); }

.pagetitle{
  display: flex;
  align-items: center;      
  justify-content: center; 
  gap: 10px;
  background-size: fill;
}
.title{
  display: flex;
  align-items: center;      
  justify-content: center; 
  gap: 10px;
}
.condria { top: 47%; left: 47%; }
.thinkteeth { top: 60%; left: 39%; }
.rls { top: 60%; left: 54%; }
.fivebillionyears { top: 75%; left: 42%; }
.moneymoneymoney { top: 75%; left: 52%;}

.songText {
  font-family: Luminari;
  font-size: 12pt;
  text-align: center;
  position: absolute;
  text-shadow: rgba(0, 0, 0,1) 0px 0px 50px; 
  bottom: 100%;
  left: -2vw;
  right: 0;
  top:-1vw;
  white-space: nowrap;
  color: rgba(0, 0, 0,1);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none; 
}
.condria .songText {
  top:7vw;  
}
.condria, .thinkteeth, .rls, .fivebillionyears, .moneymoneymoney {
  position: absolute;
  width: 10vw;
}
.condria img, .thinkteeth img, .rls img,.fivebillionyears img, .moneymoneymoney img {
  display: block;
  width: 70%;
}
.condria img:hover, .thinkteeth img:hover, .rls img:hover, .fivebillionyears img:hover, .moneymoneymoney img:hover {
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2 linear infinite;
  -o-animation: spin 2 linear infinite;
  animation: spin 2 linear infinite;
}
.condria:hover .songText, .thinkteeth:hover .songText, .rls:hover .songText, .fivebillionyears:hover .songText, .moneymoneymoney:hover .songText {
  opacity: 1;
}
@-webkit-keyframes spin {
  0% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1.2) rotate(360deg);
  }
}

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

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

@keyframes spin {
  0% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1.2) rotate(360deg);
  }
}
.backButton {
  -webkit-transform: scale(-1, -1);
  -moz-transform: scale(-1, -1);
  -o-transform: scale(-1, -1);
  transform: scale(-1, -1);
}
.navigation {
  position: absolute;
  display: flex;
  gap: 10px;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
.backButton, .forwardButton, .home{
  transition: transform 1s ease;
}
.forwardButton:hover, .home:hover {
  transform: scale(1.2)
}
.backButton:hover {
    transform: scale(-1.2);
}
.backButton:hover .navText, .forwardButton:hover .navText, .home:hover .navText {
  visibility: visible;
}
.backButton:hover .navText {
  transform: scale(1,-1)
}
#guestbook {
  grid-column: 3;
  grid-row: 3 / span 2;

  display: flex;
  flex-direction: column;
  align-items: stretch;        /* full width — overrides the centered cells */
  justify-content: flex-start; /* start at the top, don't squish content */
  gap: 6px;
  padding: 8px;

  border-style: groove;
  background-image: url('https://textures.neocities.org/thumbnails/pattern-and-prints/thumb_035C.jpg');
  overflow: hidden;
  z-index: 100;
}

#gb-header {
  color: #ffffff;
  margin: 0;
  flex-shrink: 0;
}

#gb-form {
  flex-shrink: 0;              /* the form keeps its size */
}

#gb-form input,
#gb-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background-color: #ffffff;
  border: 2px inset #999;
  padding: 2px;
  margin-bottom: 2px;
}

#gb-form textarea {
  height: 60px;                /* smaller than 80px so it fits the cell */
  resize: vertical;
}
#gb-entries {
  flex: 1;                     /* takes whatever height the cell has left */
  min-height: 0;               /* lets it shrink → scrolls instead of overflowing */
  overflow-y: auto;
  scrollbar-width: thin;
  background-color: #ffffff;
  color: #000000;
  padding: 12px;
}

#gb-entries div {
  border-bottom: 2px dashed #ff69b4;
  padding: 6px 0;
  font-size: 12px;
}

#gb-entries strong { color: #ff69b4; }
#gb-entries small  { color: #8000ff; font-style: italic; }

#gb-status {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #ff69b4;
  font-weight: bold;
}

#gb-entries::-webkit-scrollbar { width: 8px; }
#gb-entries::-webkit-scrollbar-thumb { background: #ff69b4; }
.tmTitle {
    color:green;
    animation: tmTitleBlink 1s steps(1, start) infinite;
}

@keyframes tmTitleBlink {
    50% {
        color: pink;
    }
}
.duo {
  position: relative;              /* anchor for the child */
  background-image: url('/images/tmd.jpg');
  background-color: rgb(63, 191, 25, 0.4);
  background-blend-mode: overlay;
  background-size: 20%;
  background-repeat: repeat;       /* 20% tiles across the box */
  width: 97.8%;
  height: 400px;
}

.duoslinky {
  position: absolute;              /* overlay on top of .duo */
  inset: 0;                        /* fills the parent exactly */
  background-image: url('/images/slinky.webp');
  background-size: 20%;
  background-repeat: repeat;
  z-index: 100;                    /* now it matters — it's on top */
}


@media (max-width: 800px) {
  .index {
    width: 100%;                 /* was 90% — now full screen width */
    margin: 10px 0;              /* small top/bottom only, no side margins */
    min-height: 0;
    border: 10px solid transparent;   /* thin lace instead of 20px */
    border-image: url("/images/laceborder.png") 30 round;
    max-width: 100% !important;
  }

  .index-inner {
    gap: 2px;
    grid-template-rows: 0.05fr 0.2fr 0.65fr 0.1fr;
}

  .index-inner img {
    max-width: 100%;
    height: auto;
  }
  .index-inner > div {
    margin: 2px;
  }
  .links li {font-size:5px}
  #gb-form input,
  #gb-form textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
    font-size: 4px;
    background-color: #ffffff;
    border: 1px inset #999;
    padding: 1px;
    margin-bottom: 1px;
  }
  #gb-status {
    font-family: 'Courier New', monospace;
    font-size: 3px;
    color: #ff69b4;
    font-weight: bold;
  }
  .title img {
    height:20px;
    width:auto;
  }
  .condria { top: 53%; left: 35%; }
  .thinkteeth { top: 53%; left: 55%; }
  .rls { top: 68%; left: 32%; }
  .fivebillionyears { top: 73%; left: 44%; }
  .moneymoneymoney { top: 68%; left: 58%;}
  .condria, .thinkteeth, .rls, .fivebillionyears, .moneymoneymoney {
    width: 12vw;
  }
  .condria img, .thinkteeth img, .rls img,.fivebillionyears img, .moneymoneymoney img {
    display: block;
    width: 100%;
  }
}
.loadText {
  background: white;
  position: absolute;
  bottom: 20%;
  color: black;
  font-style: italic;
}
.floater {
  position: absolute;
  inset: 0;
}
.floater img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1; 
  z-index: 100;
}