/* remove default margins */
* {
    margin: 0;
    padding: 0;
    font: inherit;
    box-sizing: border-box;
}

html:focus-within {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}




/* general styling */

html {
    color-scheme: light dark;
}

body {
    text-rendering: optimizeSpeed;
    min-height: 100dvh;
//    font-family: system-ui, sans-serif;
	font-family: Verdana, Geneva, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
    font-style: italic;
}

.page {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.container {
    width: min(110ch, 100% - 2rem);
    margin-inline: auto;
    background: transparent;
}

main {
    padding-top: 6.7rem;
    overflow: scroll;
}

main .hero {
/*
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: -moz-flex;
    display: flex;

    -webkit-box-pack: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;

    -webkit-box-align: start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    -webkit-align-items: flex-start;
    align-items: start;
*/
    height: 100dvh;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../../uploads/images/IMG-20250824-WA0046.jpg);
    background-position: center;
    background-size: cover;
}

main .hero .tagline {
    color: #fff;
    background: none;
}

.hero .tagline h1 {
    font-size: 2.8rem;
}

.hero .tagline p {
    font-size: 1.6rem;
}




/* styling the various sections in the page */

.heading {
    background: #0047ab;
}

.banner {
    background: #b7d5e0;
//    background: #78C3FB;
}

.content {
    background: #b7d5e0;
//    background: #78C3FB;
}

.section .about {
//    background: #c87137;
}

.section .children {
//    background: teal;
}

.section .give {
//    background: maroon;
}

.footing {
//    background: #4c516d;
//    background: #e1ebee;
    background: #2c3968;
}

.toggle {
//    background: chocolate;
}


.visually-removed,
.toggle,
.menu-btn {
    display: none;
//    visibility: hidden;
}

.element-hidden {
//    display: none;
//    opacity: 0%;
    visibility: hidden;
    padding-bottom: 5em;
}


.service {
    list-style: none;
    display: inline-flex;
    text-align: center;
}

.service .title {
    font-size: 1.3rem;
    font-weight: bold;
}

.service li {
    margin-right: 1.2em;
}

.service-list {
    list-style: none;
    font-size: 1.1rem;
}


.section a,
.banner .container,
.content .container {
    color: #000;
//    color: #012169;
}


.section {
    padding: 1em 0;
}

.section h1,
.section h2,
.section h3 {
    padding-top: 1em;
    padding-bottom: .3em;
    font-weight: bold;
}

.section h1 {
    font-size: 3rem;
}

.section h2 {
    font-size: 2.6rem;
}

.section h3 {
    font-size: 2.2rem;
}

.section h4,
.section h5 {
    padding: 1em 0;
    font-weight: bold;
}

.section h4 {
    font-size: 1.8rem;
}

.sectionn h5 {
    font-size: 1.4rem;
}

.section p {
    padding-bottom: 1em;
    text-align: left;
}

.sermonette h2 {
//        text-align: center;
}

.sermonette h3 {
    color: #0047ab;
//        text-decoration-line: underline;
}

.sermonette h4 {
    font-style: italic;
    color: #8b4513;
//        color: #aa332d;
}

.scripture {
//    color: #aa332d;
}

.contact h4,
.contact h5 {
    padding: 1em 0;
    font-weight: bold;
}

.contact h4 {
    font-size: 1.8rem;
}

.contact h5 {
    font-size: 1.4rem;
}


#top a,
#bottom a {
    padding: .3em;
    border: 1px solid #042b24;
    border-radius: .5em;
    font-size: 1rem;
}

#top,
#bottom {
    text-align: right;
    padding: 1em;
//    transition: transform 2s ease 0s, background-color 2s ease 0s;
}

.statement .title,
.list .title,
.expect .title {
    font-weight: bold;
    font-size: 1.3rem;
}

.statement .title,
.theme-verse .title {
    color: #8b4513;
//    color: #AA332D;
}

.list,
.expect {
    margin-left: 2em;
}

.page-error,
.not-found {
    text-align: center;
}


.tagline {
    text-align: center;
    font-size: large;
    background: #daa520;
//    background: #F5E663;
    padding: 1em;
    max-height: 20rem;
    border-radius: 2rem;
}

.tagline h1 {
    text-align: center;
    font-size: 2rem;
    margin: auto;
}

.tagline .text {
    text-align: center;
//    margin: auto;
}

.motto,
.theme-verse .title {
    font-weight: bold;
    font-size: 1.3em;
    font-style: italic;
}

.container .theme-verse,
.theme-verse p {
    text-align: center;
}

.theme-verse {
//    border: 1px solid #fff;
//    border-radius: 5em;
//    color: #fff;
    padding: 0 1em;
    margin: 2em 0;
}

.list {
    margin-left: 2em;
}

.list li {
//        list-style: none;
}

//.banner .photo-group img,
.photo ten_commands img,
.photo .mpesa_till img {
    max-width: 30em;
//    max-height: 20em;
}



/* 404 section */
.not-found h1 {
    font-size: 5rem;
}

.not-found p {
    font-size: 1.2rem;
}


/* photos section */
.photo {

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: -moz-flex;
    display: flex;

    gap: 1em;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-evenly;
    -ms-flex-pack: justify;
    justify-content: space-evenly;

    columns: 3 16em;
    column-gap: 1em;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
//    border-radius: 1em;
//    border: .1em solid #fff;
    padding: min(2em, 2%);
//    background: #97ac97;
}

.photo-group {
    box-shadow: 5px 5px 20px #000;
    padding-bottom: 1em;
    background: #8b4513;
    color: #fff;
//    background: #daa520;
//    color: #8b4513;
//    border-radius: 1em;
}

.photo-group a {
    color: #fff;
}


.photo-group,
.photo .title {
    text-align: center;
}

.photo .title {
    font-weight: bold;
}

.tab img,
.photo-group {
    margin-bottom: min(2em, 4%);
}

.photo img,
.gallery_tabs img {
    height: auto;
    max-width: 100%;
//    border-radius: 1em;
//    border: .3em solid #fff;
}


/* gallery section for tabs navigation */
.gallery_tabs {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: -moz-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;

    max-width: 100%;
    margin: 1em auto;
    padding: 1em;
}

.gallery_tabs h3 {
    text-align: center;
}

.gallery_tabs input[type="radio"] {
    display: none;
}

.gallery_tabs label {
    background: #78856b;
    padding: 1em;
    font-weight: bold;
    font-style: italic;
}

.gallery_tabs .tab {
    max-width: 100%;
    padding: 1em;
    background: #8ba08c;
    order: 1;
    display: none;
}

.gallery_tabs input[type="radio"]:checked + label + .tab {
    display: block;
}

.gallery_tabs input[type="radio"]:checked + label {
    background: #97ac97;
}



/* footer area */

footer {
    padding: 1em auto;
}

footer li {
    list-style-type: none;
    display: inline-block;
    margin-right: .5em;
}

.footing {
    color: #fff;
//    color: #a4dded;
}

.footing a {
    color: #1ca9c9;
}

.foot {
    display: inline-flex;
}

.foot .contact {
    margin-right: 5em;
}





/* form layout css */
form {
    background: #99CC99;
    border-radius: 20px;
    padding: 2em 0;

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: -moz-flex;
    display: flex;

    -webkit-box-align: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;

    -webkit-box-pack: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

form .button {
    padding: .5em;
    margin-bottom: 1em;
    border-radius: 2em;
    background: blue;
    color: #fff;
    font-weight: bold;
}

.terms {
    text-align: center;
}

.form-group {
    font-size: .8em;
}

.form-group .button {
    width: min(25ch, 100% - 1rem);
    display: block;
}

.label-title {
    font-size: 1.2em;
    font-weight: 600;
    display: block;
}

.label-name {
    font-size: 1.1em;
}

.text-box {
    display: block;
    padding: .2em;
    margin-bottom: 1em;
    border-radius: .5em;
}

.error-msg {
    padding: 1em;
    margin-bottom: 1em;
    font-size: .8em;
    color: #f20505;
    background: #f2c2c2;
    border-radius: .5em;
    display: inline-flex;
}



.banner img {
//    max-width: 30rem;
}


/* various sections in a page */
.area-one {
    border-radius: 2rem;
    background: #648DE5;
    padding: 1em;
    margin-top: 2rem;
    margin-bottom: auto;
//    box-shadow: 0 0 20px black;
}

.area-two {
    border-radius: 2rem;
    background: #BAF19C;
    padding: 1em;
    margin: auto;
//    box-shadow: 0 0 20px black;
}

.area-three {
    border-radius: 2rem;
    background: #EBBAB9;
    padding: 1em;
    margin: auto;
//    box-shadow: 0 0 20px black;
}


.area-four {
    border-radius: 2rem;
   background: #e0eaf1;
    padding: 1em;
    margin-top: 2rem;
    margin-bottom: auto;
//    box-shadow: 0 0 20px black;
}

.area-five {
    border-radius: 2rem;
    background: #E1E5F2;
    padding: 1em;
    margin: auto;
//    box-shadow: 0 0 20px black;
}

.area-six {
    border-radius: 2rem;
    background: #e0eaf1;
    padding: 1em;
    margin: auto;
//    box-shadow: 0 0 20px black;
}




/* navigation */

header {
    position: fixed;
    top: 0;
    width: 100%;
}

.menu-group {
/*
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    @supports (display: flex) {
*/
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: -moz-box;
        display: -moz-flex;
        display: flex;

        -webkit-box-pack: justify;
        -webkit-justify-content: space-evenly;
        -ms-flex-pack: justify;
        justify-content: space-evenly;

        -webkit-box-align: center;
        -moz-align-items: center;
        -ms-align-items: center;
        -o-align-items: center;
        -webkit-align-items: center;
        align-items: center;
/*
    }
*/
}

.logo {
    min-width: 12em;
    margin: .5em 0;
}

.logo a {
    text-decoration: none;
}

.logo img {
    max-height: 5em;
//        padding-bottom: .5em;
}

.logo, .logo a:hover {
    background-color: transparent;
}

.menu {
}

.menu .item {
    list-style: none;
    display: inline-block;
    padding: 0 .2em;
}

.menu .item a {
    text-decoration: none;
    padding: .2em;
    color: #fff;
//    color: #a4dded;
//    font-weight: bold;
}

.menu a:hover {
    transition: .3s ease-out;
    background: #fff;
    color: #0530ad;
}

.menu a:active {
    color: #bc520c;
}

.menu a:visited {
    color: #f6d305;
}

.button button {
//    align-self: center;
    padding: .1em .4em;
    border-radius: 2em;
    background: orange;
    color: #fff;
    font-weight: bold;
    min-width: 7em;
}




/* mobile section */
@media (max-width: 50em) {

    .menu-group {
/*
        display: flex;
        justify-content: space-between;
        flex-flow: row wrap;

        @supports (display: flex) {
*/
            -webkit-box-pack: justify;
            -ms-justify-content: space-between;
            -moz-justify-content: space-between;
            -o-justify-content: space-between;
            -webkit-justify-content: space-between;
            -webkit-justify-content: space-between;
            display: flex;

            justify-content: space-between;

            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            -webkit-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
            flex-flow: row wrap;
/*
        }
*/
    }

    .toggle {
        font-size: 3rem;
        color: #fff;
        cursor: pointer;
        user-select: none;
        transition: .3s ease-out;
//        visibility: visible;
        display: inline;
//        text-align: right;
        padding: 0 .5em;
//        margin-left: max(3em);
    }

    .menu {
        max-height: 0;
        clear: both;
        overflow: hidden;
        transition: max-height .3s ease-out;
        text-align: center;
        margin-inline: auto;
//        margin-top: .5em;
        min-width: 100%;
    }

    .menu li {
        list-style: none;
//        background: chocolate;
        margin: .2em auto;
        width: 100%;
//        padding: .125em 0;
    }

    .menu a {
        display: block;
    }

    .menu-btn:checked ~ .menu {
        max-height: 20rem;
    }

    .button button {
//        order: 1;
        margin: .2em 0 0 1em;
//        margin-inline: auto;
//        padding: .2em 2em;
        width: min(10em);

/*
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
*/
        flex: 1;
    }

    .toggle,
    .menu-btn {
//        padding: 0;
//        margin: 0;
//        text-align: right;
    }

    .logo img {
        margin: 0 auto;
        padding: 0;
    }

    .service {
        display: block;
        text-align: left;
    }

    .service-list {
        margin-bottom: 1em;
    }

    .photo,
    .foot {
        display: block;
    }

}





