body{background-color: #FFE0E5;
margin-left: 50px;
}
.titulo {
font-family:  Fascinate;
color:#FFFFFF;
font-weight: Bold;
text-decoration: none;
display: inline-block;
font-size: 50px;
padding-top: 40px;

}

p{

font-size: 20px;
padding-top: 0px;
font-family:Poiret One, Helvetica, sans-serif;
color:#073B4C;
font-weight: Bold;
text-decoration: none;
display: inline-block;

}

p a:hover {
	text-decoration:underline;}

	
.negro {
	color: #7EB4DB;
}

.gris {
	color: #52154E;
}
	
	
.negro, .gris {font-weight: Bold;
text-decoration: none;
display: inline-block;
text-aling: center;
hover: underline;
}




.obras{
margin-left: 40px;
display: grid; 

          
   align-items: start;       
justify-items: center; 
grid-template-columns: repeat(4, 1fr);

}

.gallery img {

 display: inline-block; 
  
padding: 10px;
width: 300px; /* Initial size */
height: auto;
transition: transform 0.3s ease; /* Smooth animation */
}

.gallery img:hover {
transform: scale(1.5); }
#divCentro {
    display: flex;                 
    flex-direction: row;             
  align-items: flex-start;           
gap: 40px;                    
    margin-top: 50px;
}

.Izquierda img {
    display: block;
}

.Derecha p {
margin-right: 50px;
letter-spacing: 3px;
line-height: 1.3;
text-align: justify;
    display: block;               /
    color: #ffffff;
    font-size: 20px;
    font-family: Poiret One, Helvetica, sans-serif;
}
.Cerrar {
	position:absolute;
	top:250px;
	right:30px;
	z-index:1;}

.cerrar:hover {
opacity: 0.8;
}
.cerrar:active {
opacity: 0.4;
}




.obras {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    width: 100%;     
    height: auto;    
    margin-left: 0;   
}

/* Ajuste imágenes */
.gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    padding: 10px;
    transition: transform 0.3s ease;
}

/* Tablet (2 columnas) */
@media (max-width: 1000px) {
    .obras {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Móvil (1 columna) */
@media (max-width: 600px) {
    .obras {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .gallery img {
        max-width: 90%;
    }
}
