body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color:#fff;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px; /* Ajuste del tamaño máximo del contenedor */
    margin: 20px;
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box; /* Asegura que padding se incluya en el ancho total */
    text-align: center;
}

h1 {
    color: #333;
    text-align: center;
}

.servicios-lista {
    list-style-type: none;
    padding: 0;
}

.servicios-lista li {
    margin-bottom: 10px;
    
}

.servicios-lista li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    background-color: #000000;
    border-radius: 4px;
    color: #333;
    transition: background-color 0.3s ease;
}

.servicios-lista li a:hover {
    background-color: #e0e0e0;
}

.servicio-info {
    text-align: center;
}

.servicio-info img {
    width: 100%;
    max-width: 600px; /* Ajuste del tamaño máximo de la imagen */
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px; /* Espacio opcional debajo de la imagen */
    box-sizing: border-box; /* Asegura que padding se incluya en el ancho total */
}

.volver {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #f0f0f0;
    font-size: 16px;
    padding: 10px 10px;
    border: 1px solid #000;
    border-radius: 5px;
    background-color: #b8860b;
}

.volver:hover {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1px;
    padding: 3px;
    background-color: #fff;
    margin: 10px 0;
}

.contact-info .logo {
    max-height: 50px;
    margin-right: 20px;
}

.contact-info .contact-item {
    margin: 0 10px;
    font-size: 24px;
    color: #333;
    text-decoration: none;
}

.contact-info .contact-item i {
    display: inline-block;
    margin-right: 5px;
}

.contact-info .contact-item:hover {
    color: #777;
}

/* Media Queries for larger screens */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
        padding: 10px;
    }

    .thumbnails img {
        width: 100px;
        height: 100px;
    }

    .contact-info {
        margin-top: 10px;
        padding: 10px;
    }

    .servicio-info img {
        width: 100%;
        max-width: 420px;
        height: auto;
        margin-top: 1px;
    }
    
}

@media (min-width: 1024px) {
    .container {
        max-width: 924px;
        padding: 10px;
        background-color:#fff;
    }
    
    .thumbnails img {
        width: 120px;
        height: 120px;
    }

    .contact-info {
        margin-top: 10px;
        padding: 10px;
    }

    .servicio-info img {
        width: 100%;
        max-width: 420px; /* Ajuste del tamaño máximo de la imagen */
        height: auto;
        margin-top: 1px;
    }
}
        .gallery {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .gallery .main-image {
            width: 300px;
            height: 300px;
            margin-bottom: 20px;
            object-fit: contain;
        }
        .thumbnails {
            display: flex;
            justify-content: center;
            gap: 7px;
        }
        .thumbnails img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            cursor: pointer;
        }
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        .lightbox img {
            max-width: 95%;
            max-height: 80%;
            margin-bottom: 10px;
        }
        .lightbox .close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 24px;
            color: white;
            cursor: pointer;
        }
        .lightbox .title {
            color: #fff;
            font-size: 25px;
            margin-bottom: 10px;
        }