@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
}

:root {
    --navbg: #262626;
    --font-base: "Oswald";
    --navColor: #4c4c4c;
    --fontcolor: #eb0046;
    --fontlight: #bbb;
    --backcol: #999;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: normal;
}

.logo {
    width: 150px;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: var(--fontcolor);
}

body {
    font-family: var(--font-base);
}

.carousel-item {
    height: 60vh;
    /* Set height of carousel item to 60% of viewport height */
    overflow: hidden;
    /* Hide overflow content */
}

.carousel-item img {
    height: 100%;
    /* Set image height to 100% of parent container (carousel-item) */
    width: auto;
    /* Let the width adjust automatically to maintain aspect ratio */

}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    color: white;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
    font-size: 16px;
    padding: 15px 15px 15px;
    text-transform: uppercase;

}

.navbar-light .navbar-nav .nav-link:hover {
    color: #eb0046;
}

.navbar {
    background-color: var(--navbg);
}

.navbar-toggler {
    background-color: white;

}

.navbar-toggler-icon {
    background-color: #fff;
    /* Set the desired color (white in this case) */
}

.navbar-nav {
    display: flex;
    gap: 16px;
    /* Optional: Adjust the gap between nav-items and icons */
}

.icons {
    display: flex;
    gap: 10px;
    /* Optional: Adjust the gap between icons */
    margin: auto 0px auto auto;
    text-align: center;
    align-items: center;
    height: 100%;
    /* Fill the full height of the navbar */
}

.content {
    padding: 3rem;
}

.letters {
    font-size: 1.5rem;
    font-weight: lighter;
    letter-spacing: 7px;
}

.icons a {
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
}

#topheader .top {
    text-align: center;
    padding: 3rem;
}

#cards {
    background-color: rgb(153, 153, 153, 0.2);
    padding: 0rem;

}

#cards .card {
    padding: 1.5rem;
    border-radius: 0px;
    border: none;
    margin-top: 1rem;


}

#cards .card3,
.card4,
.card5,
.card6,
.card7 {
    margin-top: 1rem;
}

.card4 h3 {
    font-size: 20px
}

p {
    font-weight: 300;
    color: #999;
    letter-spacing: normal;
    font-size: 16px;
}

#cards .card-heading {
    text-align: center;
}

#cards .btn {
    align-items: center;
}

#cards .card-heading h4 {
    color: var(--fontlight);
}

#cards .card-heading h2 {
    font-size: 2.7rem;
}

#cards .card-heading h4:hover {
    color: var(--fontcolor);
}

#cards .div2 a {
    font-size: 18px;
    font-weight: lighter;
}

#cards .div2 a:hover {
    color: black;
    border-bottom: 2px solid black;
}

#cards .divider {
    border-bottom: 2px dashed #525452;
}

.contain {
    display: flex;
    justify-content: space-between;
}

.contain2 {
    display: flex;
    justify-content: space-between;
}

.btn {
    order: 1;

}

.btn button {
    border: 2px solid #eb0046;
    background: #eb0046;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 3rem;
}

.btn button:hover {
    border: 2px solid #eb0046;
    background: none;
    color: #eb0046;
    padding: 0.5rem 2rem;
    border-radius: 3rem;
}

#cards .col1 .card {
    border: 1px solid #ddd;
}

#cards .col1 h4 {
    font-size: 18px;
}

.icons {
    display: flex;
}

.icons .icondiv {
    padding: 0.5rem;
    justify-content: center;
    background: #ddd;
    border-radius: 90%;
}

.icons .icondiv:hover {
    background-color: var(--fontcolor);
    color: white;
}

.search-container {
    position: relative;
    display: flex;
}

.search-bar {
    padding: 8px;
    border: none;
    background: #ddd;

    width: 200px;
    /* Adjust the width as needed */
}

.search-icon {
    background: #f0f0f0;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px;
    cursor: pointer;
}

#cards .row {
    display: flex;
    flex-wrap: wrap;
}


.row2 h3 {
    font-size: 12px;
}

form {
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

form .box {
    border: none;
}

form label {
    margin-bottom: 5px;
}

form textarea,
form input,
form div {
    margin-bottom: 15px;
    border: 1px solid #c7bebe;
}

.text-container {
    display: flex;
    justify-content: flex-end;
}

#follow .card {
    border: none;
    padding: 3rem;
}

#follow {
    text-align: center;
}

#follow .card-text {
    font-size: 2rem;
    font-style: italic;
    font-weight: lighter;
}

.footer {
    /* background-color: var(--navColor); */
    background: url('../image/footer1.jpg');

}

.footer .contain1 {
    padding: 2rem;
}

.fotterbottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background-color: #f0f0f0;
    /* Optional background color */
}

.credit {
    font-size: 22px;
    /* Adjust font size as needed */
}

.formrows {
    border: none;
}

.formrows .col-md-12,
.formrows .col-lg-12 {
    border: none;
}

.btnSubscribe {
    padding: 0.5rem 1.5rem;
}

#three .card-heading {
    padding: 1rem;
    text-align: center;

}

#three .card-divider {
    border-bottom: 2px solid #999;
    width: 10%;
    margin: 0 auto;
}

#three .card-heading:hover {
    background-color: #999;
    color: white;
    cursor: pointer;
}

#three .card-heading:hover p {
    color: white;
    /* your desired color for the paragraph on hover */
}

#three .card-heading:hover .card-divider {
    border-bottom: 2px solid white;
    width: 10%;
    margin: 0 auto;
    /* your desired background color for the divider on hover */
}

#three .card-body {
    position: relative;
    padding: 0rem;
    /* Ensure relative positioning for proper sizing */
}

#three .card-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio and cover the entire container */
}

.item-menu button {
    border: none;
    background: none;
}

.item h4 {
    letter-spacing: 4px;
}

.know .card-dk {
    background: linear-gradient(45deg, rgba(142, 197, 252, 1) 0%, rgba(224, 195, 252, 1) 100%);
    border-radius: 20px;
    border: none;
    padding: 3rem 2rem;
}

.know .item p {
    color: white;
}

.know .card {
    border: none;
    border-radius: 0rem;
}

.know img {
    border-radius: 0rem;
}

@media(max-width:776px) {
    .carousel-item {
        height: 30vh;
        overflow: hidden;
    }
}

.page-header {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 16s linear;
}

.page-header h1 {
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.page-header p {
    font-size: 18px;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.h-fit {
    height: fit-content;
}

.reletedPosts {
    font-size: 20px;
    text-transform: uppercase;
    border-left: 4px;
    border-left-style: solid;
    border-left-color: #ffc917;
    font-weight: 700;
    padding-left: 12px;
}

.post-card {
    /* background-color: #f5f5f5; */
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.post-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
    background-color: #f1f1f1;
}

.post-card:hover img {
    transform: scale(1.1);
}

.post-card h1 {
    font-size: 26px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.post-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    transition: all 4s ease;
}

.post-card .box {
    padding: 16px;
}

.no-post {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.category-text {
    font-size: 12px;
    font-weight: 400;
    background-color: #ffc917;
    color: black;
    text-align: center;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    padding: 4px 8px;
    border-radius: 2px;
    width: fit-content;
    position: absolute;
    top: 16px;
    left: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    margin-bottom: 6px;
}

.author p {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 0;
}

.related-container {
    top: 10px;
}

.post-details img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


.post-details .author p {
    font-weight: 500;
    color: #666;
}

.post-details .title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.related-post-card {
    position: relative;
}

.related-post-card .title {
    font-size: 20px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.related-post-card .category {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
}

.likeBTN {
    padding: 6px 16px;
    background-color: #3877ff;
    border-radius: 99vh;
    border: none;
    font-size: 16px;
    color: white;
}

.aboutMithila .card-text {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 0;
}

.aboutMithila h3 {
    font-size: 24px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10px;
}

.aboutMithila .social-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    text-decoration: none !important;
    font-size: 24px;
}


.social-icons2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    text-decoration: none !important;
    font-size: 24px;
}

.bg-dull {
    background-color: rgb(153, 153, 153, 0.2);
}

.collection-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    transition: object-position 1s linear;
}

.collection-card:hover img {
    object-position: top;
}

.collection-card p {
    text-align: center;
    font-size: 18px;
    color: black;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.collection-card:hover p {
    color: #3877ff;
}

.no-collection {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.quick-links h3 {
    font-size: 28px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.quick-links a {
    font-size: 16px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
}

.about-short-info {
    font-size: 16px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

.navbar-light .navbar-nav .nav-link:focus {
    color: white !important;
}

@media (max-width:991px) {
    .nav-white {
        background-color: white !important;
    }


    .nav-link,
    .icons a,
    .navbar-light .navbar-nav .nav-link:focus {
        color: #262626 !important;
    }

}