*{
    margin: 0;
    padding: 0;
}

body{
    background-image: linear-gradient(to left, rgb(108, 206, 236), rgb(233, 234, 241), rgb(108, 206, 236));
    margin: 0;
    font-family: monospace;
}

h2 {
    font-size: 28px;
    text-align: center;
    color: blue;
}

.galeria {
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}  

.galeria li {
    margin: 5px;
    
}

.galeria img {
    width: 250px;
    height: 200px;

}

.modal {
   display: none; 
}

.modal:target {
    display: block;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    
.modal h3 {
    color: aliceblue;
    font-size: 30px;
    text-align: center;
    margin: 15px 0;
}   

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

.imagen a {
    color: rgb(248, 243, 243);
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
    
}

.imagen a:nth-child(2) {
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}

.imagen img {
    width: 700px;
    height: 70%;
    max-width: 100%;
    border: 7px solid;
    box-sizing: border-box;
}

.cerrar {
    display: block;
    background: rgb(242, 245, 241);
    width: 100px;
    height: 100px;
    margin: 15px auto;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: rgb(14, 13, 13);
    padding: 5px;
    border-radius: 50%;
    line-height: 25px;
}


    .nav-boton{
        border: 3px solid rgba(100,100,100,100,0,1);
        margin-bottom: 20px;
        padding: 20px;
        width: 300px;
        font-family: 'Times New Roman', Times, serif;
        font-size: 20px;
        border-radius: 8px;
        cursor: pointer;
        color: whitesmoke;
        background-size: 300%;
    }

    
    .nav-boton{
        background-image: linear-gradient(to left, blue, aquamarine, blue);
    }




