.feint-blue {
    background-color: #f5f7fc;
}
.section-title-blog {
    font-size: 26px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    color: #222831;
    font-weight: 500;
    padding-top: 15px;
    padding-bottom: 15px;
}
.post-item {
    border: none;
    position: relative;
    overflow: hidden;
    background-color: white;
    display: inline-table;
}
.post-item .post-image {
    width: 100%;
    height: 300px;
}
.post-item .post-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.post-item .post-top {
    flex-direction: row;
    margin-top: 14px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.post-item .post-top .post-date {
    margin-top: 6px;
    display: inline-block;
    font-size: 13px;
}
.post-item .post-top .post-category {
    color: white;
    text-transform: capitalize;
    display: flex;
    margin-top: 6px;
    font-size: 11px;
    margin-bottom: 6px;
}
.post-item .post-top .post-category div {
    margin-right: 3px;
    font-size: 11px;
    background-color: #5890fd;
    border-radius: 2px;
    padding: 1px;
    font-family: "Inter";
}
.post-item .post-title {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #222831;
    display: block;
    position: relative;
    text-decoration: none;
}
.post-item .read-more-btn {
    text-decoration: none;
    color: #5890fd;
    margin-left: 10%;
    font-size: 15px;
    display: block;
    position: absolute;
    bottom: 20px;
    font-family: "Inter", sans-serif;
}

/* superclasses here */

header {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    top: 0;
    z-index: 20;
    transition: 0.3s;
    position: absolute;
}
header.no-transp {
    background-color: white;
    position: relative;
}
header.sticky {
    position: fixed;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 100, 0.1);
}
header .logo {
    width: 40px;
    height: 40px;
    display: inline-block;
}
header .logo img {
    max-width: 100%;
    max-height: 100%;
}
header nav {
    float: right;
    line-height: 2.1;
    display: flex;
}
header nav ul {
    width: 100%;
}
header .nav-bar {
    display: none;
}
header .nav-bar-inner {
    display: none;
}
header.sticky nav {
    line-height: 2.4;
}

header nav a {
    text-decoration: none;
    color: #222831;
    padding: 5px 10px 5px 10px;
    transition: 0.5s;
    font-family: "Inter", sans-serif;
}
header nav a:hover {
    color: #5890fd;
}

/* end of header section */
header .search {
    margin-left: 15px;
    margin-right: 20px;
    cursor: pointer;
}
.search-cover {
    width: 400px;
    position: absolute;
    opacity: 0;
    margin-top: 10px;
    z-index: 4;
    transition: 0.4s;
    display: flex;
    right: 90px;
    flex-direction: column;
    border-radius: 150px;
    overflow: hidden;
    background: transparent;
    top: 80px;
}
.search-cover.visible {
    opacity: 1;
}
.search-cover .arrow-up {
    color: white;
    margin-left: 90%;
    border-bottom-color: whitesmoke;
}
.search-box {
    width: 100%;
    right: 90px;
    display: flex;
    overflow: hidden;
    background: whitesmoke;
    transition: 0.4s;
    border-radius: inherit;
}

.search-box button {
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
}
.search-box i {
    padding-left: 20px;
    padding-right: 20px;
    background-color: whitesmoke;
    color: #555;
    border: none;
}
.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 15px;
    background: whitesmoke;
}

.hero-section-blog {
    height: 85vh;
    width: 100%;
    position: relative;
}
.hero-section-blog .featured-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.hero-section-blog .featured-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.hero-section-blog .gradient-cover {
    height: inherit;
    width: 100%;
    z-index: 2;
    position: relative;
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95),
        rgba(0, 0, 0, 0.2)
    );
}
.hero-section-blog .text-area {
    bottom: 20px;
    position: absolute;
    display: block;
    width: 60%;
    padding-top: 30px;
    padding-bottom: 30px;
    z-index: 3;
    left: 50%;
    margin-left: -30%;
}
.hero-section-blog .text-area .title {
    color: white;
    text-decoration: none;
}
.hero-section-blog .text-area .category {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #5890fd;
    font-size: 16px;
    text-transform: capitalize;
    display: flex;
}
.hero-section-blog .text-area .category div {
    margin-right: 5px;
}
.hero-section-blog .text-area .subtext {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    color: white;
}

/* trending category */
.latest {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
}
.no-posts {
    font-family: "Inter", sans-serif;
}

/* tech category */
.technology {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #f5f7fc;
}
.technology-posts {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

/*
all category */

.all-stories {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
}
.all-posts {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

/* post read section */

.content {
    width: 75%;
    background-color: white;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    position: relative;
    margin-bottom: 4%;
}
.content .info {
    width: max-content;
    margin: auto;
    margin-top: 34px;
    margin-bottom: 35px;
    display: flex;
    margin-left: 15%;
}
.content .info i.fa {
    width: 20px;
}
.content .info .author {
    margin-right: 30px;
    color: #555;
}
.content .info .author * {
    display: inline;
}
.content .info .author .name {
    color: #222831;
}
.content .info .date {
    color: #555;
}
.content .title {
    color: #222831;
    text-align: center;
    width: 100%;
    font-size: 40px;
    font-weight: 500;
}
.content .featured-image {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
}
.content .featured-image img {
    max-width: 100%;
    max-height: 500px;
}
.content .body {
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 2.5;
    font-weight: 400;
    font-size: 19px;
    display: flex;
    justify-content: space-around;
}
.content .body .span {
    display: block;
    position: static;
    width: 85%;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    margin: auto;
}
.content .body .span * {
    font-size: revert;
    font-weight: revert;
    font-family: "Inter";
}

.content .body img {
    max-width: 80%;
    max-height: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* social media share links */
.social-media-links {
    position: -webkit-sticky;
    position: sticky;
    left: -10%;
    top: 3%;
    height: max-content;
    width: 30px;
}

.social-media-links a {
    text-decoration: none;
    font-size: 27px;
    color: #222831;
    display: block;
    margin-top: 3px;
    margin-bottom: 3px;
    transition: 0.4s;
    height: max-content;
    width: max-content;
}
.social-media-links i.fa,
.social-media-links i.fab {
    font-size: inherit;
}

.social-media-links-bottom {
    display: none;
    width: max-content;
}
.social-media-links-bottom i.fa,
.social-media-links-bottom i.fab {
    font-size: inherit;
}
.social-media-links-bottom a:hover {
    color: #5890fd;
}

.social-media-links-bottom a {
    text-decoration: none;
    font-size: 22px;
    color: #222831;
    display: block;
    margin-top: 3px;
    margin-bottom: 3px;
    transition: 0.4s;
    height: max-content;
    width: max-content;
    padding: 20px;
}
.social-media-links a:hover {
    color: #5890fd;
}

.related {
    padding-top: 30px;
    padding-bottom: 40px;
}
.related .related-posts {
    width: max-content;
    margin: auto;
    margin-top: 40px;
}

/* search results */

.search-results {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    min-height: 350px;
    margin-top: 13%;
}

.result-posts {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
/* search results */

/* admin authentication */

.auth-form {
    width: 380px;
    margin: auto;
}
.auth-form label {
    font-weight: 400;
    font-family: "Inter", sans-serif;
}
.auth-form img {
    width: 50px;
    height: 50px;
    display: block;
    position: static;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
.auth-form h3 {
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.auth-form input {
    border: none;
    background: rgba(0, 0, 100, 0.1);
    box-shadow: none;
}

/* admin authentication */

/* mobile responsiveness */
@media screen and (max-width: 820px) {
    /* globals */
    .section-title-blog {
        width: 90%;
    }

    /* header and navigation */

    header .logo {
        margin-left: 5%;
    }
    header.sticky {
        position: absolute;
        padding-top: 20px;
        padding-bottom: 20px;
        box-shadow: none;
    }

    header .nav-bar {
        display: block;
        float: right;
        margin: 0;
        margin-right: 10px;
        line-height: 1;
        font-size: 23px;
        cursor: pointer;
        padding: 10px;
        color: #222831;
    }
    header .nav-bar-inner {
        margin-left: 10%;
        font-size: 28px;
        display: block;
        margin-top: 0;
        margin: bottom 20px;
        color: white;
        cursor: pointer;
        padding: 10px;
    }
    header.sticky nav {
        padding-top: 30px;
        line-height: 2.1;
        padding-bottom: 30px;
        transition: 0.6s;
    }

    header nav {
        position: fixed;
        background-color: #2b70fc;
        border-radius: 1px;
        height: 100%;
        width: 98%;
        z-index: 21;
        top: 0;
        right: -100%;
        margin: 0;
        padding-top: 30px;
        padding-bottom: 30px;
        transition: 0.6s;
    }
    header nav.active {
        right: -5%;
    }
    header nav ul a {
        color: white;
        margin-left: 10%;
        text-align: left;
        display: block;
        position: static;
        margin-top: 20px;
        font-size: 18px;
        animation: none;
        opacity: 0;
    }
    header nav a:hover {
        color: white;
        transition: none;
    }
    /* sidebar animations here */
    header nav.active ul a {
        opacity: 1;
    }

    header nav.active ul a:nth-of-type(1) {
        animation: slideInUp 0.4s linear 0.2s 1;
        transition-delay: 0.2s;
    }
    header nav.active ul a:nth-of-type(2) {
        animation: slideInUp 0.4s linear 0.4s 1;
        transition-delay: 0.4s;
    }

    header nav.active ul a:nth-of-type(3) {
        animation: slideInUp 0.4s linear 0.6s 1;
        transition-delay: 0.6s;
    }

    header nav.active ul a:nth-of-type(4) {
        animation: slideInUp 0.4s linear 0.8s 1;
        transition-delay: 0.8s;
    }

    header nav.active ul a:nth-of-type(5) {
        animation: slideInUp 0.4s linear 1s 1;
        transition-delay: 1s;
    }
    header .search-box-mobile {
        margin-left: 10%;
        margin-top: 40px;
        border-radius: 100px;
        background-color: white;
        padding: 0;
        overflow: hidden;
        position: relative;
        width: 75%;
        padding-top: 3px;
        padding-bottom: 3px;
        padding-left: 3px;
        padding-right: 3px;
    }
    header .search-box-mobile button {
        background: transparent;
        position: absolute;
        right: 0;
        height: 100%;
        top: 0;
        border: none;
        width: 40px;
        z-index: 2;
        cursor: pointer;
    }
    header .search-box-mobile input {
        height: 30px;
        display: block;
        position: static;
        border: none;
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* header and navigation */

    /* hero section */
    .hero-section-blog {
        height: 80vh;
    }
    .hero-section-blog .text-area {
        width: 90%;
        margin-left: -45%;
        bottom: 10px;
    }
    .hero-section-blog .text-area .title {
        font-size: 28px;
    }
    .hero-section-blog .text-area .subtext {
        font-size: 15px;
    }

    /* post item */
    .post-item {
        margin: auto;
        margin-top: 20px;
        display: block;
    }

    /* posts-sections */

    .latest-posts {
        width: 100%;
    }
    .technology-posts {
        width: 100%;
    }
    .all-posts {
        width: 100%;
    }
    .related .related-posts {
        width: 100%;
    }
    .result-posts {
        width: 100%;
    }
    /* single page */
    .content {
        width: 98%;
        padding-left: 0;
        padding-right: 0;
        margin-top: 20%;
        transition: 0.4s;
    }
    .content .info {
        margin: auto;
        width: 90%;
        margin-top: 25px;
        margin-bottom: 25px;
        padding-left: 8px;
        padding-right: 8px;
        display: block;

    }
    .content .info * {
        width: 100%;
        margin: 0;
    }
    .content .info .author {
        margin: 0;
    }
    .content .featured-image {
        max-width: 95%;
        padding: 0;
        margin: auto;
        max-height: 450px;
        height: unset;
    }
    .social-media-links {
        display: none;
    }
    .social-media-links-bottom {
        display: flex;
    }
    .content .body .span {
        width: 95%;
        line-height: 38px;
        font-size: 18px;
        line-height: 2.1;
    }

    /* admin authentication */

    .auth-form {
        width: 95%;
        margin: auto;
    }
}

@media screen and (min-width: 720px) and (max-width: 1000px) {
    .content {
        width: 85%;
    }
    .post-item {
        width: 45%;
    }
}
@media screen and (min-width: 500px) and (max-width: 720px) {
    .post-item {
        width: 90%;
        height: 500px;
        float: none;
        max-width: 480px;
    }
}
@media screen and (min-width: 1000px) and (max-width: 1200px) {
    .post-item {
        width: 45%;
        height: 500px;
        max-width: 430px;
    }
}
