/* File: style.css
  Author: wintyr (J Rich)
  Date: 15th June, 2025 
  With heavy referencing from w3schools
  Built from similar scaffolding as the Unseelie Community homepage, also written by J Richards
  All fonts used from Google Fonts */
  
  @import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Permanent+Marker&family=Rock+Salt&display=swap'); /* Monotext, body text, section text, header text. */

body {
  background-color: dimgrey;
  color: ghostwhite;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14pt;
}

header {
  margin: 0 auto 0 auto;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: fit-content;
  font-family: "Rock Salt", cursive;
  text-align: center;
  font-size: 20pt;
  color: ghostwhite;
  text-shadow: -2px 2px black;
}

h1 {
  color:azure;
  font-family: "Rock Salt", cursive;
  font-size: 24pt;
  text-align: center;
  background-color: maroon;
  }

h2 {
  color: ghostwhite;
  font-family: "Permanent Marker", cursive;
  font-size: 21pt;
  text-align: left;
  background-color: maroon;
  padding-left: 2%;
  margin-right: 70%;
}


/* we're at the nav hut
  we're at the link bell
  we're at the combination
  nav hut and link bell */
  
#nav ul {
  margin-left: 0;
  background: rgba(0, 0, 0, 0.5);
  list-style-type: none;
  padding-top: 5px;
  padding-bottom: 9px;
  text-align: center;
  font-family: "Permanent Marker", cursive;
  font-size: 16pt;
  }
  
#nav li {
  display: inline;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 15px;
  margin-right: 15px;
  font-family: "Permanent Marker", cursive;
  font-size: 16pt;
  text-align: center;
  border: 2px solid snow; 
  border-radius: 5px;
  }
  
#nav li:hover {
  background: rgba(0.5, 0.5, 0.5, 0.5);
  }
  
a:link {
  color: lavender;
  text-decoration: none;
  }
  
a:visited {
  color: thistle;
  text-decoration: none;
  }
  
a:hover, a:active {
  color: plum;
  text-decoration: none;
  }
  
#left p {
  text-align: left;
  }
  
#right p {
  text-align: right;
  }
  
#content p {
  background-color: silver;
  width: 66%;
  margin: 15px auto 15px auto;
  }
  
img {
  margin: auto;
  max-width: 100%;
  max-height: 500px;
  }
  
  /* gallery */
* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  font-family: "Courier Prime", monospace;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 12.5%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}