body {
  padding: 0;
  background-color: var(--bodybkgrnd);
  background-image: var(--background);
  background-repeat: no-repeat, repeat;
  background-size: var(--background-size);
  background-position: var(--background-position);
  background-attachment: fixed;
  font-family: "Courier New";
  font-weight: bold;
  color: #fff;
  cursor: crosshair;
}

html,
body,
*:not(input):not(textarea),
iframe {
  cursor: crosshair !important;
}

.navbar {
  width: 1140px;
  margin: 0 auto;
  height: 4px;
  padding: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.navbar a,
.navbar .toggle-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--linknav);
  cursor: pointer;
  border: none;
  padding: 2px 4px;
}

.navbar a:hover,
.navbar .toggle-link:hover {
  color: var(--linkh);
}

.nav-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-icon img {
  height: 26px;
  width: auto;
  transition: transform 0.4s ease-out;
}

.navbar a:hover img,
.navbar .toggle-link:hover img {
  transform: scale(1.4);
}

.nav-icon span {
  font-family: Itim;
  font-size: 15px;
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.subnav-inline {
  display: flex;
  overflow: hidden;
  max-width: 0;
  transition: max-width 0.4s ease;
}

#toggleSubnav:checked~.navbar .subnav-inline {
  max-width: 650px;
}

.subnav-inline a {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#toggleSubnav:checked~.navbar .subnav-inline a {
  opacity: 1;
}

.page {
  width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 830px 250px;
  grid-template-rows: auto min-content;
  column-gap: 5px;
  row-gap: 5px;
}

.main {
  position: relative;
  height: 480px;
  padding: 5px;
  border-radius: 5px;
  border: 1px dashed var(--accent);
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif);
  color: #000;
  grid-column: 1;
  grid-row: 1;
}

.main-content {
  position: relative;
  z-index: 2;
}

.main p {
  font-family: Tahoma;

  font-size: 13px;
  color: #000;
  width: 500px;
  line-height: 20px;
  padding: 2px;
  font-weight: normal;
}

.main p.bordered {
  border: 1px dashed var(--accent);
  border-radius: 4px;
}

.main p::selection {
  color: #fff;
  background-color: var(--accent);
}

.main a:link,
.main a:visited,
.main a:active {
  font-family: Itim;
  color: var(--link);
}

.main a:hover {
  color: var(--linkh);
  text-decoration: underline;
}

.main highlight {
  font-weight: bold;
  text-decoration: underline;
  font-size: 9pt;
  background-color: var(--accent);
  padding: 3px 3px;
  border-radius: 3px;
  color: #FFFFFF;
}

#contentFrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 4;
  overflow: auto;
  border: none;
}

#contentFrame[src] {
  opacity: 1;
}

.footer-row {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-self: start;
}

.footer {
  position: relative;
  gap: 5px;
  width: 790px;
  justify-content: space-between;
  align-items: center;
  border: 1px dashed var(--accent);
  border-radius: 5px;
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif);
  opacity: 1;
  color: #000;
  padding: 4px 8px;
  font-family: "Itim";
  font-size: 11px;
  font-weight: bold;
  display: flex;
  flex-wrap: nowrap;
}

.footer img {
  height: auto;
  max-height: 25px;
}

.footer-text {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hmarquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  height: 25px;
  line-height: 1;
}

.hmarquee a {
  font-family: "Courier New";
  font-size: 11px !important;
  color: #000 !important;
  text-decoration: none !important;
}

.hmarquee a:hover {
  color: #000 !important;
  text-decoration: none !important;
}

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

.hmarquee:hover .v-track {
  animation-play-state: paused;
}

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

  100% {
    transform: translateX(-50%);
  }
}

.quote-container {
  text-align: left;
  font-family: "Coral Pixels", serif;
  font-size: 25px;
  border-bottom: 1px dashed var(--accent);
}

.sidebar {
  width: 250px;
  overflow-y: hidden;
  opacity: 1;
  gap: 5px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.sidebar-box {
  border: 1px dashed var(--accent);
  border-radius: 5px;
  background: url(https://heathersaturnia.neocities.org/pxls/deco/smgrdppr.gif);
  padding: 8px;
  color: #000;
  margin-bottom: 7px;
}

.sidebar-box header {
  font-family: "Coral Pixels";
  font-size: 17px;
  margin-bottom: 5px;
  border-bottom: 1px dashed var(--accent);
}

.sidebar-content {
  font-family: Itim;
  font-size: 13px;
  color: #000;
  line-height: 1.3;
}

.sidebar-content img {
  margin: 3px 2px;
  image-rendering: pixelated;
}

.calendar iframe {
  width: 100%;
  height: 185px;
  border: none;
}

#clock {
  font-size: 15px;
  font-family: "Silkscreen";
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
  font-weight: bold;
  line-height: 1;
}

.music-player {
  width: 100%;
  height: 115px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 1;
}

.music-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.theme-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-family: 'Itim';
  font-size: 12px;
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.theme-selector button {
  padding: 2px 4px;
  font-size: 12px;
  background: var(--bodybkgrnd);
  opacity: 1;
  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);
}

#loading {
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  z-index: 10000;
  background-color: #000000d3;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 60px;
}

#loading p {
  color: var(--accent);
  font-family: "Silkscreen";
  font-size: 24px;
  text-align: center;
  display: block;
  clear: left;
  margin-top: 10px;
}

.copyButton {
  width: 125px;
  font-size: 10px;
  border: 1px dashed var(--accent);
  background-color: var(--accent);
  color: #ffffff;
  height: 35px;
  margin-bottom: 0px;
}

.memo {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  border: none;
}

.memo2 {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 130px;
  font-family: 'Itim';
  font-size: 10px;
  line-height: 12px;
  color: #000;
}


.memo2-top {
  width: 112px;
  height: 20px;
  background: url(https://heathersaturnia.neocities.org/pxls/icns/memo2-top.gif) center top / 112px auto no-repeat;
  margin-left: 9px;
}

.memo-middle {
  width: 112px;
  background: url(https://heathersaturnia.neocities.org/pxls/icns/memo-middle.gif) center top / 112px auto repeat-y;
  margin-left: 9px;
  padding: 5px 0;
}


.memo2-bottom {
  width: 112px;
  height: 20px;
  background: url(https://heathersaturnia.neocities.org/pxls/icns/memo2-bottom.gif) center bottom / 112px auto no-repeat;
  margin-left: 9px;
}

.memo-content {
  padding: 6px 6px 8px;
}



.memo-content {
  padding: 6px 6px 8px;
}

.memo summary {
  display: flex;
  align-items: center;
  font-weight: bold;
  padding: 4px 0;
  margin-left: 45px;
  position: relative;
}

.memo details {
  position: relative;
  width: 112px;
  background: url(https://heathersaturnia.neocities.org/pxls/icns/memo-middle.gif) center top / 112px auto repeat-y;
  margin-top: -19px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-family: 'Itim';
  font-size: 11px;
  line-height: 12px;
  color: #000;
}

.pictureimg {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 175px;
  height: 175px;
  background-image: var(--pictureimg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  pointer-events: none;
}

@media (max-width: 768px) {
  body {
    background-size: auto, 75px !important;
    background-repeat: no-repeat, repeat !important;
    background-attachment: scroll !important;
   background-position: center left, top !important;
  }
}
@media (orientation: portrait) {
  body {
    background-size: auto, 75px !important;
    background-repeat: no-repeat, repeat !important;
    background-attachment: scroll !important;
    background-position: center left, top !important;
  }
}

