@font-face {
  font-family: Wednesday;
  src: url('RandomWednesday.ttf') format('truetype');
}

body {
  background: #1c0241;
  font-family: Wednesday, "Open Sans", sans-serif;
  font-size: 25px;
  color: white;
}

a {
  color: #0783b9;
}

.tiny {
  font-size: 9px;
  margin: 0 auto;
  text-align: center;
}

/*Everything in the main box goes in this*/
.wrapper {
  width: 90%;
  border: 3px solid black;
  margin: 0 auto;
  top: 0px;
}

.header {
  height: 300px;
  border-bottom: 3px solid black;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(rgba(31, 0, 90, 0.7), rgb(0, 0, 0, 0.7)), url("header.jpg");
  /*Header image -- replace with your own!*/
  background-size: cover;
  background-position: center;
}

/*This and the header-title class are deprecated now that this style uses a background image for the header div.*/
/*.header img {
  display: block;
  opacity: 0.35;
  width: 100%;
  height: 100%;
  overflow: hidden;
  }
*/

/*If you want to use a smaller title or normal text, add .header p or .header h4 or whatever to the list*/
.header h2,
.header h3,
.header h1 {
  font-weight: bold;
  color: white;
  text-align: center;
  border: 0px solid green;
  margin: 9% auto;
  /*approx centered*/
  opacity: 0.999999;
}

.dropdown {
  background-color: #4a3560;
  padding: 10px;
}

.artwork {
  display: flex;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
}

.artwork div {
  max-width: 90%;
  height: 100%
}

.thumbnail {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px; 
}

.thumbnail div {
  background: rgb(184, 163, 220);
  flex: 1 1 calc(33.333% - 10px); 
  box-sizing: border-box;
  padding: 2%;
  line-height: 0;
}

.artTitle {
  color: black;
  text-align: center;
  font-size:30px;
}

.tag {
  font-size: 12px;
  color: black;
  text-align: center;
}

/*not to be confused wiht .tag, used for thumbnails. this is for the filtering system.*/
.childTagF {
  margin-left: +30px;
}

.childTagO {
  margin-left: +30px;
}

.links {
  background: black;
  padding: 10px;
  border-bottom: 3px solid black;
}

.links a {
  color: white;
  padding: 3px;
  margin-left: 5px;
  margin-right: 5px;
  text-decoration: none;
  font-size: 17px;
}

.main {
  padding: 15px;
  margin: 0 auto;
  background: #222222;
}

/*Prevent overflow of large images in main text areas.*/
.main img {
  max-width: 100%;
  height: auto;
}

.footer {
  background: black;
  padding: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: 3px solid black;
  font-size: 14px;
}


/*For narrow screens*/
@media(max-width: 790px) {
  .wrapper {
    width: 95%;
  }

  .header h1,
  .header h2,
  .header h3 {
    /*Vertical centering gets wonky when the box is variable width*/
    margin: 20% 5% auto;
  }
}

/*Mobile compatibility*/
@media(orientation: portrait) {
  .wrapper {
    width: 95%;
  }

  .header {
    height: 230px;
  }

  .header h1,
  .header h2,
  .header h3 {
    margin: 20% 3% auto;
  }

  .artTitle {
    font-size: 10px;
  }
}