/* 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." */

@import url(https://db.onlinewebfonts.com/c/caae2c27e7f88af4b94415e569d3d620?family=Ballantines-Regular);

body {
  background-color: #C6BBDF;
  color: black;
  font-family: Verdana;
}

h1 {
  text-align:center;
  font-family: "Ballantines-Regular";
  font-size: 64px;
  margin-bottom:-4px;
}

/* VVV EFFECTS HERE VVV */

.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0.04) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.09), rgba(0, 255, 0, 0.03), rgba(0, 0, 255, 0.09));
  z-index: 2;
  background-size: 100% 2px, 4.5px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
  opacity: 0.27861;
  }
  5% {
  opacity: 0.34769;
  }
  10% {
  opacity: 0.23604;
  }
  15% {
  opacity: 0.10626;
  }
  20% {
  opacity: 0.18128;
  }
  25% {
  opacity: 0.10626;
  }
  30% {
  opacity: 0.18128;
  }
  35% {
  opacity: 0.23604;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

/* ^^^ EFFECTS HERE ^^^ */

.emoji {
  position: relative;
  width: 24px;
  height: 24px;
  background-size: cover;
  vertical-align: middle;
}

.gallery-pixelart {
  width:200px;
  height:auto;
  display:block;
  margin:auto;
  image-rendering:pixelated;
}

.gallery-pixelart-large {
  width:400px;
  height:auto;
  display:block;
  margin:auto;
  image-rendering:pixelated;
}

.gallery-text {
  font-size: 20px;
  max-width: 80ch;
  width: 100%;
  margin: 0 auto;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align:center;
  font-family: Garamond, serif;
}

.gallery-subhead {
  text-align:center;
  font-family:'Ballantines-Regular';
  font-size:42px;
  margin: 0 auto;
  margin-bottom:12px;
  text-decoration: underline;
  text-decoration-color:#aa121d;
}

.home-button {
  width:64px;
  height:auto;
  display:block;
  margin:auto;
  image-rendering:pixelated;
}

.home-button-text {
  background-image:linear-gradient(#890812,#f5b26b);
  color:transparent;
  background-clip:text;
  text-align:center;
  font-family:'Ballantines-Regular';
  font-size:48px;
  margin-top:-8px;
  margin-bottom:-8px;
  width:110%;
}

.rainworld-border {
  display: inline-flex;
  flex-direction: column;
  border: 30px solid transparent;
  padding: 5px;
  border-image: url(Rainworld_Text_Border.png) round;
  border-image-slice: 40%;
  justify-content: center;
  align-items: center;
}

.page-head {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery-body {
  margin:20px;
  height:100%;
  justify-content:center;
  align-items:center;
  display:flex;
  flex-direction:column;
}

.home-header {
  background-image:linear-gradient(#aa121d,#f5b26b);
  color:transparent;
  background-clip:text;
}

.home-hdr-text {
  font-size: 24px;
  max-width: 80ch;
  width: 100%;
  margin: 0 auto;
  margin-top: 16px;
  margin-bottom: 8px;
  text-align:center;
  font-family: Garamond, serif;
}

.main-hdr {
  margin:20px;
  height:100%;
  justify-content:center;
  display:flex;
  flex-direction:column;
}

.main-hdr .col {
  flex: 1;
}

.main-body {
  display:flex;
  align-items: stretch;
  justify-content:center;
  border: 30px solid transparent;
  padding: 25px 25px 25px 25px;
  border-image: url(Rainworld_Text_Border.png) round;
  border-image-slice: 40%; 
}

.main-body .col {
  width:32%;
}

.main-body-txt {
  text-align:center;
  font-family: Garamond, serif;
  font-size: 18px;
  max-width: 60ch;
  min-width: 20ch;
  margin: 12px 15px 12px 15px;
  border: 30px solid transparent;
  padding: 5px;
  border-image: url(Rainworld_Text_Border.png) round;
  border-image-slice: 40%;
}

.list-hdr {
  text-align:center;
  font-family: "Ballantines-Regular";
  font-size: 32px;
  margin-bottom:-10px; 
}