@import url(./mukta-font.css);

body,
html {
    font-family: 'Mukta', sans-serif;
}

.logo img {
    width: 100px;
}


.nav-link {
    font-weight: 600;
}

.navbar-collapse {
    flex-grow: 0;
}

a {
    text-decoration: none;
}

.about_headline h3 {
    color: #db4242;
    font-size: 46px;
    line-height: 2.5rem;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about_headline span {
    font-weight: bold;
}

.about_headline p {
    text-align: justify;
    line-height: 2rem;
}

.about_headline span:after,
.about_headline span:before {
    display: inline-block;
    content: "";
    border-top: 0.3rem solid #cf202f;
    width: 4rem;
    margin: -12px 1rem;
    transform: translateY(-1rem);
}

.space {
    padding: 50px 0 50px 0;
}

.aboy-link i {
    font-size: 20px;
    margin: 6px -30px;
    position: absolute;
    color: #fff;
}

.aboy-link h6 {
    color: #fff;
    font-size: 18px;
}

.aboy-link p {
    font-weight: 400;
    color: #515151;
    line-height: 2rem;
}

.quick-link h6 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #db4242;
}

.donation_box {
    transform: scale(0.9);
}

.db::after,
.db::before {
    position: absolute;
    top: 40%;
    display: inline-block;
    content: "";
    border-top: 8rem solid #b12d5b;
    width: 2px;
    transform: translateY(-1rem);
}

.db::after {
    right: 0;
}

.errorMsgArrow {
    color: #b12d5b;
}

.quick-link p a {
    text-decoration: none;
    font-weight: 600;
    color: #515151;
}

.form-label {
    font-weight: 500;
}

.quick-link p {
    transform: scale(1);
    transition: 0.2s;
}

.quick-link p:hover {
    transform: scale(1.1);
}

.gallery img {
    height: 200px;
    object-fit: cover;
}

.headline h3 {
    letter-spacing: -0.025em;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
}

.headline span {
    color: #b82a4f;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.headline h3:after,
.headline h3:before {
    display: inline-block;
    content: "";
    border-top: 0.3rem solid #cf202f;
    width: 4rem;
    margin: -6px 1rem;
    transform: translateY(-1rem);
}

.form-control:focus {
    box-shadow: none;
}

.custom-btn {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
        7px 7px 20px 0px rgba(0, 0, 0, .1),
        4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

.my_button {
    background-color: #5a0800;
    border: none;
    z-index: 1;
    color: #fff;
}

.my_button:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    z-index: -1;
    color: #fff;
    border-radius: 5px;
    background-color: #fab404;
    background-image: linear-gradient(315deg, #fab404 0%, #fab404 74%);
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
        7px 7px 20px 0px rgba(0, 0, 0, .1),
        4px 4px 5px 0px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
}

.my_button:hover {
    color: #5a0800;
}

.my_button:hover:after {
    top: auto;
    bottom: 0;
    height: 100%;
}

.my_button:active {
    top: 2px;
}

.our_team h3 {
    font-size: 2rem;
    letter-spacing: -0.025em;
    font-weight: 700;
    line-height: 2.5rem;
}

.our_team p {
    font-size: 1.125rem;
    line-height: 2rem;
    color: rgb(75 85 99);
}

.our_team img {
    object-fit: cover;
    width: 4rem;
    height: 5rem;
    border-radius: 5px;
    margin-right: 1.5rem;
    ;
}

.our_team h4 {
    letter-spacing: -0.025em;
    font-size: 18px;
    line-height: 1.75rem;
    font-weight: 600;
}

.our_team h5 {
    font-size: 0.875rem;
    color: #5a0800;
    font-size: 16px;
    font-weight: 600;
}

.pooja_bg {
    width: 100%;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    background: url(../img/about/mahadev-pooja.jpg) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: 0;
    position: relative;
}

.inner_pooja_bg {
    position: relative;
    background-color: #6d22769c;
    overflow: hidden;
    width: 100%;
    height: auto;
    z-index: 1;
    padding: 100px 0px 100px 0px;
}

.pooja_box h3 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: white;
    margin-bottom: 2.5rem;
}

.pooja_box h3:after,
.pooja_box h3:before {
    display: inline-block;
    content: "";
    border-top: 0.3rem solid #fff;
    width: 4rem;
    margin: -12px 1rem;
    transform: translateY(-1rem);
}

.pooja_box p {
    padding: 0 22rem;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: white;
}

.pooja_box a {
    border: 1px solid;
    color: white;
}

.pooja_box a:hover {
    border: none;
    background-color: white;
    color: #5a0800;
}

footer {
    background-image: url(../img/about/footer.jpg);
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.ft_icon {
    margin: 0.25rem !important;
    color: #db4242;
}

.ft_icon:hover {
    background-color: white;
    color: #5a0800;
}

.breadcrumbs_box {
    background-image: linear-gradient(45deg, #410026, #d4390d);
    padding: 1rem 0;
}

.breadcrumbs_box h6 {
    font-size: 3rem;
    color: white;
}

.breadcrumbs_box ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.breadcrumbs_box ul li {
    margin: 0 0.5rem;
    color: white;
}

.contact_us {

    border: 1px dotted #9c9c9c;
    /* width: 22rem; */
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

.contact_us:hover {
    box-shadow: 0.5rem 0.5rem 0.5rem #c4c4c4;
}

.contact_us h3 {
    font-weight: 600;
    font-size: 1.3rem;
    color: #74098a;
}

.contact_us h3:after,
.contact_us h3:before {
    display: inline-block;
    content: "";
    border-top: 0.2rem solid #cf202f;
    width: 2rem;
    margin: -12px 1rem;
    transform: translateY(-1rem);
}

.contact_us p {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.contact_us h5,
.contact_us h5 a {
    line-height: 1.5rem;
    font-size: 16px;
    color: #000000;
}

.ft_about h6 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #db4242;
}

.ft_about p {
    color: #767e88;
    font-weight: 600;
}

.ft_about p i {
    color: #7E4555 !important;
    position: absolute;
    margin: 2px -24px;
}

.team_members {
    list-style: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 4rem;
    column-gap: 2rem;
    display: grid;
    margin-top: 5rem;
}

.team_members li img {
    object-fit: cover;
    display: block;
    width: 12rem;
    height: 15rem;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0.5rem 0.5rem grey;
    transform: scale(1);
    transition: 0.5s;
}

.team_members li img:hover {
    transform: scale(1.2);
}

.team_members li h3 {
    letter-spacing: -0.025em;
    line-height: 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #5a0800;
}

.row_bg {
    background-color: #e6e6e6;
    padding: 0.1rem 0;
}

.managingcommittee {
    margin-bottom: 3rem;
}

.managingcommittee img {
    width: 12rem;
    height: 17rem;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0.5rem 0.5rem #bfbfbf;
    display: block;
    margin: 1.5rem auto;
    transform: scale(1);
    transition: 0.5s;
}

.managingcommittee img:hover {
    transform: scale(1.1);
}

.managingcommittee h3 {
    font-weight: 600;
    margin-top: 1.5rem;
    font-size: 1.125rem;
    text-align: center;
    color: #5a0800;
}


.managingcommittee p {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.navbar-brand h5 {
    font-size: 1.5rem;
    color: #970d05;
    margin-top: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-brand p {
    text-align: center;
    color: #670296;
    font-size: 16px;
}

.pooja_info {
    padding-block-start: 1.5rem;
    padding-block-end: 1rem;
    padding-inline: 1.5rem;
}


.pooja_info h3 {
    font-size: 18px;
    font-weight: 500;
}

.pooja_info p {}

.pooja_div ul {
    --col-gap: 2rem;
    --row-gap: 2rem;
    --line-w: 0.25rem;
    display: grid;
    grid-template-columns: var(--line-w) 1fr;
    grid-auto-columns: max-content;
    column-gap: var(--col-gap);
    list-style: none;
    width: min(60rem, 90%);
    margin-inline: auto;
}

/* line */
.pooja_div ul::before {
    content: "";
    grid-column: 1;
    grid-row: 1 / span 20;
    background: rgb(225, 225, 225);
    border-radius: calc(var(--line-w) / 2);
}

/* columns*/

/* row gaps */
.pooja_div ul li:not(:last-child) {
    margin-bottom: var(--row-gap);
}

/* card */
.pooja_div ul li {
    grid-column: 2;
    --inlineP: 1.5rem;
    margin-inline: var(--inlineP);
    grid-row: span 2;
    display: grid;
    grid-template-rows: min-content min-content min-content;
}

/* date */
.pooja_div ul li .date {
    --dateH: 3rem;
    height: var(--dateH);
    margin-inline: calc(var(--inlineP) * -1);

    text-align: center;
    background-color: var(--accent-color);

    color: white;
    font-size: 1.25rem;
    font-weight: 700;

    display: grid;
    place-content: center;
    position: relative;

    border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
}

/* date flap */
.pooja_div ul li .date::before {
    content: "";
    width: var(--inlineP);
    aspect-ratio: 1;
    background: var(--accent-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
    position: absolute;
    top: 100%;

    clip-path: polygon(0 0, 100% 0, 0 100%);
    right: 0;
}

/* circle */
.pooja_div ul li .date::after {
    content: "";
    position: absolute;
    width: 2rem;
    aspect-ratio: 1;
    background: var(--bgColor);
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;

    transform: translate(50%, -50%);
    right: calc(100% + var(--col-gap) + var(--line-w) / 2);
}

/* title descr */
.pooja_div ul li .title,
.pooja_div ul li .descr {
    background: var(--bgColor);
    position: relative;
    padding-inline: 1.5rem;
}

.pooja_div ul li .title {
    overflow: hidden;
    padding-block-start: 1.5rem;
    padding-block-end: 1rem;
    font-weight: 500;
}

.pooja_div ul li .descr {
    padding-block-end: 1.5rem;
    font-weight: 300;
}

.pooja_div ul li .title::before {
    bottom: calc(100% + 0.125rem);
}

.pooja_div ul li .descr::before {
    z-index: -1;
    bottom: 0.25rem;
}

@media (min-width: 40rem) {
    .pooja_div ul {
        grid-template-columns: 1fr var(--line-w) 1fr;
    }

    .pooja_div ul::before {
        grid-column: 2;
    }

    .pooja_div ul li:nth-child(odd) {
        grid-column: 1;
    }

    .pooja_div ul li:nth-child(even) {
        grid-column: 3;
    }

    /* start second card */
    .pooja_div ul li:nth-child(2) {
        grid-row: 2/4;
    }

    .pooja_div ul li:nth-child(odd) .date::before {
        clip-path: polygon(0 0, 100% 0, 100% 100%);
        left: 0;
    }

    .pooja_div ul li:nth-child(odd) .date::after {
        transform: translate(-50%, -50%);
        left: calc(100% + var(--col-gap) + var(--line-w) / 2);
    }

    .pooja_div ul li:nth-child(odd) .date {
        border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;
    }
}


.donation_bg {
    width: 100%;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    background: url(../img/about/mahadev.jpg) no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
    z-index: 0;
    position: relative;
}

.inner_donation_bg {
    position: relative;
    background-color: #0800089c;
    overflow: hidden;
    width: 100%;
    height: auto;
    z-index: 1;
    padding: 100px 0px 100px 0px;
}

.donation_box img {
    object-fit: contain;
    height: 130px;
    width: 250px;
    margin: 0 auto;
    display: block;
}

.donation_box h3 {
    color: #ff6b11;
    text-align: center;
    font-size: 1.9rem;
    line-height: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

.donation_box h4 {
    margin-bottom: 2.5rem;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
}

.donation_box h4 p {
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    margin: 0;
}

.donation_box h4 p:after,
.donation_box h4 p:before {
    display: inline-block;
    content: "";
    border-top: 0.2rem solid #cf202f;
    width: 4rem;
    margin: -12px 1rem;
    transform: translateY(-1rem);
}

.qrcode {
    margin: 1rem auto !important;
    width: 170px !important;
    height: auto !important;
}

.navbar-nav .nav-link.active {
    color: #c00d03;
}

@media (max-width:768px) {
    .logo img {
        width: 70px;
        height: 70px;
    }

    .navbar-brand p,
    .navbar-brand h5 {
        font-size: 11px;
    }

    .about_headline {
        padding-top: 1rem;
        text-align: center;
    }

    .pooja_box p {
        padding: 0;
    }

    .pooja_box {
        padding: 0 1rem;
    }

    .ft_about {
        text-align: left;
    }

    .ft_about p i {
        margin: 2px -25px;
    }

    .ft_about p {
        margin: 2px 30px;
    }

    .quick-link {
        padding: 0 1rem;
        text-align: left;
    }

    .col-sm-6 {
        width: 50%;
    }

    .socialicon {
        padding: 1rem 0;
        display: flex;
        justify-content: center;
    }

    .logo2 img {
        width: 80px;
    }

    .pooja_bg {
        background-position-x: 40%;
    }
}