  body
{ font-family:MS Gothic ;
  font-size:17px;
  max-width: 730px;
  margin: 0px auto 0px auto;
  padding: 90px;
  color: #d1d1a1;
  background-color: black;
}

.box1 {
	font-size: 17px;
	background-color: #2b2b2b;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 8px;
	padding-bottom: 5px;
	border: 3px solid black;
	
	}
.box {
	font-size: 17px;
	background-color: #2b2b2b;
	padding-left: 30px;
	padding-right: 20px;
	padding-top: 4px;
	padding-bottom: 1px;
	border: 3px solid black;
	
	}

  a {
    text-decoration: none;
}
h1 {
font-family:MS Gothic;
font-size: 15px;
}


p {
font-family:MS Gothic ;
color: #c9c1af;
font-size: 16px;
}

a {
font-family:MS Gothic ;
color: #c9c1af;
font-size: 17px;
}



a:link, a:visited {
    color: #9ad4e2;
}

a:hover {
    color: white;
}


.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
  gap: 15px;
  padding: 10px 0;
}


.item-arte {
  display: flex;
  flex-direction: column;
  background-color: #393838; /* Fondo opcional para destacar el cuadro */
  border: 1px solid #ccc; /* Borde opcional tipo cuadro */
  border-radius: 5px;
  overflow: hidden;
}


.item-arte img {
  width: 100%;
  height: 150px; /* Altura fija para que todo quede simÃ©trico */
  object-fit: cover; /* Corta la imagen para que llene el espacio sin deformarse */
  display: block;
}


.item-arte p {
  margin: 0;
  padding: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999; /* Se posiciona por encima de todo */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* Fondo negro semitransparente */
  text-align: center;
  align-items: center;
  justify-content: center;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain; /* Muestra la imagen completa sin recortar */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  border: 1px solid #d1d1a1; /* Borde del color de tu texto general */
}

.lightbox-cerrar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: zoom-out;
}

