/* Estilos Globales para prevenir el desbordamiento horizontal */
body, html {
    width: 100%;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

.ofrendas-container {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.ofrendas h1 {
    font-size: 40px;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
    padding: 20px;
}

.ofrendas p {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ofrendas blockquote {
    font-style: italic;
    font-size: 18px;
    color: #666;
    margin: 20px 0;
    padding: 15px;
    border-left: 5px solid #ccc;
    background-color: #f0f0f0;
}

.qr-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.qr-image {
    width: 200px;
    height: auto;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.qr-image:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 400px;
    border-radius: 12px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}