/*https://coolors.co/907ad6-4f518c-2c2a4a-a9b2ac-6A7062*/
html {
  background-image: linear-gradient(to bottom, #4F518CDD, #2C2A4ADD), url(graphics/other/bg.jpeg);
  background-attachment: fixed;
}

p,
h2,
h3 {
  color: whitesmoke;
}


.small-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  width: 65%;
  margin: 0 auto;

}

.accent {
  color: #907AD6;
}

a {
  text-decoration: none;
}

.header {
  height: 150px;
  background-color: #2C2A4A;
  border-bottom: #6A7062 2px solid;
}

.content {
  display: grid;
  grid-template-columns: 1fr 3fr;

}

.main {
  background-color: black;
  display: grid;
  grid-template-columns: 45% 55%;
  border-left: #6A7062 2px solid;
}

hr {
  border: none;
  height: 2px;
  background-color: #6A7062;
}

h3 {
  text-align: center;
}

/* Sidebar */

.sidebar {
  background-color: black;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.sidebar h2 {
  text-align: center;
  color: whitesmoke;
  background-color: #907AD6;
  margin: 0;
  padding: 8px;
}

.sidebar a {
  display: block;
  font-size: 1.2em;
  padding: 5px;
  text-decoration: none;
  color: whitesmoke;
  background: black;
  transition: ease-in-out 0.1s;
}

.sidebar a:hover {
  background: #907AD6;
}

/* Right Column */
.right-column {
  width: 20%;
  float: right;
  background-color: #6A7062;
  padding: 10px;
  box-sizing: border-box;
}

.column-right h2 {
  color: whitesmoke;
  text-align: center;
  background-color: #4f518c;
  padding: 8px;
  margin: 0;
}

.column-right figure {
  text-align: center;
  margin: 10px 0;
}

.column-right img {
  width: 250px;
  border: whitesmoke 2px solid;
  border-radius: 1px;
}

.column-right figcaption {
  text-align: center;
  font-size: 0.9em;
  margin-top: 5px;
  color: whitesmoke;
}

.column-right p {
  text-align: center;
  color: whitesmoke;
}

/* Column Left */
.column-left {
  padding: 15px;
  box-sizing: border-box;
}

.bsky a:hover {
  background-color: #4f9bd9;
  transition: ease-in-out 0.1s;
}

.twitter a:hover {
  background-color: #1DA1F2;
  transition: ease-in-out 0.1s;
}

ul {
  color: whitesmoke;
}

ul span {
  color: #907AD6;
}

/* Header */
.header {
  position: relative;
}

.header p {
  position: absolute;
  bottom: 0;
}

.sub-header {
  background-color: black;
  text-align: center;
  color: whitesmoke;
  font-size: 1.2em;
  padding: 5px;
}

/* Art Images*/

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: black;
  min-height: 80vh;
}

.art-image {
  width: 80%;
  border: whitesmoke 2px solid;
  border-radius: 1px;
  margin: 10px auto;
}

.controls {
  text-align: center;
  margin: 10px 0;
  background-color: black;
  padding: 10px 0;
  margin: 0;
}

.controls button {
  background-color: transparent;
  text-decoration: underline;
  color: whitesmoke;
  border: none;
  font-size: 1em;
  cursor: pointer;
}


/* Tag Library */

.tag-library {
  text-align: center;
  color: whitesmoke;
}

.tag-library li {
  list-style: none;
}

.tag-library h3 {
  cursor: pointer;
  user-select: none;
  text-decoration: underline;
}

.tag-library h3+* {
  display: none;
}

.tag-library h3.open+* {
  display: block;
}

.toggle-icon::after {
  content: "▸";
  display: inline-block;
  margin-left: 6px;
}

h3.open .toggle-icon::after {
  transform: rotate(90deg);
}

.tag-list button {
  background-color: transparent;
  text-decoration: underline;
  color: whitesmoke;
  border: none;
  font-size: 1em;
  cursor: pointer;
}

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

#current-tags {
  margin: 0 auto;
  padding-left: 0;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  list-style: none;
}

.tag-item {
  padding: 5px;
  text-decoration: underline;
  cursor: pointer;
}

/* Image Modal*/
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
}

.image-modal .close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}