.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: 140px;
    background:#fff;
    color:#666;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    margin:20px;
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
    text-align: center;
}

.gallery .controls .buttons.active{
    background:#2E3192;
    color:#ffffff;
}

.gallery .controls .buttons:hover{
    color:#ff7f00; 
}

.gallery .image-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery .image-container .image{
    height:350px;
    width: 450px;
    overflow: hidden;
    border:15px solid #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
    margin: 20px;
    position:relative;
}

.gallery .image-container .image img{
    height: 100%;
    width:100%;
    object-fit: cover;
}

.gallery .image-container .image:hover img{
    transform: scale(1.4);
    filter: brightness(0.5);
}

.gallery .image-container .image .gallery-sub-text{
    position:absolute;
    top:80%;
    width: 100%;
    height: 90px;
    text-align:left;
    padding-left: 5px;
    color:white;
    font-family: var(--roboto-font);
    font-weight: bolder;
   font-size: 14px;
    background-color: #2E3192;
    display: flex;
    justify-content: center;
    align-items: center;
}
   


.gallery .image-container .image .gallery-text{
    position:absolute;
    top:50%;
    text-align: center;
    color:white;
    font-family: var(--roboto-font);
    font-weight: bolder;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out;
    
    
}

.gallery .image-container .image:hover .gallery-text{
    transform: translateX(0%) !important;
}