/* style2.css */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: rgba(245, 245, 245, 0.3); /* Fondo semi-transparente */
    margin: 0;
    padding: 0;
}

#nombrepro {
    position: absolute;
    top: 10px; /* Ajusta la distancia desde la parte superior */
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

/* ... (resto del código CSS) */

/* Estilo para ocultar los controles */
.controls {
    display: none;
}

.slideshow {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0px auto;
    overflow: hidden;
}

#slideshowImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#slideshowDescription {
    position: absolute;
    bottom: 25%;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px; /* Aumentar el tamaño de fuente */
    line-height: 1.4; /* Ajustar el espaciado entre líneas */
    text-align: center; /* Centrar el texto en el contenedor */
}

.controls {
    margin-top: 10px;
}

button {
    margin: 5px;
}

/* Media queries para hacer el slideshow responsive */

@media (max-width: 600px) {
    .slideshow {
        width: 100%;
        height: auto;
    }

    #slideshowDescription {
        font-size: 14px; /* Reducir el tamaño de fuente para pantallas pequeñas */
    }
}
