*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: lightgrey;
}

.contenedor{
    width: clamp(320px,90%,1300px);
    margin: 0 auto;
    background-color: silver;
    background-image: linear-gradient(to bottom,rgba(111, 0, 122, 0.44),rgba(111, 0, 122, 0.44)), url(../img/00.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right top;
    position: relative;/* Para luego poder ubicar boton en Header */
    height: auto;
}

/* .boton--header{ */
    /* position: absolute; *//* Para ubicar boton en Header donde quiera*/
    /* top: 1rem; */
    /* left: calc(50% - 75px); */
    /* z-index: 2; */
/* } */

.whatsapp__imagen{ /* Agregado May25 al header*/
    position: absolute;
    top: 1.75rem;
    left: calc(50% - 25px);
    /* border-radius: 50%; */
    width: 15%;/* era 15 */
    z-index: 2;
}

/* Sacado el Lun26May25  .whatsapp__footer{
    width: 8%;
    border-radius: 50%;
} */

.contactos{
    /* margin: auto; */
    /* gap: 20px; */
    /* display: flex; Extiende imaginariamente la imagen del whatsapp */
    /* gap: 5rem; Deforma la imagen en pantallas chicas */
}

/* Sacado el Lun26May25   .instagram__footer{
    width: 8%;
} */

.titulo{
    text-align: center;/* Cobra importancia cuando la pantalla es muy chica */
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(111, 0, 122);/* (122, 36, 159) (110, 20, 135) (125, 20, 135)(125, 20, 133)(125, 0, 133)(111, 0, 122)*/
    text-shadow: 2px 2px black;
    font-size: 3.5rem; /* Medida original de buen tamaño */
    padding: 1.75em;/* No deja padding abajo Era 2em 0. Con 1.75em ok.*/
    background-color: rgb(255,255,255,0.77);
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 100%);
    /* font-size: clamp(2rem,3.5rem,4rem); */ /* Ver si se adapta bien */
}

h3{
    text-align: center;
    position: absolute;
    top: 15rem;/* Era 11 */
    right: calc(50% - 110px);/* Era calc(50% - 96px) */
    color: white;
    text-shadow: 1px 1px rgb(111, 0, 122);
    z-index: 2;
    font-size: clamp(1rem,1.15rem,1.25rem);
    /*padding: 0 0 0 3em; Linea nueva noK 20Sep25 arr izq der aba*/
}

.subtitulo{
    text-align: center;
    color: white;
    text-shadow: 2px 2px  black;/* rgb(253, 244, 2) */
    font-size: 3rem;
}

.chico{
    text-align: center;
    color: white;
    text-shadow: 2px 2px black;
    font-size: 1.9rem; /* Se adapta bien hasta 320px */
}

p{
    text-align: center;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    color: white;
    text-align: center;
    text-shadow: 2px 1px black;
    margin: 15px;
}

.diminuto{
    /* font-size: 0.9rem; */
    font-size: 3.75vw;
    /* width: 95%; */
}

/* Anulado Lun26May25   .boton{
    background-color: rgb(111, 0, 122);
    padding: 0.5em 1em;
    border-radius: 100%;
    color: white;
    font-size: large;
    display: block; Estaba deshabilitar esta linea
    width: 150px;
    text-align: center;
    text-decoration: none;
} */

footer{
    /* background-color: rgb(255,255,255,0.77); */
    /* background-color: rgb(55,55,255,0.77); */
    background-color: rgb(111,0,122,0.77);
    height: 10%;
    padding: 10px;
    /* display: flex; */
    /* justify-content: space-between; */
    /* align-items: center; */    
}

/* Agregado Lun26May25 *********************** */
.email{
    width: 10vw;
}

.redes{
    display: flex;
    justify-content: center;
    gap: 10vw;
    margin: 1rem;
}

.redes__imagen{
    width: 9vw;
}

.redes__imagen:hover{
    filter: invert(1);
}

.pie__texto{
    text-align: center;
}
/* Agregado Lun26May25 *********************** */

.galeria{
    width: 90%;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.galeria__item{
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    filter: grayscale(0.75);
    height: 50vh;/* Espacio fijo en altura que ocupa cada imagen */
}

.galeria__item:hover{
    filter: grayscale(0);
    transform: scale(1.05);
    transition: all 1s;
    flex-grow: 50; /* Factor de crecimiento de la imagen al hover */
}

@media (min-width:450px){
    .galeria{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .galeria__item{
        width: calc((100% - 20px)/2);
    }
}

@media (min-width:599px){
    .diminuto{
        font-size: 2.75vw;
    }
    .boton{
        left: 20px;
    }
    h3{
        top: 3rem; /*Era 1,5 */
        right: 20px;/* Era 20px */
    }
    .whatsapp__imagen{
        left: 20px;
        top: 1rem;
        width: 12%;
    }
    .titulo{
        padding: 2em;/* Seccion nueva 20Sep25 */
    }
}

@media (min-width:899px){
    .galeria{
        gap: 5px;
    }
    .galeria__item{
        width: 95px; /* Ancho de imagen 95 para 4 imagenes al hover y 70 para 5 */
        flex-grow: 1;
        transition: all 1s;
    }
    .diminuto{
        font-size: 2.25vw;
    }
    .whatsapp__imagen{
        width: 10%;
    }
}