main{
    padding-bottom: 80px;
}

main h1{
    text-align: center;
    margin-bottom: 40px;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 5px;
    align-items: stretch;
    width: 80%;
    margin: 0 auto;
}

.gallery img{
    /* border: 1px solid #ccc; */
    box-shadow: 2px 2px 2px 0px  rgba(0,0,0,0.3);
    max-width: 100%;
    object-fit: fill;
    transition: 0.24s; 
}

.gallery img:hover { 
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.644)); 
    transform: scale(1.05); 
}

.mygallery{
    display: inline-block;
    width: 40%;
    height: 400px;
    border: none;
}

.space{
    height: 150px;
}