@charset "utf-8";

@import url(https://fonts.bunny.net/css?family=source-sans-3:400,400i);

:root {
  --highlight-colour: #808080;
  --background-colour: #f2f2f2;
  --text-colour: #0d0d0d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --highlight-colour: #f2f2f2;
    --background-colour: #0d0d0d;
    --text-colour: #bfbfbf;
  }
}

body {
  background-color: var(--background-colour);
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-colour);
}

div#container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

div#container div {
  width: 300px;
  height: 150px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--highlight-colour);
  border-radius: 5px;
}

div#container div p {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 3px;
  padding: 3px;
  background-color: rgba(242, 242, 242, 0.8);
  font-style: italic;
  font-size: 1.5em;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: #808080;
}

h1, h2, h3 {
  font-style: italic;
  font-weight: normal;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: var(--highlight-colour);
}

a, a:hover, a:visited {
  color: var(--highlight-colour);
}

div#ffx {
  background-image: url("/ffx/zanarkand-small.jpg");
}

div#xvi {
  background-image: url("/xvi/ham.png");
}

div#morgan {
  background-image: url("/dmorgan.jpg");
}

div#fic {
  background: rgb(167,0,0);
  background: linear-gradient(164deg, rgba(167,0,0,1) 28%, rgba(245,193,193,1) 78%);
}

div#music {
  background: rgb(105,141,184);
  background: linear-gradient(164deg, rgba(105,141,184,1) 28%, rgba(196,214,236,1) 78%);
}

div#photos {
  background: rgb(183,102,183);
  background: linear-gradient(164deg, rgba(183,102,183,1) 28%, rgba(236,197,236,1) 78%);
}

div#code {
  background: rgb(106,185,106);
  background: linear-gradient(164deg, rgba(106,185,106,1) 28%, rgba(220,239,220,1) 78%);
}

div#notes {
  background: rgb(185,185,106);
  background: linear-gradient(164deg, rgba(185,185,106,1) 28%, rgba(239,239,220,1) 78%);
}

div#about, div#siteroll, body > div.container, body > div#content {
  margin: 0 auto;
  max-width: 800px;
}

a:has(span.rss) {
  text-decoration: none;
}

span.rss {
  color: white;
  font-family: "Inconsolata", monospace;
  font-weight: bold;
  padding: 0 4px;
  font-size: 0.8em;
  border-right: 1px solid #bfbfbf;
  border-bottom: 1px solid #bfbfbf;
  border-left: 1px solid var(--background-colour);
  border-top: 1px solid var(--background-colour);
  text-transform: uppercase;
}

span.rss {
  background-color: #e68a00;
}

span.rss:after {
  content: "RSS";
}

div#postamble, ul#foot {
  text-align: center;
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}

ul#foot li {
  display: inline;
  text-transform: lowercase;
  margin: 0 10px;
}

img {
  max-width: 100%;
}

@media only screen and (max-width: 500px) {
  div#container div.noimg {
    height: 75px;
  }
}
