/* adding in my fonts most found on dafont.com*/

@font-face {
    font-family: "rainy hearts"; 
    src: url("https://files.catbox.moe/r4oudq.ttf") format("truetype");
}

@font-face {
  font-family: "pixel arial";
  src: url("https://files.catbox.moe/xkmglb.otf") format("truetype");
}

@font-face {
  font-family: "pc9800";
  src: url("https://files.catbox.moe/i0ns2d.ttf") format("truetype");
}

@font-face {
  font-family: "alagard";
  src: url("https://files.catbox.moe/h7d0sv.ttf") format("truetype");
}

@font-face {
  font-family: "GothicPixels";
  src: url("https://files.catbox.moe/2d57dw.ttf") format("truetype");
}

@font-face {
  font-family: "VeniceClassic";
  src: url("https://files.catbox.moe/08uq79.ttf") format("truetype");
}


/* variables */
:root{
  /*background color */
  --background-color: #000000;
  --content-background-color: #f5f5f5;
  --sidebar-background-color: #ffffff;

  /* text color */
  --text-color: #000000;
  --link-color: #000000;
  --link-hover-color: #ff8ef9;

  /* font */
  --font: "pc9800", times, serif;
  --heading-font: 'pc9800', sans-serif;
  --font-size: 12px;

  /*other settings */
  --margin: 10px;
  --padding: 10px;
  --border: 1px solid #797979;
  --border-radius: 1px;

  --pink: #f5dbf5;
}

/* basic styling */
/* -------------------------------------------------------- */

* { /* reset */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--text-color);
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: 1.2;
  margin: var(--margin);
  padding: var(--padding);

  background-color: var(--background-color);
 
  /*
  tile background:
  background-image: url('https://sadhost.neocities.org/images/tiles/nurple-static-bright.gif'); 

  colored background:
  background-color: var(--background-color);

  image background:
  background-image: url('bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;*/
}

/* links */
/* -------------------------------------------------------- */

a {
  text-decoration: none;
  font-weight: bold;
  font-family: var(--heading-font);
}

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

a:hover{
  color: var(--link-hover-color);
  text-decoration: none;
}


/* layout for home page */
/* -------------------------------------------------------- */
.layout{ /* container for the three columns */
  display: flex;
  gap: 5px;
  width: 1470px;
  height: auto;
  margin: 0 auto;
}

.content{ /* three columns */
  /* intentionally empty for now */
}

/* left content */
.left-content{
  flex: 1;
  display: flex;
  flex-direction: column; /* one image per row */
  gap: 30px; 
  align-items: flex-start;
 /* border: var(--border);
   border-radius: var(--border-radius);*/ 
}

.middle-content{
  flex: 3;
 /* border: var(--border);
   border-radius: var(--border-radius);*/ 
}

.right-content{
  flex: 1;
  display: flex;
  flex-direction: column; /* one image per row */
  gap: 30px; 
  align-items: flex-start;
  /*border: var(--border);
   border-radius: var(--border-radius);*/
}

.side-image { /* for left and right side images */
  height: 140px;
  width: auto;
  max-width: 100%;
  display: block;
  padding: 10px;
  margin: 0 auto;

}

#grave{ /* image on right side of header */
  z-index: 2;
  margin-left: -130px; 
  margin-top: 58px;
}

/* mp3 player*/

.player {
  position: relative;
  width: 70%;
  margin-top: 15px;
  margin-left: 155px;
}

/* base mp3 image */
#mp3 {
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
}

/* album cover */
.cover {
  position: absolute;
  top: 35%;              
  left: 20%;            
  width: 42px;
  height: auto;
  object-fit: cover;
  border: 1px solid #000;
  z-index: 2;
}

/* song info */
.song-info {
  position: absolute;
  top: 53%;              
  left: 19%;             
  line-height: .5;
  z-index: 2;
}

.song-title {
  font-size: 0.75em;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
}

.artist-name {
  font-size: 0.6em;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
}

/* controls */
.controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* buttons opt-in */
}

/* each button manually placed */
.control-btn {
  position: absolute;
  background: none;
  border: none;
  font-size: 0.75em;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}

/* prev */
#prevBtn {
  top: 47%;      
  left: 60%;     
}

/* play / pause */
#playBtn {
  top: 59%;      
  left: 71%;     
}

/* next button */
#nextBtn {
  top: 47%;      
  left: 82%;     
}
/* header */
/* -------------------------------------------------------- */
#header {
  width: 100%;
  height: auto;
  padding: var(--padding);
  border: var(--border);
  border-radius: var(--border-radius);
  background: url('../assets/home-page/swamp.png');
  background-size: cover;
  background-position: center -280px;
  background-repeat: no-repeat;
}

#header img {
  width: 100%;
  height: auto;
}

/* main content */
/* -------------------------------------------------------- */

.main-content { /*holds all the boxes */
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(10, auto);
  grid-column-gap: 5px;
  grid-row-gap: 5px;
}

.main-content>div{ /* each box 
  /*
  border: var(--border);
   */
  padding: var(--padding);
  border-radius: var(--border-radius);
  max-height: 300px;
  overflow-y: auto;
  background-color: var(--content-background-color);

  border: 1px solid #000000 !important;  
    /*
  border-right-color: #808080 !important;  bottom-right shadow 
  border-bottom-color: #808080 !important;
  border-left-color: #fff !important;
  */
}


 
.main-content > .about-me {
  max-height: 469px; /* hardcoded to fit other content haha >:) */
}
/* positioning each bo, site to help : https://grid.layoutit.com*/
.nav { grid-area: 1 / 1 / 5 / 3; }
.welcome-text{ grid-area: 1 / 3 / 5 / 5; }
.stamps-blinkies  { grid-area: 1 / 5 / 5 / 9; }
.imood-widget { grid-area: 5 / 1 / 7 / 3; }
.tomogachi { grid-area: 5 / 3 / 7 / 5; }
.site-button  { grid-area: 7 / 3 / 9 / 5; }
.counter { grid-area: 9 / 3 / 11 / 5; }
.about-me { grid-area: 5 / 5 / 9 / 9; }
.cbox { grid-area: 9 / 1 / 11 / 3; }
.image-box { grid-area: 7 / 1 / 9 / 3; } 
.moon-widget {grid-area: 9/5/10/7}
.quiz-widget{ grid-area: 9 / 7 / 11 / 9; }
.pixel { grid-area: 10 / 5 / 11 / 7; }

.cute-border {
  border: 7px solid transparent; /* THIS is the missing piece */
  border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFaADAAQAAAABAAAAFQAAAAAIGxIOAAAAoElEQVQ4EbWS4Q6AIAiErfX+r1zLhDng8FizPybHfZxWaxueg2DeQQ/jC2xfKQK+CqpDkAgrI9RPIRArhFhvBUrf42Wm0GmGb+4Ph84NZha1dX5XoDC+qXMqd+oRoBJBq6lhPxRAGFTed/x54t+06rf/lgpjmtWzEFmv+uwAFcYL1KOvb82yhxBpkLUCpY4n4GxF6VC9s5jpEYDxZWHr2gO0gRoDQFrVhAAAAABJRU5ErkJggg==") 7 / 7px / 0 round;
  padding: 5px;

  background-color: rgb(255, 255, 255);
}



/* nav bar v1 */
/* -------------------------------------------------------- 
.nav h1{
  font-family: Helvetica, sans-serif !important;
  text-align: center !important;
  background-color: #000;  
  margin-left: 5px;
  color: #fff !important;
  padding: 5px !important;
  font-size: 1.25em !important;
}

.nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}


.nav li a {
  margin-left: -12px;
  display: block;
  padding: 4px;
  border: var(--border);
  background: var(--content-background-color);
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
  box-shadow: 2px 2px 0 #2a2a2a;
}


.nav li a:hover {
  background: #000;
  color: #fff;
}

.nav li a::before {
  content: "";
}

.nav li a:hover::before {
  content: "♱ ";
}


*/

/* nav */
.nav {
  display: flex !important;
  flex-direction: column; /* stack h1 and li vertically */  
}

.main-content > .nav {
/* blank for now */
}

.navTitle{
  font-size: 1.25em !important;
  text-align: center;
  color: black !important;
  margin-bottom: 0px !important;
  font-family: 'pixel arial', serif !important;
  margin-top: 5px !important;
}

.nav ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.nav li {
  width: 100%;
  display: flex;
  justify-content: center; /* center the link in its “row” */
  margin-bottom: 4px; /* spacing between buttons */
  margin-left: -10px;
}

.nav li a {
  display: block;
  padding: 4px 8px;
  width: 90%; 
  color: #000;
  background-color: var(--pink);
  font-weight: bold;
  text-decoration: none;

  /* 3D Windows 98 effect */
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #808080;
  border-right: 1px solid #808080;

  box-sizing: border-box;
  text-align: center;
  transition: all 0.1s;
}

.nav li a:hover {
  /* pressed button effect */
  background-color: #808080;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  color: #fff;
}

/* widgets */
/* look at cute border if you need to make changes to imood aswell*/
.imood-widget{
  padding-left: 30px;
  text-align: center;
}
/* this is just in case i wanna make the imood widget have a border, but i dont want to do that right now
.moodcontainer{
border: 1px solid #232323 !important;
padding: 1.5px;
background-color: rgb(255, 255, 255);
border-radius: 6px;
}*/

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}
.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}
.tomogachi{
  font-size: 0.9em;
  text-align: center;
  align-items: center;

}
.tomogachi img{
  width: 65%;
  height: auto;
}

.image-box img{
  border: 1px solid #c10000;
}

.moon-widget{
  background-image: url("https://sadhost.neocities.org/images/tiles/stars5.gif");
  outline: 1px solid rgb(255, 255, 255) !important;
  outline-offset: -2px;
}

.moon-widget table {
  width: 100% !important;

}
.moon-widget img {
  width: 100% !important;  /* make the moon image scale with container */
  height: auto;
}

.quiz-widget{
  text-align: center;
background-image: url("https://sadhost.neocities.org/images/tiles/bgif025.gif");}

.quiz-widget img {
  border: 1px solid #000;
}

.pixel{
  height: 145px;
  background-image: url("https://www.fws.gov/sites/default/files/2021-11/oak1.JPG");
  background-size: cover;
  outline: 1px solid rgb(6, 74, 41) !important;
}


/* styling for text of main content */
/* -------------------------------------------------------- */
.content p {
  margin: 0.75em 0;
}

.content ol,
.content ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
  
}

.content ol li,
.content ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

.content blockquote {
  background: var(--sidebar-background-color);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  border: var(--border);
}

.content hr {
  border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFaADAAQAAAABAAAAFQAAAAAIGxIOAAAAcklEQVQ4EWNgoBW4q6z8H4RB5iOzCdmHrBaZzQji/Pv3D0M/ExMTg/Ldu4wYElABfPqYcGlCFwcZgi6Giw92yW1FRQwNqvfv43QlzDBc+uAakRUQYyA2g7HqI8WLMENBNLn6kM0YZY+GwGgIjIYA/UIAAIQYM56T/sz9AAAAAElFTkSuQmCC") 7 / 7px / 0 round;
  border-width: 7px;
  border-style: solid;
  margin-top: 10px;
}

/* formating in general body text */
/* -------------------------------------------------------- */

.centerText{ /* for centering text */
  text-align: center;
}

.ascii-border{
  text-align: center;
  font-family: Helvetica,sans-serif;
  margin-top: 0px !important;
  margin-bottom: 10px !important;
}

pre{ /* ascii art */
  text-align: center;
}

::selection {
  background-color: var(--content-background-color);
}

/* highlight */
mark{
  text-shadow: 1px 1px 4px rgb(255, 158, 244);
  background-color: inherit;
  color: var(--text-color);
}

/* COLUMNS: */
.two-columns {
  display: flex;
  justify-content: center;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* borders */
#heart-sideborder{
  border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFaADAAQAAAABAAAAFQAAAAAIGxIOAAAAf0lEQVQ4EWNgoBWQ0uD5D8Ig85HZhOxDVovMBhsC0wwzGGY4TBwbjUstSJwFWcOzG18YkfkgNkjRv3//4MJMTEwM6OrQ+WDFEmpcYK/DdKLzYeLoNLo6dD4DTABGoxuAiw9TD6Mx1CGHE4YkHgFy9eExclRqNARGQ2A0BGgYAgA0aytz72jEbwAAAABJRU5ErkJggg==") 7 /  7px / 0 round;
  border-width:  7px;
  border-style:  solid;

}

#bow-sideborder {
  margin-top: 40px;
  margin-bottom: 10px;
  border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFaADAAQAAAABAAAAFQAAAAAIGxIOAAAAbklEQVQ4Ee2QXQqAMAyD96peQD3B9P7X84cMPgmF6YuPHYymadJCSsmXCWQCmUAm8FsCcx2OZRtPLXT8dcC1jtsSzOs+XWA/Ip4vszTMhd3HvJE0qi6Sqfeke/VxmdpbFHn01GfONYjYw8cadfQ3pZEtA02yedcAAAAASUVORK5CYII=") 7 /  7px / 0 round;
  border-width:  7px;
  border-style:  solid;
}


/* HEADINGS: */
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.content h1:first-child,
.content h2:first-child,
.content h3:first-child {
  margin-top: 0;
}


.content h2,
.content h3,
.content h4,
.content h5 {
  font-size: 1em;
}
.content h1{
  font-size: 2.5em;
  font-family: "VeniceClassic",  serif;
  color: rgb(255, 212, 245);
  -webkit-text-stroke: .25px black; /* outline */
}

.content h2 {
  margin-bottom: 2px;
}


.content h6 {
  font-size: 1em;
}

/* SCROLLBAR STYLING */
/* -------------------------------------------------------- */
.scrollable > div::-webkit-scrollbar {
  width: 5px;
}

.scrollable > div::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable > div::-webkit-scrollbar-thumb {
  background-color: #727272;
  border-radius: 10px;
}

.scrollable > div::-webkit-scrollbar-thumb:hover {
  background-color: #a8a8a8;
}

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

/* image box on home page uses something else, not this one  */

/* images is for multiple images in a row for a body paragraph */
.images {
  display: flex;
  width: 100%;
  height: auto;
  gap: 5px;
}

.images img {
  flex: 1;
  width: 25%;
  height: auto;
  justify-content: center;
}


/* single image in a body paragraph */
.image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto 5px;

}

.sm-image {
  display: block;
  width: 50%;
  height: auto;
  margin: 0 auto 5px;
}


.border-image {
  display: flex;
  width: auto;
  height: 200px;
  max-width: 100%;
  margin: 0 auto 20px;
  border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFaADAAQAAAABAAAAFQAAAAAIGxIOAAAA2klEQVQ4EdWUUQ4DIQhEXdOTGO9/oo1Hsc0kHXekUG2/Wn8QeAOsa0zpX9axM2it9d57TznndJ7nlualLoowWEoZe8TUV4487E0d3UOsk6EApmytHZxc+XAPOOoeibY0+nkoxCbWsonlGZ8sxVPwjbPktesK1rzqpv4KTYlNR/WZGtxDLCZpmbeWeVrqJ47JKfiBE+r1bELo2UjzqnPnUNgFTNDjx5mStWdDkbURz/iwEFI8gouNp3FfHID2VUKML5SXX/S+rhVA+xPUR3GvmDupBb+azBb5Sf8Bhrl5HFmHB3YAAAAASUVORK5CYII=") 7 / 7px / 0 round;
  border-width: 7px;
  border-style: solid;

}

#about-graphics{ /* about me section images */
  width: 50%;
  height: auto;
  margin: 0 auto;
}

.stamp-images {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 20px;
}

.stamp-images img {
  width: auto;
  height: 40px;
}

.stamp-images img:hover,
.blinkies img:hover {
  transform: scale(2);
  transition: 0.5s;
}

.blinkies {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.blinkies img {
  width: 31%;
  height: auto;
}

