:root {
        --primary-bg: #1c1c1c;
        --parchment: #fff5e4;
        --parchment-dark: #c8b79b;
        --wood-dark: #5e4326;
        --wood-medium: #8b6d43;
        --wood-light: #b69064;
        --metal-dark: #555555;
        --metal-light: #888888;
        --amber: #f0a22e;
        --glow-amber: rgba(255, 200, 50, 0.6);
        --text-dark: #3e2c1a;
        --text-medium: #5a442a;
        --emerald: #216e4e;
        --ruby: #8b2e2e;
        --sapphire: #1e3a8a;
        --shadow-dark: rgba(10, 10, 10, 0.8);
      }

      body {
        background-color: var(--primary-bg);
          background-image: url(/media/shrines/will/ceramicstarsdark.jpg);
        font-family: 'Times New Roman', serif;
        color: var(--text-dark);
        overflow-x: hidden;
        perspective: 1000px;
        min-height: 100vh;
        }

/* Fonts */

.monda-regular {
  font-family: "Monda", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.monda-bold {
  font-family: "Monda", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: bold;
}

.playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
}

/* Text styles */

a:link,
a:visited,
a:active {
  color: #d00404;
  text-decoration: none;
}
a:hover {
    color: #ddd;
    font-style: italic;
    text-shadow: 2px 2px 5px var(--glow-amber);
}

.imglink:hover {
    box-shadow: 2px 2px #d00404;
}

strong {
  color: #7a0404;
  font-weight: bold;
}
em {
  font-style: italic;
  color: var(--text-dark);
}
u {
  color: var(--text-dark);
  text-decoration: underline;
}

img {
  border: 0;
}
textarea {
  letter-spacing: 1px;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.7em;
}

h2 {
    color: var(--text-medium);
    font: 0.8em "Playfair Display", serif;
    margin-top: 0;
}


/* header grid */
        .header-grid {
            padding-left: 20%;
            padding-right: 20%;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .header-item {
            padding: 15px;
        }

        .header-label {
            font: 38px "Playfair Display", serif;
            padding-top: 15px;
            text-shadow: 2px 2px 5px black;
            color: var(--amber);

        }



.content {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


.scrollbox {
  height: 90px;
  border: 1px solid #888;
  border-right: 0;
  padding: 6px;
  margin-bottom: 3px;
  overflow: scroll;
  overflow-x: hidden;
}

div.centred {
    margin: auto;
    text-align: center;
}
div.centred img {
    display: inline-block;
    margin: 2px;
    max-width: 100%;
}

.spacedlist {
    list-style-image: url(https://file.garden/ZbSlDxRFzF89fUpl/Personal%20Site/layout/bullet.png);
    padding-left: 0;
    list-style-position: inside;
}
.spacedlist li {
    margin-bottom: 7px;
}





/* Grid Display */
        .stats-grid {
            padding-left: 20%;
            padding-right: 20%;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 20px 0;
        }

        .stat-item {
            padding: 20px;
            border-width: 9px;
            border-style: solid;
            border-image: url(https://file.garden/ZbSlDxRFzF89fUpl/Personal%20Site/backgrounds/43.png) 9 fill round;
        }

        .stat-label {
            font-size: 0.8em;
            opacity: 0.7;
        }

/* STATS TABLE */

.stat-table {
    border-collapse: collapse;
    width: 100%;
    height: 80%;
}

.stat-value {
    margin-bottom: 1em;
}

.stat-table tr {
    border-bottom: 1px solid var(--parchment-dark);
    border-top: 1px solid var(--parchment-dark);
}

.stat-table .stat-label {
    text-align: left;
}

.stat-table .stat-value {
    text-align: right;
}

.stat-table td:nth-child(2) {
    padding-right: 1em;
}



/* GALLERY IMG GRID */
    .galleryrow {
      display: flex;
      flex-wrap: wrap;
      padding: 0 4px;
      margin-bottom: 30px;
    }

    /* Create four equal columns that sits next to each other */
    .gallerycolumn {
      flex: 48%;
      max-width: 48%;
      padding: 0 4px;
    }

    .gallerycolumn img {
      margin-top: 8px;
      vertical-align: middle;
      width: 100%;
      border-radius: 3px;
    }



/* unused code: 

div.gallery {
    margin: auto;
    text-align: center;
    width: 80%;
}
div.gallery img {
    display: inline-block;
    margin: 2px;
    max-width: 100%;
    border-radius: 3px;
    width: 45%;
} */