

.galeria{
    font-family: 'open sans';
}

.galeria h1{
    text-align: center;
    margin:10px 0 10px 0;
    font-weight: 300;
}

.linea{
    border-top: 5px solid #0077C0;
    margin-bottom: 15px;
}

.contenedor-imagenes{
    display:flex;
    width: 100%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:3px;
    border: 1px solid;
    padding-top: 5px;
}

.contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height:250px;
    margin-bottom:5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
}
.imagen img{
    width: 100%;
    height:100%;
    object-fit: cover;
}

.imagen:hover{
    cursor: pointer;
}

.modal {
    position: fixed;
    background: white;
    top:0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
}

.modal .imgPuesta {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content:center;
    align-items: center;
}

.modal .imgPuesta img{
    width: 80%;
    height: auto;
    max-width: 100%;
    border: 7px solid black;
    box-sizing: border-box;
}
.modal .otrosBotones{
    display: none;
}
.modal .imgPuesta button{
    border-radius: 50px;
    color:white;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
    background: black;
    width: 45px;
    height: 45px;
    text-align: center;
    align-items: center;
}
.modal p{
    display: block;
    position: fixed;
    right: 10px;
    text-align: center;
    background: black;
    width: 50px;
    height: 25px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    color: white;
    padding: 5px;
    border-radius: 50px;
    line-height: 25px;
}
.modal p:hover{
    cursor: pointer;
    background: blue;
    color: white;
}


@media screen and (max-width:750px){
    .contenedor-imagenes{
        width: 100%;
    }
    .contenedor-imagenes .imagen{
        width: 30%;
        height: auto;
    }
    .modal .imgPuesta button{
        display: none;
    }
    .modal .imgPuesta img{
        width: 100%;
        height: auto;
    }
    .modal .otrosBotones{
        display: flex;
        justify-content:center;
    }
    .modal .otrosBotones #antes{
        font-size: 30px;
        margin-right: 5px;
        margin-bottom: 10px;
    }
    .modal .otrosBotones #nexts{
        font-size: 30px;
        margin-left:5px ;
        margin-bottom: 10px;
    }
    .modal p{
        width: 60px;
    }
}
