@import url("https://fonts.cdnfonts.com/css/serif");
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.fa-head:hover {
    color: #000;
}

.scrolling-wrapper {
    display: flex;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    /*padding: 10px 0;*/
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.scrolling-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.scrolling-wrapper .tab {
    flex: 0 0 auto;
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #d1e5fa;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}
.scrolling-wrapper .tab.active {
    background-color: #154fe1;
    color: white;
}
.scrolling-wrapper .tab:hover {
    background-color: #4e8ac7;
}
.scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 100%;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
}
.scroll-btn:focus {
    outline: none;
}

main {
    flex-grow: 1;
}

.content-wrapped {
    padding-left: 25px;
    padding-right: 25px;
}

.navbar {
    background-color: #026b98;
}

.date-time {
    padding-left: 100px;
}

.main-content {
    width: 70%;
    float: left;
}
.side-content {
    width: 30%;
    float: left;
}

.category {
    text-decoration: none;
    font-weight: 750;
    font-size: 24px;
}

.post-title {
    font-size: 20px;
    font-weight: 500;
}

.circle-image {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.autho-name {
    font-weight: 550;
}

div#social-links ul li {
    display: inline-block;
}

div#social-links ul li a {
    padding: 10px;
    font-weight: 600;
    font-size: large;
    color: #1a6ce7;
    margin: 5px;
}

.share-post {
    font-weight: 600;
    font-size: large;
    color: #1a6ce7;
}

.social-button {
    display: inline-flex;
    align-items: center; /* Center the content vertically */
    justify-content: center;
    width: 30px; /* Adjust the width to make it square */
    height: 30px; /* Adjust the height to make it square */
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
    align-items: center;
    text-decoration: none;
}

.fa-calendar-minus,
.fa-clock,
.fa-eye {
    color: #1a6ce7;
}

.block-box {
    display: inline-block;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 15px;
    margin: 10px;
    padding: 25px;
}

.side-heder {
    font-size: 24px;
    font-weight: 600;
}

.side-circle-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.side-author {
    padding-left: 3px;
    font-size: 18px;
    font-weight: 500;
}

.main-image {
    display: block;
    border-radius: 15px;
    overflow: hidden; /* Ensures the rounded corners are applied to the image */
}

.main-image img {
    width: 100%;
    max-height: 550px;
    display: block;
}

.reader-count {
    padding: 15px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.descrption-content p {
    padding: 5px 0 5px 0;
    text-align: justify;
    font-size: 16px;
    margin-bottom: 0.3rem !important;
}

.descrption-content blockquote {
    padding: 30px;
    background-color: #e3eaf0;
    font-style: italic;
    border-radius: 15px;
}

.descrption-content figure {
    display: inline-block !important;
    margin: 5px !important;
    border-radius: 15px;
    overflow: hidden;
}
.descrption-content figure img {
    display: block;
    max-width: 100%; /* This ensures the image scales if it's too large for its container */
    height: auto;

    /* width: auto;
    display: block;
    object-fit: cover; */
}

.comments {
    display: block;
    border: 1px solid #ccc;
    border-radius: 15px;
    width: 100%;
    height: auto;
}

.bg-f {
    background-color: #dfe9ee;
}

.comment-reply {
    font-size: 32px;
    color: #078cca;
}
.comment-text {
    font-weight: 600;
    font-size: 32px;
}
.comment-user-image {
    width: 100%;
    height: 80px;
}

.reply-comment-user-image {
    width: 100%;
    height: 70px;
}

.main-img {
    width: 12%;
    object-fit: cover;
    /* padding-right: 0px; */
}

.main-comment {
    width: 88%;
    padding-left: 0px;
}

.second-comment-img {
    width: 13%;
    object-fit: cover;
}
.second-comment {
    width: 87%;
    padding-left: 0px;
}

.comment-calendar {
    color: #078cca;
}
.comment-name {
    font-size: 20px;
    font-weight: 550;
}

.reply-comment {
    text-decoration: none;
}

.input-container {
    position: relative;
}

.input-container .icon {
    color: #078cca;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px; /* Position the icon on the right side */
    pointer-events: none; /* Ensures the icon does not block input interactions */
}

.input-container input,
.input-container textarea {
    padding-right: 35px; /* Adjust to ensure there is space for the icon */
}

.form-control {
    position: relative;
}

.footer {
    background-color: #cde3ed;
}

.footer a {
    text-decoration: none;
}

.col-a span {
    color: rgb(31, 22, 22);
}

.address:hover {
    color: #000;
}

.footer-media {
    color: #026b98;
}

.footer-media:hover {
    color: #000;
}

.f {
    font-size: 30px;
}

.copyright {
    background-color: #026b98;
    height: 33px;
    text-align: center;
    color: #fff;
}

.login-button {
    width: 50%;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    /* object-fit: cover; */
}
/* Mobile-first approach */
@media (max-width: 767px) {
    .main-content,
    .side-content {
        width: 100%;
        float: none;
    }
    .scrolling-wrapper .tab {
        padding: 8px 16px;
    }
    .content-wrapper {
        margin-top: 0;
        padding-left: 10px;
        padding-top: 5px;
        padding-right: 3px;
    }
    .footer-content {
        padding: 25px;
    }
 
    .secondary-image {
        margin-bottom: 10px;
    }
    .main-img {
        width: 30%;
    }
    .main-comment {
        width: 70%;
    }
    .second-comment-img {
        width: 40%;
    }
    .second-comment {
        width: 60%;
    }
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .main-content {
        width: 70%;
        float: left;
    }
    .side-content {
        width: 30%;
        float: left;
    }
    .content-wrapper {
        margin-top: 5px;
        padding-left: 10px;
        padding-top: 5px;
        padding-right: 10px;
    }
}

/* Large desktop screens */
@media (min-width: 1200px) {
    .content-wrapper {
        margin-top: 10px;
        padding-left: 50px;
        padding-top: 5px;
        padding-right: 50px;
    }
}
/* mt-5 ps-5 pt-2 pe-5  */
/* Extra-large desktop screens */
@media (min-width: 1600px) {
    .content-wrapper {
        margin-top: 10px;
        padding-left: 50px;
        padding-top: 5px;
        padding-right: 50px;
    }
}
