/* CSS Document */

*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    transition:all .2s cubic-bezier(.34,1.12,.68,1.31);
	
}

.gallery{
	
    min-height: 100vh;
    background:#eee;
    padding-bottom: 100px;
	
}

.gallery .controls{

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:20px 0;
    list-style: none;
	
}

.gallery .controls .buttons{

    height:40px;
    width: 250px;
    background:#f5f5ef;
    color:green;
    font-size: 18px;
	line-height: 40px;
    cursor: pointer;
    margin:20px;
    box-shadow:  5px 5px rgb(255,140,0);
    text-align: center;
	border-radius:10px;
}
.gallery .controls .buttons.active{
    background: green;
    color:#fff;
}

.gallery .image-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery .image-container .image{
    height:250px;
    width: 350px;
    overflow: hidden;
    border:15px solid #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
    margin: 20px;
}

.gallery .image-container .image img{
    height: 100%;
    width:100%;
    object-fit: cover;
}

.gallery .image-container .image:hover img{
    transform: scale(1.4);
}





@media only screen and (max-width: 865px) {
.gallery .controls{

    display: relative;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding:10px 0;
    list-style: none;
}

.gallery .controls .buttons{

    height:30px;
    width: 30px;
    background:#f5f5ef;
    color:#666;
    font-size: 10px;
    line-height:30px;
    cursor: pointer;
    margin:20px;
    box-shadow:  5px 5px rgb(255,140,0);
    text-align: center;
	font-style:italic bold;
	}

.gallery .controls .buttons.active{
    background: green;
    color:#fff;
}
.gallery .image-container .image img{
    height:100%;
    width:100%;
    object-fit: cover;
}

.gallery .image-container .image:hover img{
    transform: scale(1.4);
}
.gallery .image-container .image{
    height:180px;
    width: 280px;
    overflow: hidden;
    border:15px solid #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
    margin: 20px;
}