/* Estilos principales para el contenedor */
.entidades-container {
    width: 100%;
    background-color: #ffffff;
    padding: 50px 0;
}
  
.entidades-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
  
.entidades-image {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centra la imagen y el botón horizontalmente */
}
  
.entidades-image img {
    width: 300px;
    max-width: 100%;
    height: auto;
}

.entidades-text {
    flex: 1;
    color: #252525;
    padding: 0 20px;
}

.entidades-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #0d87c0, #084f6f);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: subtleWave 4s ease-in-out infinite;
}

@keyframes subtleWave {
    0% {
        background-position: 0% 0;
    }
    50% {
        background-position: 110% 50%;
    }
    100% {
        background-position: 0% 0;
    }
}


.entidades-text p{
    font-size: 20px;
    color: #666;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 15px;
    transition: transform 0.9s ease;
}
.entidades-text p:hover {
    transform: scale(1.03); /* Agranda un 5% solo el texto */
} 
.entidades-button {
    display: inline-block;
    background-color: #084f6f;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #696969;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 15px; /* Añadir espacio entre la imagen y el botón */
}
  
.entidades-button:hover {
    background-color: #0c81b8;
}
  
/* Responsivo para pantallas más pequeñas */
@media (max-width: 768px) {
    .entidades-content {
        flex-direction: column;
        text-align: center;
    }
    .entidades-image {
        order: -1; 
        width: 100%; }
    .entidades-text {
        padding: 20px 0;
    }

}
