/* Same base body settings */
body {
  background-image: url('https://portfolioivan.neocities.org/Sprites/background%20test.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: #596020;
  font-family: papyrus, cursive;
  transition: background-color 1.5s ease, color 1.5s ease;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
}

header h1 {
  font-size: 75px;
  margin-top: 40px;
}

header p a {
  color: #596020;
  text-decoration: underline;
  font-size: 20px;
}

/* Gallery container in the middle */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Each art card */
.art-card {
  background-color: #DEE9D4;
  border-radius: 20px;
  border: 4px solid #596020;
  padding: 20px;
  box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.art-card:hover {
  transform: scale(1.05);
}

.art-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  image-rendering: pixelated;
}

.art-card h2 {
  margin-top: 15px;
  font-size: 28px;
}

.art-card p {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 10px;
}

/* Make links in art descriptions look consistent */
.art-card a {
  color: #596020;
  text-decoration: underline;
}


header h1,
.art-card h2 {
  /* Existing styles… */
  color: #596020; /* keep your main color */
  /* Add text outline via shadow */
  text-shadow:
    -2px -2px 0 #A2AF5C,
     2px -2px 0 #A2AF5C,
    -2px  2px 0 #A2AF5C,
     2px  2px 0 #A2AF5C; 
}

header h2,
.art-card h2 {
  /* Existing styles… */
  color: #596020; /* keep your main color */
  /* Add text outline via shadow */
  text-shadow:
    -1px -1px 0 #A2AF5C,
     1px -1px 0 #A2AF5C,
    -1px  1px 0 #A2AF5C,
     1px  1px 0 #A2AF5C; 
}

/* Dark mode toggle */
#darkModeToggle {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 10px 14px;
  font-family: papyrus;
  font-size: 14px;
  background-color: black;
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  z-index: 9999;
  min-width: 100px;  
}

#darkModeToggle:hover {
  background-color: white;
  color: black;
}