body, html {
    height: 100%;
    margin: 0;
    font-family: "Courier New", Courier, monospace;
}

/* Estilos para centrar el botón en la página */
#button-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
/* Estilos para listas sin puntos */
ul {
    list-style-type: none; /* Elimina los puntos de la lista */
    padding-left: 0; /* Elimina el padding izquierdo */
}

li {
    margin: 5px 0; /* Ajusta el margen según sea necesario */
}

/* Hacer el botón invisible y solo mostrar el texto en negrita */
#button {
    background: none;
    border: none;
    padding: 0;
    font-family: "Courier New", Courier, monospace;
    cursor: pointer;
}

#button-text {
    font-weight: bold; /* Solo el texto del botón en negrita */
}

/* Ajustar el ancho del texto que aparece escrito */
#text-container {
    display: none;
    width: 60%; /* Ajusta el porcentaje según lo que desees */
    max-width: 500px; /* Ajusta el valor máximo según lo que desees */
    margin: 100px auto 0;
    padding: 20px;
}

/* Ajustar el texto alineado al centro */
#text {
    white-space: pre-line;
    text-align: justify;
    margin: 0 auto;
}


ul {
    text-align: left;
    padding-left: 20px;
}

header {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ajusta el tamaño de los cuadrados */
    gap: 20px 70px; /* El primer valor (20px) es para la separación vertical, el segundo (40px) para la horizontal */
}

.artwork-card {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

    .artwork-card:hover {
        background-color: #e2e6ea;
        transform: scale(1.05);
    }

    .artwork-card img {
        max-width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .artwork-card h2 {
        font-size: 18px;
        margin: 10px 0;
    }

    .artwork-card p {
        font-size: 14px;
    }

/* Estilos del carrusel */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide img {
     width: 100%;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    .prev:hover, .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Estilos para kunst.html */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.image-container {
    max-width: 100%;
    margin-bottom: 20px;
}

    .image-container img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.details {
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

    .details h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .details p {
        font-size: 16px;
        color: #555;
        margin-bottom: 5px;
    }

.close-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

    .close-btn:hover {
        background-color: #555;
    }
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.details h2 {
    margin-top: 0;
}

.close-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

    .close-btn:hover {
        background-color: #555;
    }

    /* Estilos para el modal */
.pdf-container {
    position: static;
    top: 50%;
    left: 50%;
    
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 100%; /* Ajusta el tamaño del modal */
    max-width: 800px;
    height: 150%; /* Ajusta la altura del modal */
    max-height: 600px;
    overflow: hidden;
}

/* Estilos para el iframe del PDF */
    .pdf-container iframe {
        width: 100%;
        height: 500px;
        border: none;
    }
a {
    font-weight: bold; /* Establece el texto del enlace en negrita */
    color: inherit; /* Hereda el color del texto circundante */
    text-decoration: none; /* Elimina el subrayado de los enlaces */
}

    a:hover {
        text-decoration: underline; /* Opcional: agrega subrayado al pasar el ratón */
    }
