@font-face {
    font-family: Inter;
    src: url('../fonts/Inter-Regular.ttf');
}

.gallery {
    margin-top: 69px;
}

.isotope {
    display: flex;
    justify-content: space-between;
    row-gap: 20px;
}

.grid-item {
    display: inline-block;
    width: 305px;
    height: 305px;
    overflow: hidden;
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: 100%;
    transition: 0.9s;
    border-radius: 12px;
}

.grid-item img:hover {
    filter: gray;
    -webkit-filter: grayscale(1);
}

.isotope-pager .pager {
    display: inline-block;
}

.filters {
    width: 100%;
    text-align: center;
    padding-bottom: 35px;
    padding-top: 20px;

}

.filters ul {
    list-style: none;
    padding: 20px 10px;
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .4);
    margin: 0 40px;
    border-radius: 30px;
    background-color: #232323;
}

.filters li {
    display: inline-block;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.filters li a {
    color: #b6b6b6;
    text-decoration: none;
}

.filters li a:hover {
    color: #fff;
}

.filters li:hover {
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .4);
    border-radius: 15px;
}

.filters li.active a {
    color: #e3ca66;
    border: 1px solid #e3ca66;
    border-radius: 15px;
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .4);
    padding: 10px 25px;

}

.isotope-pager a {
    margin: 6px 1px;
    display: inline-block;
    width: 50px;
    line-height: 31px;
    color: #b6b6b6;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: -1px 1px 11px rgba(0, 0, 0, .1);
    border-radius: 25px;
    background-color: #232323;
    border: .5px solid #e3ca66;
    text-decoration: none;
}

.isotope-pager a:hover {
    color: #fff;
    border: .5px solid #ffeeac;
    box-shadow: -1px 1px 10px 3px rgba(0, 0, 0, .1);
}

.isotope-pager .active {
    color: #e3ca66 !important;
    box-shadow: -1px 1px 10px 5px rgba(0, 0, 0, .1);
    border-radius: 25px;
    background-color: #161616;
    border: 1px dotted #e3ca66;
}

.isotope-pager .prev {
    border-radius: 30px 0 0 30px;
}

.isotope-pager .next {
    border-radius: 0 30px 30px 0;
}

.isotope-pager a::before,
.isotope-pager a:after {
    content: "";
    position: absolute;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
}

.isotope-pager .num::before,
.next::before {
    border-right: 20px solid #2c3e50;
    right: 100%;
}

.isotope-pager .num:after,
.prev:after {
    border-right: 20px solid #f1f1f1;
    right: 0;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.grid-item:hover .overlay {
    opacity: 1;
}

/*Pagination CSS*/
#page_navigation {
    clear:both;
    margin: 60px auto 80px;    
    display: flex;
    justify-content: center;
}
#page_navigation a{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding:3px 6px;    
    margin:2px;
    text-decoration:none;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    line-height: 22px;
    color: #BCBCBC;
}
#page_navigation a:hover{
    color:#FF7433 !important;
}
.active_page{
    color:#FF7433 !important;
}

.previous_link:hover  svg rect,
.next_link:hover  svg rect {
    fill: #FF7433;
}


@media (max-width: 767.98px) {
    .isotope {
        justify-content: center;
    }
}