@media (prefers-color-scheme: dark) {
  :root {
    --text: white;
    --border: #acf9fa;
    --accent: #c8faac;
    --bg: rgba(0, 60, 60, 0.8);
    --background-color: blue;
}
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Jacquard 24";
  color: var(--text);
  background-image: url("https://sadhost.neocities.org/images/tiles/water2.webp");
  background-repeat: repeat;
  min-height: 100vh;
  cursor: url("https://file.garden/ZWlUCY4S7Xz2vypS/for%20my%20neocities/cursors/stars/light%20purple%20star%20cursor.png"), default;
}

.container {
  max-width: 55rem;
  margin: 5vw auto 12px auto;
  border: 6px ridge var(--border);
  /* outline: 3px solid var(--gradientTop); */
  /* outline-offset: 4px; */
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;
  background-image: url("https://sadhost.neocities.org/images/tiles/backstar.gif");
  background-repeat: repeat;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Flexible item sizes */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }

/* Navigation */
nav {
  border: 2px ridge var(--border);
  border-radius: 5px;
  padding: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
}

nav div {
  text-align: center;
  font-size: 1.25rem;
  margin: 5px;
}

nav a {
  display: block;
  margin: 5px;
  background: linear-gradient(to right, var(--bg), var(--gradientBottom));
  border-radius: 5px;
  padding: 2px 7px;
  text-decoration: none;
  color: var(--text);
}

nav a:hover,
nav a:focus {
  background: linear-gradient(to right, var(--bg), var(--gradientBottom), var(--gradientTop));
  font-style: italic;
}

/* Sections and Footer */
section {
  border: 2px ridge var(--border);
  border-radius: 5px;
  background: linear-gradient(var(--gradientTop), var(--gradientBottom));
  padding: 5px;
}

footer {
  width: fit-content; /* or a specific width like 80% or 600px */
  padding: 0.25rem 0.25rem; /* optional: gives space inside the box */
  text-align: center;
  margin: 0 auto 5vw auto; /* center horizontally and add bottom margin */
  font-size: 1rem;
  background-color: black;
  color: white;
  border-radius: 2px; /* optional: gives it a nice shape */
}


footer a {
  text-decoration: none;
  color: var(--text);
}

header {
    background: url(https://i.pinimg.com/736x/52/2e/83/522e83386be26e82253d8d9669143f80.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border: 2px ridge var(--border);
    border-radius: 5px;
    position: relative
}
/* Headings and Text */
h1, h2, h3, h4, h5, h6, p {
  margin: 5px;
  line-height: 1.2;
}

h1 {
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: 400;
  text-align: center;
  border-bottom: 2px ridge var(--border);
  padding-bottom: 5px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
}

h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; color: var(--accent); padding-left: 12px; }

/* Media */
img {
  max-width: 100%;
}

div.small > img {
  display: block;
  margin: 5px auto;
  border: 2px ridge var(--border);
  border-radius: 5px;
}

pre {
  overflow-x: auto;
}

a:visited {
  color: var(--accent);
}

header span {
    font-size: 2.5rem;
    position: absolute;
    bottom: 0;
    right: 10px;
    margin: 10px;
    font-weight: 700;
    text-shadow: 1px 1px var(--text), -1px 1px var(--text), 1px -1px var(--accent), -1px -1px var(--accent);
    color: var(--border)
}

.image-wrapper {
    position: relative;
    width: 100%;
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #fff0;
    height: 31px
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-right 18s linear infinite
}

.marquee-track img {
    margin-right: 8px;
    height: 31px
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%)
    }
    100% {
        transform: translateX(0%)
    }
}

}