
@font-face {
  font-family: "RunescapePlain";
  src: url(/assets/fonts/RuneScape-Fonts/ttf/RuneScape-Plain-12.ttf);
}


/*THEME COLOURS*/
:root {
  --pink-light: #FF8AFB;
  --pink-hot: #FF2C7F;
  --blue: #38C7E0;
  --aqua-deep: #3CBD95;
  --aqua-bright: #22E27C;
  --yellow: #FFFF80;
  --red: #B00E10;
  --blue-deep: #00009A;

}

h3 {
  font-family: "RunescapePlain";
  color: #54E39B;
  text-transform: uppercase;
  background: #00009A;
  text-align: center;
  font-size: 20px;
  padding: 4px 6px;
  margin: 0 0 8px;
}


p {
  font-family: "RunescapePlain";
}



/*GRID AREAS*/
.title-box        { grid-area: title-box;}
.left-sidebar     { grid-area: left-sidebar; }
.right-sidebar    { grid-area: right-sidebar; }
.entries          { grid-area: entries; }


/*BLOG LAYOUT*/
.blog-layout {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas:
  "title-box         title-box  title-box"
    "left-sidebar    entries   right-sidebar"
    "left-sidebar  entries  right-sidebar"
    "left-sidebar    entries  right-sidebar"
    "left-sidebar  entries  right-sidebar"
    "left-sidebar entries   right-sidebar";
  gap: 20px;
  align-items: flex-start;
}




.sidebar-box .box-body {
  font-size: 18px;
  font-family: "RunescapePlain";
}


/*STYLE FOR ALL BOXES*/
.box {
  position: relative;
border:3px outset #999;
    -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
    -moz-box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
 
}

/*STYLE FOR ALL TITLEBARS*/
.box-titlebar {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  background-image: url("/assets/98sky.gif");
  font-family: "RunescapePlain";
  text-transform: uppercase;
  font-size: 14px;
  color: #00009A;
  text-shadow: 2px 1px 0 #ffffff;
  border-bottom: 1px solid;
}


/*BACKGROUND IMAGE OF MAIN PART OF THE BOXES*/
.box-body {
  padding: 10px;
  background-color: #165860;
}

/*TEXT BACKGROUND COLOUR*/
.text-bg {
  padding: 3px;
  background-color: #D55648;
}



/*MAIN LAYOUT*/
body {
  position: relative;
  font-family: "RunescapePlain";
  color: #D4A2FF;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  max-width: 900px;
  margin: auto;
  padding: 110px 20px 60px;
  align-items: flex-start;
  box-sizing: border-box; 
}

/*STARRY PAGE BACKGROUND GIF*/
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/blue6.png");
  background-repeat: repeat;
  background-attachment: fixed;
  filter: hue-rotate(10deg);
  filter: contrast(60%);
  z-index: -2;
  pointer-events: none;
}


/*CRT TEXTURE OVERLAYED ON THE BACKGROUND*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/Perfect_CRT-240p(BRT).png");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}







/*TOP RAT MARQUEE*/
.marquee-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 100;
  padding: 3px 0;
}
.marquee-gif {
  height: 90px;
  display: inline-block;
  padding-left: 100%;
  animation: scrollLeft 16s linear infinite;
}
@keyframes scrollLeft {
  to { transform: translateX(-100%); }
}






/*TOP LOGO AND LINK BUTTONS*/
.logo-container {
  position: relative;
  grid-column: 1 / 5;
    z-index: 0;
}


.logo {
  width: 500px;
  height: auto;
  object-fit: fill;
  filter: invert(100%);
mix-blend-mode: color-burn;
}

.button-wrapper {
  grid-column: 8 / 12;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid black;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 15px;
  font-family: "RunescapePlain";
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  text-shadow: 2px 1px 0 #00009A;
  background-image: url("/assets/pplhalx.gif");
}
.link-button img {
  width: 18px;
  height: auto;
}
.link-button:hover {
  background-image: url("/assets/blue_glitter.gif");
  background-size: cover;
}
.active-link {
  color: #ffffff;
  border-color: #B00E10;
  border-width: 3px;
}





 /*AD DIVIDER (CURRENTLY BLANK)*/
/*.divider-row {*/
/*  grid-column: 1 / -1;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  position: relative;*/
/*}*/
/*.ad-divider {*/
/*  width: 100%;*/
/*  max-width: 1000px;*/
/*  height: auto;*/
/*}*/





/*BLOG ENTRIES COLUMN*/
.blog-entries {
  grid-area: entries;
  display: grid;
  gap: 20px;
  padding: 20px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  text-shadow: 1px 1px 0 #000000;
  font-size: 20px;
  font-family: "RunescapePlain";
  text-transform: uppercase;
  color: #54E39B;
}

.entry-date {
  font-size: 11px;
  color: #ffffff;
  font-family: "RunescapePlain";
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #000000;
}

.blog-entry h2 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #ffffff;
  background: #C7447B;
  font-family: "RunescapePlain";
  text-shadow: 2px 1px 0 #00009A;
  text-transform: uppercase;
}

.blog-entry p {
  font-size: 14px;
  font-family: "RunescapePlain";
  line-height: 1.5;
  margin: 0 0 5px;
  color: #000000;
}
/*MARGIN ON BOTTOM MEANS THE DASHED LINE BENEATH HAS ROOM*/




.entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #cccccc;
  padding-top: 8px;
}



/*"YOU'RE A STAR" GIF*/
.red-star{ 
  width: 20px;
}




/*FOOTER*/
.blog-footer {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 11px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.footer-frame {
  height: 32px; 
  margin-bottom: 6px; 
  }






/*MARAPETS AVATAR GIFS*/
.avatar {
  width: 30px;
  padding: 5px;
}

/*SILLY RANDOM GIF PIXEL ICONS*/
.tv-gif-container {
  position: relative;
}

.tv-gif { 
   position: absolute;
   display: flex;
  width: 50px;
  margin-left: 50px;
  margin-right: 320px;
  margin-top: 130px;
}





/*RESPONSIVENESS STUFF*/
@media (max-width: 600px) {
  body { grid-template-columns: 1fr; padding-top: 130px; }
  .logo-container,
  .button-wrapper,
  .divider-row,
  .blog-layout,
  .blog-footer {
    grid-column: 1 / -1;
  }
}
  
  
