/*General Styles*/

body 
{
  background-color: #4a1f24;
  margin: 0;
  padding: 0;
}

nav 
{
  background-color: #1b1412;
  overflow: hidden;
  width: 100%;
}

img
{
  height: 100%;
  margin-left: 20px;
  padding-top: 10px;
  float: left;
  animation: glow 10s ease-in-out infinite; 
}

@keyframes glow 
{
  0%, 100% 
  {
    filter: drop-shadow(0 0 8px rgba(241, 186, 5, 0.5));
  }
  50% 
  {
    filter: drop-shadow(0 0 12px rgba(241, 186, 5, 0.9));
  }
}

.nav-links
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  float: right;
}

li
{
  display: inline-block;
  margin-right: 40px;
  padding-top: 55px;
  font-size: larger;
  font-weight: bold;
}

.interactive-rune 
{
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.interactive-rune:hover 
{
  filter: drop-shadow(0 0 10px rgba(240, 215, 140, 0.7));
  transform: scale(1.05);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #311215;
}

::-webkit-scrollbar-thumb {
  background: rgba(140, 40, 50, 0.55);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 30, 45, 0.7);
}

/*Home page*/

.hero
{
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(188, 167, 112, 0.15);
  border-radius: 60px;
  padding: 20px;
  margin: 200px 30% 200px;
}

a
{
  text-decoration: none;
  color: #e7d9b1;
}

h1
{
  color: #e7d9b1;
  text-align: center;
  font-size: 2em;
}

p
{
  color: #e7d9b1;
  text-align: center;
  font-size: 1.2em;
  padding-top: 20px;
}

.reveal-btn-style
{
  background-color: #e7d9b1;
  color: #4a1f24;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: 
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.reveal-btn-style:hover 
{
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.4);
  transform: translateY(-1.5px);
}

.hidden-lore
{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 30px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.8s ease,
    max-height 0.8s ease;
}

.hidden-lore.is-visible
{
  opacity: 1;
  max-height: 200px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dust 
{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 35%, rgba(255, 215, 150, 0.15) 2px, transparent 1px),
    radial-gradient(circle at 85% 70%, rgba(255, 215, 150, 0.12) 2px, transparent 1px),
    radial-gradient(circle at 51% 84%, rgba(255, 215, 150, 0.10) 2px, transparent 1px),
    radial-gradient(circle at 59% 43%, rgba(255, 215, 150, 0.10) 2px, transparent 1px),
    radial-gradient(circle at 10% 93%, rgba(255, 215, 150, 0.10) 2px, transparent 1px),
    radial-gradient(circle at 32% 72%, rgba(255, 215, 150, 0.10) 2px, transparent 1px);
  background-size: 200px 200px;
  animation-timing-function: ease-in-out;
  animation: 
    dust-float-up 100s linear infinite,
    dust-sway 12s ease-in-out infinite;
}

@keyframes dust-float-up 
{
  from 
  {
    background-position: 0 0;
  }
  to 
  {
    background-position: 0 -1000px;
  }
}

@keyframes dust-sway 
{
  0%, 100%
  {
    background-position-x: 0;
  }
  50% 
  {
    background-position-x: 40px;
  }
}

/*About page*/

.about-content
{
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.06), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,0.05), transparent 50%);
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212,175,55,0.15);
  position: relative;
  padding: 20px;
  margin: 100px 20% 200px;
}

.about-content::before 
{
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1px solid rgba(212,175,55,0.08);
  pointer-events: none;
}

.about-heading
{
  color: #e7d9b1;
  text-align: center;
  margin-top: 0;
}

.about-text
{
  color: #e7d9b1;
  font-size: 1.2em;
  line-height: 1.6em;
  text-align: center;
}

.hidden-lore3 
{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/*Artifacts page*/

.hidden-lore2 
{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.artifact-gallery 
{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 160px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 0;
  align-items: start;
}

.artifact-polaroid 
{
  position: relative;
  background: #f4f1ea;
  width: 220px;
  padding: 22px 22px 36px;
  border-radius: 4px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: filter 0.4s ease;
}

.artifact-polaroid.drained
{
  filter: grayscale(40%);
}

.artifact-polaroid::before 
{
  content: "";
  position: absolute;
  inset: -150px;
  background: radial-gradient(
    circle,
    rgba(255, 220, 150, 0.25) 0%,
    rgba(255, 220, 150, 0.15) 35%,
    rgba(255, 220, 150, 0.05) 55%,
    transparent 70%
  );
  z-index: -1;
  filter: blur(12px);
}

.artifact-polaroid img 
{
  width: 100%;
  display: block;
  margin: 0 auto;
}

.artifact-polaroid figcaption 
{
  margin-top: 300px;
  font-size: 0.85rem;
  font-weight: bold;
  color: #5a4a3b;
  letter-spacing: 0.05em;
}

.artifact-description 
{
  font-size: 0.80rem;
  color: #7a6a5b;
}

.artifact-polaroid:nth-child(1) 
{
  transform: rotate(-4deg);
  will-change: transform;
}

.artifact-polaroid:nth-child(2) 
{
  transform: rotate(3deg);
  will-change: transform;
}

.artifact-polaroid:nth-child(3) 
{
  transform: rotate(-2.5deg);
  will-change: transform;
}

.reset-artifacts 
{
  margin: 0 auto;
  border-radius: 100%;
  border: none;
  cursor: pointer;
  background-color: #4a1f24;
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding-bottom: 15px;
  transition: transform 1s ease, opacity 1s ease;
}

.reset-artifacts:hover 
{
  transform: translateY(-2px);
  opacity: 0.5;
}

.reset-icon 
{
  height: 60px;
  width: 40px;
  float: left;
  animation: breathing 10s ease-in-out infinite;
}

@keyframes breathing 
{
  0%, 100% 
  {
    filter: drop-shadow(0 0 8px rgba(160, 55, 55, 0.6));
  }
  50% 
  {
    filter: drop-shadow(0 0 12px rgba(233, 76, 76, 0.767));
  }
}

.reset-text 
{
  margin-top: 10px;
  padding-right: 20px;
  color: rgba(230, 220, 200, 0.85);
  text-shadow: rgba(160, 55, 55, 0.6) 0 0 8px;
}