/* === noshawn50.web === */
/* Template visual skeleton from teppyslayouts.neocities.org */

:root {
  --color-sidebar: #172872;
  --color-accent: yellow;
  --color-heading: red;
  --color-arrow: blue;
  --color-table-header: cyan;
  --color-table-text: #ff0097;
  --color-link: blue;
  --color-page-bg: white;
  --color-page-border-top: yellow;
}

body, html {
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.4rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-color: black;
}

img {
  max-width: 100%;
}

.wrapper {
  border: 6px ridge;
  width: 729px;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.header {
  border-bottom: 6px ridge;
  height: 160px;
  box-sizing: border-box;
  background-image: url('./img/title.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.title {
  padding-top: 20px;
  padding-left: 20px;
}

.title-text {
  font-family: monospace;
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 0 #000, 0 0 8px var(--color-accent);
  letter-spacing: 2px;
  text-decoration: none;
}

.main {
  display: flex;
}

.side {
  border-right: 6px ridge;
  width: 200px;
  min-width: 200px;
  padding: 12px;
  box-sizing: border-box;
  background: var(--color-sidebar);
  color: white;
}

.content {
  flex-grow: 1;
  background: var(--color-page-bg);
  border-top: 15px solid var(--color-page-border-top);
  padding: 12px;
  min-height: 650px;
  max-height: 650px;
  overflow-y: auto;
}

.button {
  display: block;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 17px;
  background-image: url('./img/button.png');
  border-radius: 5px;
  color: #FFF;
  text-decoration: none;
  text-shadow: 0 0 3px #FFF;
  letter-spacing: 1px;
  font-family: serif;
}

.button:hover {
  background-image: url('./img/button-hover.png');
}

h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
}

h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}

h2:before {
  content: "\21B3";
  color: var(--color-arrow);
  padding-right: 6px;
}

a {
  color: var(--color-link);
}

table {
  border-collapse: collapse;
}

th, td {
  padding: 6px 12px;
  vertical-align: top;
  border: 1px solid #000;
}

th {
  background: var(--color-table-header);
  color: var(--color-table-text);
}

.width-50 {
  width: 50%;
}

* {
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

/* --- Opuses grid --- */
.opuses-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.opus {
  flex: 1 1 calc(50% - 20px);
  min-width: 200px;
  margin-bottom: 1.5em;
}

.opus a {
  text-decoration: none;
  color: inherit;
}

.opus a:hover {
  opacity: 0.7;
}

.opus img {
  max-width: 180px;
  border: 1px solid #000;
  display: block;
  margin-bottom: 0.5em;
}

.opus h3 {
  margin: 0 0 4px 0;
  font-size: 13px;
  color: var(--color-heading);
}

.opus p {
  margin: 0;
  font-size: 11px;
}

/* --- Gigs table --- */
.gigs-table {
  width: 100%;
  font-size: 11px;
}

/* --- Now page --- */
.now-list h3 {
  color: var(--color-heading);
  margin-bottom: 4px;
}

.now-list ul {
  margin-top: 0;
}

/* --- Sidebar extras --- */
.side small {
  display: block;
  margin-top: 12px;
  line-height: 1.3;
  opacity: 0.8;
}

.last-updated {
  font-size: 10px;
  text-align: right;
  color: #999;
  margin-top: 2em;
}

/* --- Badges --- */
.badges {
  width: 729px;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.badges img {
  margin: 2px;
}

/* --- Sub-page (opuses/) overrides --- */
/* CSS url() paths are relative to the stylesheet, not the HTML file.
   Since style.css lives in site/, paths stay the same as the defaults. */
body.sub-page {
  background-image: url('./img/bg.jpg');
}

body.sub-page .header {
  background-image: url('./img/title.jpg');
}

body.sub-page .button {
  background-image: url('./img/button.png');
}

body.sub-page .button:hover {
  background-image: url('./img/button-hover.png');
}
