@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap');

body {
    background: #F0F4F8; 
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

header {
    margin: 29px;

}

h1 {
    font-family: 'Playfair Display', serif;
    margin: 30px 0 20px;
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    margin: 30px 0 20px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

p, li {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    header {
        margin: 24px;
    }

    h1 {
        font-size: 2em; 
        margin: 30px 0 20px;
    }
}

@media (min-width: 1920px) {
    header {
        margin: 30px;
    }
}

.imagen-mod-container {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.imagen-mod-content {
    background: rgba(255, 255, 255, 0.9); 
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    height: auto; 
    max-height: 80%; 
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.imagen-mod-content img {
    width: 100%;
    max-height: 490px; 
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

.imagen-mod-close {
    background: linear-gradient(90deg, #FF0000, #CC0000); 
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.imagen-mod-close:hover {
    background: linear-gradient(90deg, #CC0000, #990000); 
}

@media (min-width: 1920px) {
    h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 768px) {
    .imagen-mod-content img {
        max-width: 80%; 
        max-height: auto;
    }
}

@media (min-width: 1920px) {
    .imagen-mod-content img {
        max-width: 50%;
        max-height: 50%;
    }
}

