.image-gallery-page{
    margin-top: 60px;
    margin-bottom: 100px;
}
.image-gallery-page:before{
    content: "";
    display: block;
    background: url("../../../assets/images/left-overlay.svg");
    background-size: auto;
    background-size: auto;
    background-size: cover;
    position: absolute;
    left: 5vw;
    top: 20vh;
    width: 39vw;
    height: 37.6vw;
    z-index: 0;
    position: absolute;
}
.title-gallery{
    font-weight: 800;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
}
.title-gallery:before{
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #BC1E21;
    margin-bottom: 15px;
}
.image-gallery-list{
    display: flex;
    flex-wrap: wrap;
}
.image-gallery{

    flex: 0 0 31%;
    margin-right: 2%;

    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;

    justify-content: flex-start;
    align-items: center;
}
.image-gallery::after {
    content: "";
    display: block;
    width: 100%;
    height: 0%;
    position: absolute;
    z-index: 1;
    background: #BC1E21;
    opacity: 0.66;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.image-gallery:hover:after{
    height: 100%;
}
.image-gallery img{
    width: 100%;
    height: auto;
    display: block;
}

.image-gallery .image-hover{
    position: absolute;
    z-index: 2;
    top:0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 2;
    padding: 0 10px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    opacity: 0;
    justify-content: center;
    align-items: center;

    font-weight: 500;
    font-size: 30px;
    line-height: 30px;
    color: #FFFFFF;
    text-transform: uppercase;
}
.image-gallery:hover .image-hover{
    opacity: 1;
}
.image-gallery .image-title{

    position: absolute;

    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    color: #FFFFFF;
    bottom: 16px;
    opacity: 1;
    margin-bottom: 0;
    text-align: center;
}
.image-gallery:hover .image-title{
    opacity: 0;
}
.count-images{
    display: block;
}
.count-images .icon {
    display: inline-block;
}
.count-images span{
    display: inline-block;
}
.count-images i,
.count-images svg{
    margin-right: 5px;
}
.image-icon:after{
    content: "";
    position: absolute;
    bottom: 0;
    height: 60%;
    width: 100%;
    z-index: 1;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 18.25%, #000000 100%);
    bottom: 0;
    left: 0;
    z-index: 0;
}
@media only screen and (max-width: 1024px) {
    .image-gallery {
        flex: 0 0 100%;
        margin-right: 0%;
    }
    .image-icon{
        width: 100%;
        height: auto;
    }

}