/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face {
  font-family: "Cinzel";
  src: url("/fonts/Cinzel/static/Cinzel-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Cinzel";
  src: url("/fonts/Cinzel/static/Cinzel-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Ruwudu";
  src: url("/fonts/Ruwudu/Ruwudu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Ruwudu";
  src: url("/fonts/Ruwudu/Ruwudu-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Sorts Mill Goudy";
  src: url("/fonts/Sorts_Mill_Goudy/SortsMillGoudy-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Zhuque Fangsong";
  src: url("/fonts/ZhuqueFangsong-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #493f7f;
  color: #adcccc;
  font-family: "Ruwudu", "Zhuque Fangsong", serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", "Zhuque Fangsong", serif;
}

em, i, .italic {
  font-family: "Sorts Mill Goudy", "Zhuque Fangsong", serif;
  font-style: italic;
}

input, button, textarea, select {
  font-family: inherit;
}

header {
  text-align: center;
}

#navi {
  font-family: "Cinzel", "Zhuque Fangsong", serif;
}

#navi ul {
  list-style-type: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  justify-content: center;
}

#navi a {
  color: #adcccc;
  text-decoration: none;
  transition: all 0.5s;
}

#navi a:hover {
  color: #ff7171;
}

#navi li {
  display: flex;
  align-items: center;
}

#navi li:not(:last-child)::after {
  content: "|";
  margin: 0 1rem;
  color: #adcccc;
}

main img.home {
  display: block;
  width: 90%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
}

main.about {
  display: block;
  width: 90%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding-top: 20px;
}

main div.music {
  display: block;
  width: 90%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding-top: 20px;
}

main div.gallery {
  display: block;
  width: 90%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding-top: 20px;
}

main a, main a:hover, main a:visited {color: #ff7171;}

footer {
  width: 100%;
  height: 40px;
  padding: 10px;
  font-size: 12px;
  text-align: center;
  color: #adcccc;
}

footer a, footer a:hover, footer a:visited {color: #adcccc;}

audio {
  width: 100%;
  height: 30px;
  border-radius: 10px;
}

.musicCard {
  border: 1px solid #7982A4;
  padding: 0 clamp(5px, 5cqw, 20px) 4px;
  margin-bottom: 1rem;
  transition: all 0.5s;
  h3 {
    margin: 16px 0 0;
  }
}

.musicCard:hover {
  box-shadow: 0 0 0.5rem #7982A4;
}

.musicCardHr {
  border: none;
  border-top: 1px solid #7982A4;
  padding-bottom: 8px;
}

.musicCards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 45rem) {
  .musicCards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.galleryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.galleryItem { margin: 0; }

.galleryItem img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid #adcccc;
  transition: all 0.5s;
}

.galleryItem img:hover {
  border: 3px solid #ff7171;
}

.galleryItem.hidden { display: none; }

.galleryItem figcaption {
  text-align: center;
  padding: 1rem 0;
}

.filters { margin-bottom: 1rem; }

.filters button {
  font-family: "Cinzel", "Zhuque Fangsong", serif;
  cursor: pointer;
  margin: 0 0.4rem 0.4rem 0;
  padding: 0rem 0.8rem 0rem;
  background-color: #493f7f;
  border: 1px solid #adcccc;
  color: #adcccc;
}

.filters button.active {
  background: #adcccc;
  color: #493f7f;
}

.aboutHr {
  border: none;
  border-bottom: 1px solid #7982A4;
  padding-top: 5px;
}

.this-site svg {
  vertical-align: -0.1em;
}