/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Balthazar&display=swap');

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: "EB+Garamond", serif;
  font-size: 16px;
  color: #2c1a0e;
  background-color: #1a1a1a; /* placeholder, change this later */
  background-image: url('assets/images/backgrounds/bg-tile.png');
  background-repeat: repeat;
  cursor: url('assets/images/cursor.cur'), auto;
}

/* ===== LAYOUT ===== */
#wrapper {
  display: flex;
  width: 100%;
  max-width: 1024px;
  min-height: 100vh;
  margin: 0 auto;
}

#index-center {
    width: 512px;
    margin-left: 256px;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    
    padding: 10px;
    flex-shrink: 0;
}
#index-center h1{
    font-family: "EB+Garamond", serif;
    font-size: 5rem;
    text-align: center;
    color: rgb(134, 180, 74);
}
#index-center p{
    font-family: "EB+Garamond", serif;
    font-size: 2rem;
    text-align: center;
    color: #b8860b;
}
#index-center a{
    color: #b8860b;
    text-decoration: none;
}
#index-center a:hover p {
  color: #ffd979; /* change this to whatever color you want */
  transition: color 0.3s ease;
}


/*LEFT PANNEL SHIT */
#left-panel {
  width: 200px;
  min-height: 100vh;
  
  padding: 10px;
  flex-shrink: 0;
}
#left-panel a{
    color: #ffd979;
    text-decoration: none;
}
#left-panel a:hover{
  color: #ffd979; /* change this to whatever color you want */
  text-decoration: underline;
}

.panel-sprite {
  display: block;
  width: 180px;
  margin: 0 auto;
}
.sprite-wrapper{
    position: relative;
    display: block;
    width: 180px;
    margin: 0 auto;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centers it */
    color:#ffd979;
    font-size: 2.5rem;
    white-space: nowrap;
    text-transform: none;
}





/* Main content shit*/
#main-content {
  flex: 1;
  padding: 30px;
  height: auto;
}
#main-content h1{
    color: antiquewhite;
    text-align: center;
}
#main-content p{
    color: antiquewhite;
    text-align: justify;    
}


/* Right panel shit*/
#right-panel {
  width: 200px;
  min-height: 100vh;
  background-color: #945e3a;
  padding: 20px;
  flex-shrink: 0;
}

/* ===== TEXT ===== */
h1 { font-size: 36px; color: #2c1a0e; }
h2 { font-size: 26px; color: #2c1a0e; }
h3 { font-size: 20px; color: #2c1a0e; }
p  { line-height: 1.7; margin-bottom: 12px; }

a {
  color: rgb(189, 243, 64);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: rgb(189, 243, 64);
}

/* ===== DIVIDERS ===== */
hr {
  border: none;
  background-image: url('assets/images/sprites/divider.gif');
  background-repeat: no-repeat;
  background-position: center;
  height: 20px;
  margin: 20px 0;
}

/* ===== AUDIO PLAYER (hide the ugly default one) ===== */
audio {
  display: none;
}


/*ART SHITS*/
.gallery{
    display: grid;
    grid-template-columns: repeat(2, 256px);
    gap: 10px;
    padding: 10px;
}
.gallery img{
    width: 256px;
    height: 256px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}