* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: "Montserrat", sans-serif;
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 100%;
}
body {
  margin: 0;
/*  padding: var(--padding); */
/*  background-image: url('/assets/img/top-scroll-bg.png');  Replace with your image path */
  background-size: contain; /* Ensure the image covers the entire body area */
  background-position: top; /* Start the image at the top */
  background-repeat: no-repeat; /* Do not repeat the image */
  width: 100vw; /* Ensure it covers the full viewport width */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.content-wrapper {
  max-width: 85rem; /* Constrain content width */
  margin: 0 auto; /* Center content */
  padding: var(--padding); /* Ensure padding is maintained */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button, .custom-file-upload {
  font: inherit;
  background: #deb887;
  padding: 10px 20px;
  color: currentColor;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.custom-file-upload {
  display: inline-block;
  margin-top: 5px; /* Adjust as needed */
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: -1rem;
  margin-bottom: 1rem;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}
.logo-image {
  width: 150px; /* Resize the image to 150px */
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Adjust margin as needed */
  border-radius: 20px;
  border: 10px;
}

.menu {
  display: flex;
}
.menu a {
  padding: 1rem;
  display: block;
}
.menu a[aria-current] {
  text-decoration: underline;
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.note.text {
  padding-bottom: 5%;
  max-width: 50rem;
}
.note-excerpt {
  line-height: 1.5em;
  max-width: 320px;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}
.prompt-nav {
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
  column-gap: 60%;
}

    .leaderboard {
        text-align: center;
        margin: 0 auto;
    }

    .leaderboard h1 {
        margin: 1px 0;
    }
    .leaderboard h2 {
      margin: 10px 0;
  }
    .leaderboard .stat-box {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
        padding: 2% 2%;
    }

    .leaderboard .stat-box p {
        margin: 5px 0;
    }

    .collapsible-content {
      display: none;
      padding: 0 18px;
      overflow: hidden;
      background-color: #f3f3f3;
      margin-bottom: 10px;
  }
  .collapsible-toggle {
      background-color: #deb887;
      color: white;
      cursor: pointer;
      padding: 10px;
      width: 300px;
      border: none;
      text-align: left;
      outline: none;
      font-size: 15px;
      border-radius: 4px;
      margin-bottom: 5px;
  }
  .collapsible-toggle.active, .collapsible-toggle:hover {
      background-color: #a52a2a;
  }
  .collapsible-content ul {
      list-style: none;
      padding: 0;
  }
  .collapsible-content ul li {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
  }
  .collapsible-content ul li img {
      width: 75px;
      height: 75px;
      object-fit: cover;
      margin-right: 10px;
      border-radius: 4px;
  }
  .icon-thumbnails,
.banner-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.icon-thumbnails label,
.banner-thumbnails label {
    cursor: pointer;
}

.thumbnail {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
}

input[type="radio"]:checked + .thumbnail {
    border-color: #4caf50;
}
.activity-log {
  max-height: 200px;
  overflow-y: scroll;
  background-color: #f3f3f3;
  padding: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.activity-log p {
  margin: 0;
  padding: 1px;
  border-bottom: 1px solid #ddd;
  font-size: small;
  font-family: 'Courier New', Courier, monospace;
}
.note-tags {
  display: flex;
  padding: 5px;
}
.note-tags a {
  display: block;
  background: #deb887;
  border-radius: 6px;
  border: 6px solid #deb887;
}
.note-tags a:hover {
  background: #a52a2a;
  color: var(--color-white);
  border-radius: 6px;
  border: 6px solid #a52a2a;
}
.profile-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-top: 10px;
}

.profile-image-container {
  flex-shrink: 0;
  height: 220px;
  width: 220px;
  padding-right: 10px;
}
.level-overlay {
  top: 10%;
  left: 10%;
  transform: translate(-35%, -80%);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-align: center;
  background: rgba(255, 205, 5, 0.75);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px; /* vertically center text */
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.profile-image {
  height: inherit;
  width: inherit;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 10px;
  border: 10px;
}
.note {
/*  max-width: 35rem; */
  margin: 0 auto;
}
.note-header {
/*  padding-top: 3rem; */
  margin-bottom: 3rem;
}
.note-footer {
  padding: 6rem 0;
}
.note-date {
  color: var(--color-text-grey);
}
.album-gallery {
  line-height: 0;
  columns: 1;
  column-gap: 1.5rem;
}
.album-gallery li {
  display: block;
  margin-bottom: 1.5rem;
  break-inside: avoid;
}
@media screen and (min-width: 60rem) {
  .album-gallery {
    columns: 2;
  }
}
.album-gallery p {
  position: relative;
  bottom: 18px;
  left: 10px;
  text-shadow: 1px 1px #000000;
  color: #cacaca
}
.prompt-album-gallery {
  line-height: 0;
  columns: 1;
  column-gap: 1.5rem;
}

.prompt-album-gallery li {
  display: block;
  margin-bottom: 1.5rem;
  break-inside: avoid;
}

.prompt-album-gallery figure {
  margin: 0;
  position: relative;
}

.prompt-album-gallery figure img {
  width: 100%;
  height: auto;
  display: block;
}

.prompt-album-gallery p.photographer {
  position: relative;
  bottom: 20px;
  left: 10px;
  text-shadow: 1px 1px #000000;
  color: #cacaca
}

.prompt-album-gallery-caption {
  padding: 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

@media screen and (min-width: 60rem) {
  .prompt-album-gallery {
    columns: 2;
  }
}
.grid figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: #fff;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 1;
  text-align: center;
  background: rgba(0, 0, 0, 0);

  font-size: clamp(0.2rem, 6vw, 3rem); /* auto-scale based on container */
  max-width: 80%;
  margin: 0 auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75);
  word-wrap: break-word;
  padding: 0.5em;
}