/* -------------------------------------------------------- */
/* FONTS */
/* -------------------------------------------------------- */

@font-face {
    font-family: "basiic";
    src: url("/basiic.ttf");
}

@font-face {
    font-family:'kiwi';
    src: url(https://dl.dropbox.com/s/388cvx0do21kj3n/KiwiSoda.ttf);
}

@font-face {
    font-family:'independence';
    src: url("/fonts/Independence.ttf");
}

@font-face {
    font-family:'dreamwish';
    src: url("/fonts/dreamwish.ttf");
}

@font-face {
    font-family:'Sabrina';
    src: url("/fonts/SABRINA_.ttf");
}

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

:root {
  /* Background Colors: */
  --background-color: #FFD7EB;
  --content-bg-color: #FFF5FA;
  --sidebar-bg-color: #FFF5FA;
  --secondary-bg-color: #FFD7EB;
  --accent-color: #FFB0D8;

  /* Font Colors: */
  --text-color: #6476ae;
  --webtitle-text-color: #FFD7EB;;
  --light-text-color: #FFD7EB;
  --link-color:  #FF62AD;
  --link-color-hover: #869FE9;

    /* Text: */
  --font: basiic, sans-serif;
  --heading-font: Sabrina;
  --subhead-font: georgia, serif;
  --font-size: 12px;

  /* Other Settings: */
  --margin: 10px;
  --padding: 20px;
  --border: 2px inset #c5c5c5;
  --border-image: url('');
  --round-borders: 5px;
  --sidebar-width: 200px;
}

/* -------------------------------------------------------- */
/* BACKGROUND */
/* -------------------------------------------------------- */

body {
  background-color: var(--background-color);
  background-image: url("https://sadhost.neocities.org/images/tiles/stars3.gif");
  margin: 0;
}

/*past backgrounds:
https://sadhost.neocities.org/images/tiles/fondo_purplestars.gif
https://bettysgraphics.neocities.org/images/backgrounds/pattern%20328.gif
https://bettysgraphics.neocities.org/images/backgrounds/pattern%20328.gif
*/

/* -------------------------------------------------------- */
/* GRID */
/* -------------------------------------------------------- */

.layout {
  position: relative;
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid:
    "header header status rightsidebar" auto
    "marquee marquee marquee rightsidebar" auto
    "sidebar main main rightsidebar" 1fr
    "footer footer footer footer" auto
    / var(--sidebar-width) 1fr 1fr var(--sidebar-width);
  gap: 8px;
  font-family: var(--font);
  /*background-color: var(--secondary-bg-color);*/
  padding: 10px;
  border-radius: var(--round-borders);
  margin: 20px auto;
}

.status { 
  grid-area: status; 
  background-color: var(--content-bg-color);
  border: var(--border);
  border-radius: var(--round-borders);
  padding: var(--padding);
}

.header { 
  grid-area: header;
  background-color: var(--content-bg-color);
  background-image: url('/images/layout/misc.jpg');
  /*past backgrounds: /images/pattern\ 560.gif
  https://bettysgraphics.neocities.org/images/backgrounds/pattern%20601.gif
  
  */
  border: var(--border);
  border-radius: var(--round-borders);
  padding: var(--padding);
  height: 50px;
  font-family: var(--heading-font);
  font-size: 75px;
  color: var(--webtitle-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee {
  grid-area: marquee;
  border: var(--border);
  border-radius: var(--round-borders);
  background-color: var(--sidebar-bg-color);
  height: 20px;
  display: flex;
  flex-direction: column;            
  justify-content: center;
  padding-top: 4px;
  color: var(--text-color);
}

.sidebar { 
  grid-area: sidebar; 
  padding: var(--padding);
  background: var(--sidebar-bg-color);
  border: var(--border);
  border-radius: var(--round-borders);
  display: grid;
  justify-content: center;
  padding-top: 0;
  width: auto;
  background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/pattern%20328.gif");
}

.main { 
  grid-area: main; 
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-bg-color);
  border: var(--border);
  border-radius: var(--round-borders);
  height: 430px;
  color: var(--text-color);
  min-width: 0;
}
.footer { 
  grid-area: footer; 
  padding: var(--padding);
  background: var(--sidebar-bg-color);
  border: var(--border);
  border-radius: var(--round-borders);
  height: 25px;
}

.rightsidebar {
  grid-area: rightsidebar; 
  padding: var(--padding);
  background: var(--sidebar-bg-color);
  border: var(--border);
  border-radius: var(--round-borders);
  display: grid;
  justify-content: center;
  padding-top: 0;
  width: auto;
  background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/pattern%20328.gif");
}

/* -------------------------------------------------------- */
/* HOMEPAGE GRID */
/* -------------------------------------------------------- */



.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 8px;
}
    
.intro {
    grid-column: span 5 / span 5;
    padding: var(--padding);
    background-color: var(--secondary-bg-color);
    background-image: url("/images/layout/Background064.gif");
    border: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
}

.currently {
    grid-column: span 4 / span 4;
    grid-row-start: 2;
    height: 150px;
    background-color: var(--secondary-bg-color);
    border-radius: var(--round-borders);
    scrollbar-width: none;
    scrollbar-color: none;
    overflow-x: auto;
    box-sizing: border-box; 
}

.updates {
    grid-column: span 5 / span 5;
    grid-column-start: 1;
    grid-row-start: 3;
    background-color: var(--secondary-bg-color);
    border-radius: var(--round-borders);
    height: auto;
    background-image: url("/images/layout/pattern 231.gif");
    color: white;
}

.div10 > ul {
    margin-top: 0;
    padding-left: 1.1em; /* keep bullets aligned, optional */
    
}

.div10 > b {
    display: block;
    margin: 0 0 6px 0;
}

.stamps {
    grid-column: span 5 / span 5;
    grid-column-start: 1;
    grid-row-start: 4;
    overflow-x: auto;
    display: flex;
    padding: 6px;          
    box-sizing: border-box;
    align-items: center;
}

.blinkies {
    grid-column-start: 5;
    grid-row-start: 2;
    height: 150px;
    overflow-y: auto;
    scrollbar-width: none;
    width: 150px;
    overflow-x: hidden;
    scrollbar-color: transparent;
}
        
        

/* -------------------------------------------------------- */
/* MAIN ELEMENTS */
/* -------------------------------------------------------- */

hr {
  border: none;
  border-top: 2px dotted #FF62AD;
}

/* Links: */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover {
  font-size: 18px;
  color: var(--link-color-hover);
  text-decoration: none;
}
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* HEADINGS: */

main h1 {font-family: var(--subhead-font);}
main h2 {font-family: var(--subhead-font);}
main h3 {font-family: var(--subhead-font);}
main h4 {font-family: var(--subhead-font);}
main h5 {font-family: var(--subhead-font);}
main h6 {
  font-family: var(--subhead-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* -------------------------------------------------------- */
/* NAV */
/* -------------------------------------------------------- */

ul.nav {
  list-style-type: none;
  padding: 3px;
  width: 175px;
  border-radius: var(--round-borders);
}

li.nav a {
  display: block;
  color: var(--link-color);
  padding: 3px 8px;
  margin: 3px;
  text-decoration: none;
  background-image: linear-gradient(to bottom, var(--accent-color),var(--light-text-color));
  border: var(--border);
  border-radius: var(--round-borders);
}

/* Change the link and background color on hover */
li.nav a:hover {
  background-color: var(--background-color);
  color: white;
  text-shadow: #FFD7EB;
  font-weight: bold;
  -webkit-text-stroke: 1px;
  transform: scale(1.05);
}

/* -------------------------------------------------------- */
/* MISC DIVS */
/* -------------------------------------------------------- */

.footer-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.stamps {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; 
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 6px;          /* optional spacing inside the scroll area */
  box-sizing: border-box;
}

.glowtext {
-webkit-background-clip: text;
-webkit-text-fill-color: var(--webtitle-text-color);
-webkit-animation: glow 2.0s linear infinite;
animation: glow 2.0s linear infinite;
font-size: 75px;
}

@keyframes glow {
0% { text-shadow: 0 0 15px pink; }
50% { text-shadow: none; }
100% { text-shadow: 0 0 15px pink; }
}

@-webkit-keyframes glow {
0% { text-shadow: 0 0 15px pink; }
50% { text-shadow: none; }
100% { text-shadow: 0 0 15px pink; }
}

.starsborder {
  position: fixed;    
  top: 0;
  left: 0;
  right: 0;
  height: 70px;        
  background-image: url("/images/layout/04.gif");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 100%;
  z-index: 9999;
  pointer-events: none;
}

/* -------------------------------------------------------- */
/* CONTAINERS */
/* -------------------------------------------------------- */

.sidebar_container {
  display: block;
  text-align: center;
  padding: 5px;
  max-height: 100px;    /* change to whatever height you want */
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.sidebar_container2 {
  display: block;
  width: 140px;
  border: var(--border);
  background: url("/images/layout/water.gif");
  border-radius: var(--round-borders);
  font-size: 10px;
}

#rainbow_flex_container {
      overflow: scroll;
      flex: 1; /* Grow to rest of container */
      overflow-x: hidden;
      height: 10em;
      padding: 1rem;
      border: 3px solid;
      border-image-slice: 1;
      border-image-source: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
}

.flexrow {
  display: flex;
}

.flexcolumn {
  flex: 50%;
  column-gap: 20px;
}

.mediascrollbox {
  display: flex;
  flex-direction: row;
  background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/library.gif");
  overflow-x: auto;
  height: 100%;
  gap: 4px;
  padding: 6px 0;
}

.mediascrollbox div {
  width: 130px;
  height: 130px;
  margin: 0;
  padding: 6px;
  display: grid;                 /* make each item a grid so rows align predictably */
  grid-template-rows: 1fr auto;  /* top = image area (grows), bottom = text area */
  justify-items: center;        /* center horizontally */
  flex-shrink: 0;
  font-size: 12px;
  line-height: 12px;
  box-sizing: border-box;
  flex-direction: column;
}

.mediascrollbox div img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  align-self: end;
  justify-self: center;
  margin-bottom: 10px;
  align-items: center;      /* vertically center each item */
  justify-content: center;
}

.mediascrollbox div p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.1;
  align-self: end; /* anchor the text to the bottom row */
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  background-color: #FFD7EB;
}

.image-left {
  float: left;
  margin-right: 15px; /* Adds space between the image and text on the right */
  margin-bottom: 10px; /* Adds space below the image */
}

/* Optional: Use a "clearfix" or set overflow on the container if the text content is shorter than the image, to prevent subsequent elements from wrapping incorrectly. */
.image_left_container {
  overflow: auto; /* Or overflow: hidden; */
}

.pictureframe {
  border-width:10px; 
  border-style:solid;
  border-image: url("https://i.imgur.com/I7i5Udr.png") 35 fill round;     
  background-color: #869FE9;
  margin-top: 10px;      
}
    

/* -------------------------------------------------------- */
/* IMAGE GALLERY (PETRAPIXEL TUTORIAL) */
/* -------------------------------------------------------- */

.image-gallery {
  display: flex;
  flex-wrap: wrap;
}
.image-gallery div {
  width: 25%;
  margin: 5px;
  border: var(--border);
  box-sizing: border-box;
  width: calc(20% - 10px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 800px) {
  .image-gallery div {
    width: calc(50% - 10px);
  }
}

.image-gallery div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*captions*/
.image-gallery div span {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: var(--background-color);
  color: var(--text-color);
  text-align: center;
  padding: 5px 10px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(100px);
  transition: transform 0.4s ease, opacity 0.5s ease;
}

/* Captions on Hover */
.image-gallery div:hover span {
  opacity: 0.9;
  transform: none;
}

/* -------------------------------------------------------- */
/* TABBED CONTAINER */
/* -------------------------------------------------------- */

/* Style the tab */
.tab {
  overflow: hidden;
  border: var(--border);
  background-color: var(--secondary-bg-color);
  
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-family: basiic;
  color: var(--text-color);
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: var(--background-color);
  color: var(--background-color);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: var(--background-color);
  color: var(--text-light);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: var(--border);
  border-top: none;
  border-bottom-left-radius: var(--round-borders);
  border-bottom-right-radius: var(--round-borders);
  height: 300px;
  overflow-y: auto;
}

.tabcontainer {
  position: absolute;
  margin-left: 15px;
  margin-top: 15px;
  padding: 15px;
  border: var(--border)
}

.tabcontainer_img {
  float:left;
  width: 200px;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* SCROLLBAR */
/* -------------------------------------------------------- */

#scroll {
box-sizing: border-box;
white-space: nowrap;
font: 12px system-ui; 
overflow: auto;
padding: 7px;
height: 15em;
width: 15em;
border-radius: 6px;
border: 1px solid #888;
}
  
.con {
height: 95%;
width: 95%; 
white-space: normal;
display: inline-block;
padding: .2em;
vertical-align: middle;
overflow: auto; 
border-radius: 6px;
border: 1px solid #888;
}
.con:nth-child(2) {
margin: 0 5px 0 5px;
}
  
::-webkit-scrollbar {
width: 14px
}

::-webkit-scrollbar:horizontal {
height: 14px
}

::-webkit-scrollbar-corner {
background: #eee
}

::-webkit-scrollbar-track:vertical {
background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
border-radius: 5px; 
}

::-webkit-scrollbar-track:horizontal {
background: linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
border-radius: 5px; 
}

::-webkit-scrollbar-thumb {
border: 1.5px solid #888;
border-radius: 5px;
box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
}

::-webkit-scrollbar-thumb:vertical {
background: linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
}

::-webkit-scrollbar-thumb:horizontal {
background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
}

::-webkit-scrollbar-button:horizontal:end:increment,
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment,
::-webkit-scrollbar-button:vertical:start:decrement {
display: block
}

::-webkit-scrollbar-button:vertical {
height: 15px
}

::-webkit-scrollbar-button:vertical:start:decrement {
background: white;
background: url("https://dl.dropbox.com/s/n9ji42h9hdgdtpc/scroll3.png"), #eee;
background-repeat: no-repeat;
background-position: center;
-moz-background-size: 100% auto, cover;
-webkit-background-size: 100% auto, cover;
-o-background-size: 100% auto, cover;
background-size: 100% auto, cover;
border: 1.5px solid #888;
border-radius: 5px;
}

::-webkit-scrollbar-button:vertical:start:increment {
display: none;
}

::-webkit-scrollbar-button:vertical:end:decrement {
display: none;
}

::-webkit-scrollbar-button:vertical:end:increment {
background: white;
background: url("https://dl.dropbox.com/s/cdcco6pih7n1lae/scroll4.png"), #eee;
background-repeat: no-repeat;
background-position: center;
-moz-background-size: 100% auto, cover;
-webkit-background-size: 100% auto, cover;
-o-background-size: 100% auto, cover;
background-size: 100% auto, cover;
border: 1.5px solid #888;
border-radius: 5px;
}
  
::-webkit-scrollbar-button:horizontal {
width: 14px
}
::-webkit-scrollbar-button:horizontal:start:increment {
display: none;
}
::-webkit-scrollbar-button:horizontal:end:decrement {
display: none;
}

::-webkit-scrollbar-button:horizontal:start:decrement {
background: white;
background: url("https://dl.dropbox.com/s/xcm618ghd823271/scroll5.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
background-repeat: no-repeat;
background-position: center;
-moz-background-size: 100% auto, cover;
-webkit-background-size: 100% auto, cover;
-o-background-size: 100% auto, cover;
background-size: 100% auto, cover;
background-position: center;
border-radius: 5px;
border: 1.5px solid #888;
}
  
::-webkit-scrollbar-button:horizontal:end:increment {
background: white;
background: url("https://dl.dropbox.com/s/byeyi7am889ii9m/scroll6.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
background-repeat: no-repeat;
background-position: center;
-moz-background-size: 100% auto, cover;
-webkit-background-size: 100% auto, cover;
-o-background-size: 100% auto, cover;
background-size: 100% auto, cover;
background-position: center;
border-radius: 5px;
border: 1.5px solid #888;
}

/* -------------------------------------------------------- */
/* GRAPHICS */
/* -------------------------------------------------------- */

.lavalampcontainer {
  position: fixed;  
  right: 85px;         
  top: 400px;           
  width: 150px;
  height: 100px;
  pointer-events: auto;
  z-index: 1500;
}

.lavalamp {
  position: relative; 
  width: 150px;
  height: 100px;
}

.bearcontainer {
  position: fixed;   
  left: 85px;         
  top: 600px;            
  width: 150px;
  height: 100px;
  pointer-events: auto;
  z-index: 1500;
}

.bear {
  position: relative; /* keep internal positioning if you need it */
  width: 150px;
  height: 100px;
}
 
/* -------------------------------------------------------- */
/* WINDOWS 98 SCROLLBOX */
/* -------------------------------------------------------- */


/*A vast majority of this styling comes from 98.css code, if you're making a full windows 98 theme, I suggest you use the stylesheet this is sourced from - https://jdan.github.io/98.css/ */

.title-bar-controls button {
border:none;
border-radius:0;
box-sizing:border-box;
color:transparent;
min-height:23px;
min-width:75px;
padding:0 12px;
text-shadow:0 0 #222;
}

.title-bar-controls button {
background:silver;
box-shadow:inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
}

.title-bar-controls button:not(:disabled):active {
box-shadow:inset -1px -1px #fff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px grey;
text-shadow:1px 1px #222;
}

@media (not(hover)){
button:not(:disabled):hover {
box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}
}

.title-bar-controls button:focus {
outline:1px dotted #000;
outline-offset:-4px;
}

.title-bar-controls button::-moz-focus-inner { border:0 }
    
@font-face {
font-family: "Pixelated MS Sans Serif";
src: url("https://files.catbox.moe/1za99g.woff") format("woff");
src: url("https://files.catbox.moe/8fwbkl.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}   

.window, .title-bar {
font-family: "Pixelated MS Sans Serif", Arial;
-webkit-font-smoothing: none;
font-size: 11px;
}

.window {
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #ffffff;
background: #c0c0c0;
color:#000;
padding: 3px;
width:100%;
}

.title-bar {
background:linear-gradient(90deg, purple, orchid, pink);
padding: 3px 2px 3px 3px;
display: flex;
justify-content: space-between;
align-items: center;
}

.title-bar-text {
font-weight: bold;
color: white;
letter-spacing: 0;
margin-right: 24px;
}

.title-bar-controls {
display: flex;
}

.title-bar-controls button {
padding: 0;
display: block;
min-width: 16px;
min-height: 14px;
}

.title-bar-controls button:active {
padding: 0;
}

.title-bar-controls button:focus {
outline: none;
}

.title-bar-controls button[aria-label=Minimize]{
background-image:url("https://raw.githubusercontent.com/jdan/98.css/main/icon/minimize.svg");
background-position:bottom 3px left 4px;
background-repeat:no-repeat
}

.title-bar-controls button[aria-label=Maximize]{
background-image:url("https://raw.githubusercontent.com/jdan/98.css/4a2282dd9170cabf730fb5803d1153d86b2e94e3/icon/maximize.svg");
background-position:top 2px left 3px;
background-repeat:no-repeat;
}

.title-bar-controls button[aria-label=Close]{
background-image:url("https://raw.githubusercontent.com/jdan/98.css/main/icon/close.svg");
background-position:top 3px left 4px;
background-repeat:no-repeat;
margin-left:2px;
}

.window-body {
margin: 8px;
}

/* literally only part ive custom coded so it scrolls . i also like the effect the fieldset adds */
.fieldset {
border:1px gray solid;
box-shadow: white 1px 1px 0px inset, white 1px 1px 0px, white 0px 1px 0px, white 1px 0px 0px;
margin:0;
padding:10px;
overflow-y:auto; 
height: 150px;
scrollbar-width: none;
}