@import url('https://fonts.googleapis.com/css?family=Cherry Bomb One|Itim|Coral Pixels|Special Elite|Silkscreen|Press Start 2P|Chicle');

html {
  font-size: 10px;
  height: 100%;
}

body {
  margin: 0;
  padding: 0 10px 60px;
  background-color: var(--bodybkgrnd);
  background-image: var(--background);
  background-repeat: var(--background-repeat);
  background-size: var(--background-size);
  background-position: var(--background-position);
  background-attachment: fixed;
  color: var(--font);
  font-family: "Courier New";
  font-weight: bold;
  font-size: 9pt;
  letter-spacing: 1px;
  line-height: 1.5;
  cursor: crosshair;
  overflow-wrap: break-word;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bodybkgrnd);
}
h1,
.h1 {
  font-family: "Coral Pixels", serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline 2px var(--accent);
  padding: 1px;
  margin-bottom: 2px;
  margin: 0;
  
}

/* --------------------------------------------------------------
   WRAPPER 
-------------------------------------------------------------- */

#wrapper {
  width: 900px;
  margin: 0 auto;
  display: block;
}

/* --------------------------------------------------------------
   NAVI
-------------------------------------------------------------- */

#navigation {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--accent);
  border-radius: 15px;
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif) repeat top;
  opacity: 95%;
  margin-bottom: 5px;
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap;
  gap: 8px;
  flex-direction: column; 
  align-items: flex-start; 
   position: relative;
  
}
#navigation .nav-links {
  width: 100%;
  display: flex;
  justify-content: left; 
  flex-wrap: wrap;
  gap: 2px;
  
}

.nav-links a {
  display: inline-flex;  
  align-items: center;
  gap: 1px;
  padding: 4px 4px;
  border-radius: 6px;
  color: var(--link);
  text-decoration: none;
  margin-right: 6px;   
  font-size: 12px !important;
     
}


.nav-links a:hover {
  background: var(--navlink);
  color: var(--linkh);
  opacity: 75%;
  transition: .6s;
}

.nav-links img {
  height: 25px;
  width: auto;
}
#navigation h1 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px 0;
  padding: 0;
  text-align: left;
  width: 100%;
}



/* tHEME -------------------------------------------------------- */

.theme-selector {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #000000;
  text-shadow: -1px 0 #ffffff, 0 1px #ffffff, 1px 0 #ffffff, 0 -1px #ffffff;
  font-weight: bold;
  font-family: 'Itim';
  font-size: 12px;
  background: transparent; 
  padding: 0; 
}

.theme-selector button {
  padding: 2px 4px;
  font-family: "Silkscreen";
  font-size: 12px;
  background: var(--bodybkgrnd);
  opacity: 85%;
  color: var(--accent);
  border: 1px dashed var(--accent);
  cursor: crosshair;
  border-radius: 4px;
  transition: 0.2s;
}

.theme-selector button:hover {
  background: var(--accent);
  color: var(--bodybkgrnd);
  
}

.theme-selector button i {
  font-size: 12pt;
  pointer-events: none; 
}

/* --------------------------------------------------------------
   UPDATES + SOCIALS
-------------------------------------------------------------- */

#top-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
   margin-bottom: 5px;
   
}


#box-update,
#box-socials {
  width: 445px; 
  padding: 10px;
  border: 1px dashed var(--accent);
  border-radius: 15px;
 background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif) repeat top;
  opacity: 95%;
 max-height: 150px; 
  overflow-y: auto; 
  overflow-x: hidden; 
  display: block;
}
 
#box-socials {
   overflow-y: hidden; 
}


.socials-column a {
  font-size: 13px !important;
  line-height: 1.3;
}

/* --------------------------------------------------------------
   BOTTOM -MAIN
-------------------------------------------------------------- */

#bottom {
  width: 100%;
  padding: 15px;
  border: 1px dashed var(--accent);
  border-radius: 15px;
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif) repeat top;
  opacity: 95%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  margin-bottom: 5px;
 height: 100%;
}

.bottom-deco {
  margin-top: auto; 
  text-align: center;
  padding-top: 2px;
}


/* Quote */
.quote-container {
  font-family: "Coral Pixels", serif;
  font-size: 18px;
  text-align: left;
}

/* Intro */
.intro-wrapper {
  text-align: left;
  padding: 10px 5px;
  width: 800px;
  margin: 0 auto;
}

.pictureimg {
  width: 200px;
  height: 200px;
  margin: auto;
  background-image: var(--pictureimg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.mobile-note {
  text-align: center;
  font-size: 14px;
}



/* Details -------------------------------------------------------- */
.details-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 60; 
  width: 180px; 
}


.details-wrapper details {
  position: relative;
  width: 100%;
  max-height: 470px; 
  overflow-y: auto;  
  padding: 4px;
  background: transparent;
  color: #000;
  line-height: 12px;
  opacity: 0.9;
  font-size: 11px !important;
  font-family: 'Itim';
}


.details-wrapper details[open] {
  border: 1px dashed var(--accent);
  border-radius: 8px;
}


.details-wrapper summary {
  display: flex;
  height: 28px;
  cursor: pointer;
  background: transparent;
  font-family: "Coral Pixels", serif;
  font-size: 25px;
  font-weight: bold;
  position: relative;
  z-index: 61; 
}


.details-wrapper details > summary::before {
  width: 20px;
  height: 20px;
  margin-left: 1px;
  display: inline-block;
  transition: 0.2s;
  content: var(--detailarrow);
}

.details-wrapper details[open] summary::before {
  transform: rotate(90deg);
}


/* IFRAMES -------------------------------------------------------- */

.if-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 470px; 
  overflow: hidden;
}

.ifrm {
  border: none;
  width: 100%;
  height: 100%;
  display: block;
}

.contentFrame {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; 
  
  border: none;
  transition: opacity .4s ease;
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif) repeat top;
}


/* FOOTER -------------------------------------------------------- */
.footer-left,
.footer-marquee,
.footerimg {
  display: flex;
  align-items: center;
  gap: 4px;
}
footer {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--accent);
  border-radius: 15px;
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif) repeat top;
  opacity: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
   margin-bottom: 5px;
   font-size: 11px !important;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-marquee {
  width: 500px;
  overflow: hidden;
  
}
/* Marquee -------------------------------------------------------- */
.hmarquee {
  display: inline-block;
  width: 480px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.hmarquee .v-track {
  display: inline-flex;
  gap: 3px;
  animation: hscroll 20s linear infinite;
  align-items: center;
}


.hmarquee .v-track::after {
  content: "";
  display: inline-flex;
  gap: inherit;
  align-items: inherit;
  background-repeat: no-repeat;
}


.hmarquee .v-track > * {
  flex-shrink: 0;
}

@keyframes hscroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.hmarquee a,
.hmarquee img {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.footerimg {
  content: var(--footerimg);
  display: inline-block;
}

/* --------------------------------------------------------------
   MOBILE RESOLUTIONS
-------------------------------------------------------------- */

@media (max-width: 750px) {

  #wrapper {
    width: 100%;
  }

  #top-row {
    flex-direction: column;
    align-items: center;
  }

  #box-update,
  #box-socials {
    width: 95%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .pictureimg {
    width: 150px;
    height: 150px;
  }

  .mobile-note {
    font-size: 12px;
  }
}



html, body, *, iframe {
  cursor: crosshair !important;
}
