/* @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');


:root {
    --primary-clr: #BE422A;
    --white-clr: #fff;
    --main-text-clr: #1e1e1e;
    --background-clr: #EBECE6;
}

body{
    font-family: "Philosopher", sans-serif;
}

body {
    background-color: var(--background-clr);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::-webkit-scrollbar-track,
.custom-dropdown-submenu::-webkit-scrollbar-track,
.custom-card-content::-webkit-scrollbar-track,
.vicar-msg .timing-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-clr);
}

body::-webkit-scrollbar,
.custom-dropdown-submenu::-webkit-scrollbar,
.custom-card-content::-webkit-scrollbar,
.vicar-msg .timing-content::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-clr);
}

body::-webkit-scrollbar-thumb,
.custom-dropdown-submenu::-webkit-scrollbar-thumb,
.custom-card-content::-webkit-scrollbar-thumb,
.vicar-msg .timing-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-clr);
}

/* header styling */
.topnav-container {
    /* background-color: var(--background-clr); */
}

.topnav-main {
    /* background-image: unset; */
}

.brand-title h5 {
    font-family: "Cinzel";
    color: var(--main-text-clr);
}

@media(max-width:992px) {
    .brand-title h5 {
        font-size: clamp(0.75rem, 0.6786rem + 0.3571vw, 1rem);
    }

    .brand-title p {
        font-size: clamp(0.5rem, 0.3571rem + 0.7143vw, 1rem);
    }
}

/* Flash News styling */

.marquee_container .title h6 {

    color: var(--primary-clr);
    font-weight: bold;
}

.marquee_container .title {
    border-right: 1px solid var(--main-text-clr);
}

.flash_news_sec {
    -webkit-box-shadow: inset 0px -10px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0px -10px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px -10px 8px 0px rgba(0, 0, 0, 0.2);
}

/* About us section styling */

.about-title h6 {
    font-size: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);
    text-transform: capitalize;
}

.about-title h5 {
    font-family: "Cinzel";
    font-size: clamp(1.25rem, 1.1071rem + 0.7143vw, 1.75rem);
}

.about {
    background-color: var(--white-clr);
    -webkit-box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.2);
}

/* calandar brief */

.main-title{
    font-size: clamp(1.25rem, 1.1786rem + 0.3571vw, 1.5rem);
    color: var(--white-clr);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .2rem;
    line-height: 1.5;
}
.our-service .service-img{
    aspect-ratio: 3/2;
    border-radius: 10px;
}

/* Prayer group styling */

.vicar-data{
    background-repeat: no-repeat;
    background-size: cover;
    /* color: #5f564b80; */
}

/* gallery section styling */
.card-gallery{
    margin-bottom: 1rem;
    outline: 4px solid var(--white-clr);
    outline-offset: -4px;
    transition: all .3s linear;
    height: 100%;
}
.card-gallery:hover{
    text-decoration: none;
    background-color: var(--primary-clr);
}
.card-gallery:hover .gallery-content h5,
.card-gallery:hover .gallery-content p{
    color: var(--white-clr);
}
.card-gallery img{
    border-radius: 10px;
}
.gallery-content h5{
    font-size: clamp(1rem, 0.9286rem + 0.3571vw, 1.25rem);
    text-transform: uppercase;
    font-weight: 500;
    color: var(--primary-clr);
    letter-spacing: .2rem;
    line-height: 1.5;
    transition: all .3s linear;
}
.gallery-content p{
    font-size: 14px;
    font-weight: 400;
    transition: all .3s linear;
}

.footer-bottom{
    margin-top: auto;
}

.image-fluid img{
    max-width: 100%;
    height: auto !important;
    width: auto !important;
}

/* Gallery frame */
.gallery-img-wrapper {
    max-width: 720px;
    border-image: url('../images/frame.png') 53 60 53 60 stretch stretch;
    border-color: #f4be52;
    border-style: inset;
    border-width: 30px;
    margin-inline: auto;
}

.overflow-menu{
    max-height: 50vh;
    overflow-y: auto;
}
overflow-menu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--background-clr);
}

.overflow-menu::-webkit-scrollbar {
    width: 6px;
    background-color: var(--background-clr);
}
.overflow-menu::-webkit-scrollbar-thumb {
    background-color:#f4be52;
}

.gallery-img-wrapper img {
    border-radius: 10px;
}
.custom-post-box {
    text-align: center;
}
.custom-post-box img{
    object-fit: cover;
}