@font-face {
  font-family: 'basiic';
  src: url('Fonts/basiic.ttf') format('truetype');
}

.scrolling-star {
  width: 100%;
  height: 50px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  filter: invert(0);
  cursor: default;
  transition: filter 0.3s ease;
}

.scrolling-star:hover {
  filter: invert(100%);
}

.scrolling-star .strip {
  display: flex;
  align-items: center;
  height: 100%;
  animation: scroll-left 90s linear infinite;
}

.scrolling-star .strip img {
  height: 100%;
  margin-right: 10px;
  user-select: none;
  pointer-events: none;
  display: block;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

body {
  font: 12px basiic;
  letter-spacing: 1px;
  color: #333;
  background: #f4f4f4 url('/Backgrounds/aboverainbow.gif') repeat;
  margin: 0;
  padding: 0;
}

a {
  color: #655880;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #555;
}

b {
  color: #111;
  font-weight: bold;
  display: inline;
}

textarea {
  font: 10px Basiic;
  letter-spacing: 1px;
}

::-webkit-scrollbar {
  width: 7px;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  background-color: #000;
  border-radius: 10px;
  border: 1px solid #000;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #000 #fff;
}

.break {
  display: block; 
  text-transform: uppercase;
  background: #000;
  color: #fff;
  font: 12px Basiic;
  letter-spacing: 2px;
  padding: 4px 6px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  margin: 0.4em;
  width: 80%
  text-align:center;

}

.MiniImp {
  position: absolute;
  top: 100px; 
  left: 225px; 
  width: 135px;
  height: 167px;
  z-index: 3;
}

.MiniImp img {
  display: block;
  width: 100%;
  height: auto;
}

.box-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
}

#left-wrapper {
  position: absolute;
  top: 275px;
  left: 200px;
  width: 170px;
  z-index: 10;
}

#content-wrapper {
  position: absolute;
  top: 275px;
  left: 388px;
  width: 780px;
  z-index: 10;
}

#content-wrapper .title {
  text-align: left;
  padding-left: 12px;
}

.title {
  background: #000;
  color: #fff;
  font: 15px basiic;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
  border-radius: 10px 10px 0 0;
  user-select: none;
  box-sizing: border-box;
  width: 100%;
}

.title-kitty {
  filter: invert(1);
  vertical-align: middle;
  margin-right: 6px;
}

.box {
  background: #fff;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  padding: 4px;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

#banner {
  background: #222 url('/Main Pages/TwinkingGif.gif') center center / cover no-repeat;
  width: 780px;
  height: 160px;
  top: 100px;
  left: 388px;
  position: absolute;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.box img {
  border: none;
}

.bigtitle {
  font: 16px Basiic;
  text-transform: uppercase;
  color: #fff;
  text-align: right;
  border-bottom: 1px solid #ccc;
  margin-top: 110px;
}

#navigation {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
}

#navigation li a {
  display: block;
  padding: 2px 10px;
  font: italic 11px Basiic;
  text-transform: lowercase;
  background: #000;
  color: #fff;
  border: 1px solid #555;
  border-radius: 10px;
  transition: filter 0.3s ease;
}

#navigation li a:hover {
  filter: invert(1);
}

.logo {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  transition: filter 0.3s ease;
  filter: invert(0);
  cursor: default;
}

.logo:hover {
  filter: invert(100%);
}

.logo img {
  max-width: 105%;
}

.pill {
  display: block;         
  flex: 0 0 auto;         
  align-self: center;
  background: #000;               
  color: #fff;                   
  white-space: nowrap; 
  font: 11px basiic;             
  letter-spacing: 1px;             
  padding: 1px 6px;               
  border-radius: 999px;            
  border: 1px solid #000;         
  box-sizing: border-box;
  font-weight: bold;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  width: auto;          
}

#below-link {
  position: fixed;
  bottom: 25px;
  right: 15px;
  z-index: 20;
}

#below-link img {
  max-width: 150px;
  border: none;
  background: none;
  cursor: pointer;
}

#left .title img {
  filter: invert(1);
}

#sidebar-wrapper {
  position: fixed;
  bottom: 20px;
  right: 250px;  
  width: 300px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sidebar-toggle {
  cursor: pointer;
  user-select: none;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1px; 
  position: relative;
  top: 5px;
}

#sidebar img {
  margin: 0 auto;
}

#sidebar-title {
  background: #000;
  color: #fff;
  font: 15px basiic;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
  width: 100%;  
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
  user-select: none;
  box-sizing: border-box;
}

#sidebar {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  text-align: center;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  padding: 0 15px;
  box-sizing: border-box;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

#sidebar-wrapper.expanded #sidebar {
  max-height: 680px;
  padding: 10px 15px;
}

.link-back-box {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 4px 6px;
  width: 300px;
  margin: 30px auto;
  text-align: center;
  font: 12px basiic;
  letter-spacing: 1px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.link-back-box img {
  display: block;
  margin: 0 auto 8px;
  border: 0px solid #fff;
}


.link-back-box textarea {
  width: 100%;
  height: 80px;
  resize: none;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  font: 10px basiic;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 5px;
}

img.rounded {
  border-radius: 6px;
}

html, body {
cursor: url("https://xrystalwish.neocities.org/Main Pages/cursor.png"), auto;
  } 
  
#content-wrapper {
  position: absolute;
  top: 275px;
  left: 388px;
  width: 780px;
  box-sizing: border-box;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 230px);
  gap: 1rem;
  justify-content: center;
  box-sizing: border-box;
}

.duo-grid-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  box-sizing: border-box;
}

.single-grid-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  box-sizing: border-box;
}


.tile {
  width: 230px;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  background: #fff;
  padding: 4px 6px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.duo-tile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  padding: 4px 6px;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  background: #fff;
  width: 360px;
  box-sizing: border-box;
  text-align: center;
  flex-direction: column;
  margin: 0 auto;
}

.side-tile {
  width: 230px;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  background: #fff;
  padding: 4px 6px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.single-tile {
  width: 720px;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  background: #fff;
  padding: 4px 6px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.microblog-tile {
  width: 230px;
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
  background: #fff;
  padding: 4px 6px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.tile-wrapper {
  display: flex;
  flex-direction: column;
}

.tile img,
.duo-tile img,
.side-tile img,
.single-tile img {
  display: inline-block;
  max-width: 100%;
}


.duo-tile > .break {
  text-align: center
}

.duo-tile > p {
  width: 100%; 
  text-align: center
}

.textbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.imagebox {
  display: flex;
  flex-wrap: wrap; 
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 1px;

}

.imagebox > * {
  display: inline-flex; 
}

.ipod {
/* change these to whatever colors you want to use for it! */
--black: #000000 ;
--dark: #212121 ;
--med: #5c5c5c ;
--light: #a1a1a1 ;
--white: #dad9ff ;

width: 150px;
height:300px;
border:5px var(--med) solid;
padding:20px;
position:relative;
border-radius:25px;
background:var(--dark);
margin: 0.5em;
box-shadow:15px 10px var(--med)
}

/* the actual music player*/
audio {
border-radius:25px;
width:90%;
height:30px;
background:var(--med);
color:white;
mix-blend-mode:hard-light;
opacity:.6;
margin:10px auto
}


.screen {
height:55%;
background:var(--white);
border-radius:20px;
overflow:scroll;
outline:2px var(--white) solid;
outline-offset:3px;
font-family: basiic;
font-size:12px;
text-align:center;
}

/* the bold text - where your song title will go, probably */
.screen b {
background:var(--med);
color:var(--white);
width:100%;
display:block;
padding:3px 5px;
font-size:.9em;
margin-top:5px;
border-top:15px double var(--white);
}

/* the bit under the audio player */
.screen .caption {
padding:0px 10px
}

/* the circular buttons - this bit is just for decoration, really! */
.button {
border:1px double var(--med);
background:var(--white);
height:40%;
aspect-ratio:1 / 1;
margin:10% auto;
border-radius:50%;
overflow:hidden;
text-align:center;
position:relative;
}
.button .b {
position:absolute;
width:100%;
text-align:center;
font-weight:bold;
color:var(--black) !important
}
.b.b-top {
top:5%;
font-size:.9em;
}
.b.b-bottom {
bottom:5%;
font-size:.6em;
}
.b.b-left {
left:3%;
top:40%;
width:20%;
}
.b.b-right {
right:3%;
top:40%;
width:20%;
}

.button .button {
height:50%;
aspect-ratio:1 / 1;
margin:25% auto;
background:var(--light)
}