#gellery-section {
    position: relative;
    z-index: 1;
}

#gellery-section h2{
    font-size: 38px;
    color: #fff;
    text-shadow: 4px 4px 2px rgba(0,0,0,0.6);
    display: inline-block;
}


#gellery-section .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 0.75rem;
    border: 8px solid #ffffff;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.5);;
}

#gellery-section .card p{
    color: #252525;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
}

#gellery-section .card-img, .card-img-top {
    border-top-left-radius: calc(0.6rem - 1px);
    border-top-right-radius: calc(0.6rem - 1px);
}


#gellery-section .viewgellery a {
    width: 150px;
    color: #ffffff;
    background-color: #d90000;
}

#gellery-section .viewgellery a:hover{
    position: relative;
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: transparent;
}






















#gellery-card .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 0.75rem;
    border: 3px solid #860505bd;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.5);;
}

#gellery-card .card p{
    color: #252525;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
}

#gellery-card .card-img, .card-img-top {
    border-top-left-radius: calc(0.6rem - 1px);
    border-top-right-radius: calc(0.6rem - 1px);
}













.pagination {
    position: relative;
    margin: 10px;
    padding: 10px;
    border-radius: 30px;
}

.pagination li {
    display: block;
    list-style: none;
}

.pagination li a {
    display: block;
    width: 50px;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    color: #252525;
    border: 1px solid rgb(202, 202, 202);
    border-radius: 0px;
    margin: 5px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.pagination li a:hover,
.pagination li a.active {
    color: #fff;
    background-color: #880000;
}

.pagination li:first-child a {
    border-radius: 15px 0 0 15px;
}

.pagination li:last-child a {
    border-radius: 0 15px 15px 0;
}