body {
    background: #f7f9f9
}

.h2,h1,h2 {
    font-family: Helvetica,Verdana,Arial,sans-serif;
    clear: both;
    font-weight: 700;
    line-height: 1.4
}

h1 {
    font-size: 22px
}

.h2,h2 {
    font-size: 30px
}

.header-content {
    padding: 15px 0;
    margin-bottom: 25px;
    text-align: center;
    color: #fff
}

.collections {
    display: flex;
    flex-wrap: wrap
}

.services-card {
    width: 37%;
    background-color: #fff;
    margin: 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #dfdfdf
}

.services-card:hover {
    box-shadow: 0 14px 32px 10px rgb(0 0 0 / 20%)
}

.services-card .card-content {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #dfdfdf
}

.services-card img {
    width: 100%
}

.services-card .card-img {
    position: relative
}

.services-card .card-img a {
    display: block
}

.card-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    margin: 0;
    font-weight: 900
}

.pagination .page-numbers {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 56px;
    font-weight: 900;
    margin: 0 3px;
    border-radius: 50px;
    font-size: 18px;
    background: #fff;
    color: #002856;
    border: 1px solid #c8d7e1
}

.pagination .next,.pagination .prev {
    float: left;
    text-align: left;
    padding: 0 1.5em;
    width: auto;
    height: auto;
    line-height: revert
}

.marg-50 {
    margin: 25px 0
}

.pagination .prev {
    float: right;
    text-align: right
}

.pagination .current,.pagination .page-numbers:hover {
    color: #fff;
    background: #002856
}

.not-found {
    padding: 100px 0 25px
}

.not-found h1 {
    font-size: 100px;
    color: #002856
}

.mb-25,.not-found .search-form {
    margin-bottom: 25px
}

.related-post {
    text-align: right;
    width: 47%;
    margin: 12px 2px
}

.related-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.related-post-content {
    margin-right: 15px
}

.related-post-img img {
    box-shadow: none;
    border: 2px solid #e7e7e7
}

.related-post-title {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
    color: #333
}

.category-box,.services-box {
    width: 40%;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 0 2px 1px rgb(21 20 20 / 21%);
    margin-bottom: 25px;
    margin-right: 20px;
    padding: 10px 5px;
    background: #fff
}

.category-box img,.services-box img {
    margin-bottom: 20px;
    box-shadow: none
}

.category-box-title,.services-box-title {
    margin: 0
}

.category-box:hover img,.services-box:hover img {
    animation: .4s forwards servicesRotate
}

.category-box:hover,.services-box:hover {
    color: #5e5ea9
}

@media only screen and (min-width: 768px) {
    .services-card {
        width:20%
    }

    .related-post {
        text-align: center;
        width: 16%
    }

    .category-box,.services-box {
        width: 28%
    }
}

@media(min-width: 992px) {
    .header-content {
        padding:50px 0
    }

    .category-box,.services-box {
        width: 13%
    }

    .card-title a {
        font-size: 20px
    }
}
