/* 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: 2.8rem;
    overflow: scroll;
}



/* styling the various sections in the page */

.heading {
    background: #e1ebee;
//    background: #e1e5f2;
}

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

.content {
    background: #e1ebee;
//    background: #ccd5ff;
//    background: #e1e5f2;
}

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

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

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

.footing {
//    background: #343443;
    background: #3c3c3c;
}

.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;
}


.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;
}

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

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

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

.sermonette h3 {
    text-decoration-line: underline;
}

.sermonette h4 {
    font-style: italic;
    color: maroon;
}


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

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

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



.blog {
    margin-bottom: 2em;
}

.blog .title {
    font-weight: bold;
    font-size: 1.5rem;
}

.blog .sub-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #4c516d;
}

.blog .text {
    font-style: italic;
    font-size: 1.1rem;
}




#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: #AA332D;
}

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

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


.tagline {
    text-align: center;
    font-size: large;
    background: #F5E663;
    padding: 1em;
    max-height: 20rem;
    border-radius: 2rem;
}
.tagline h1 {
    text-align: center;
    font-size: 2rem;
    line-height: 2.4rem;
    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;
    padding: 0 1em;
    margin: 2em 0;
}

.list {
    margin-left: 2em;
}

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

.ten_commands img,
.mpesa_till img {
//    max-width: 30vw;
    background: gold;
}



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

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


/* photos section */
.photo {
    display: flex;
    gap: 1em;
    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,
.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: flex;
    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;
}

.footing a {
    color: #1ca9c9;
}

.foot {
    display: inline-flex;
}

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





/* navigation */

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

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

.logo {
    background-color: transparent;
    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: #000;
//        font-weight: bold;
}

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

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

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

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




/* form layout css */
form {
    background: #99CC99;
    border-radius: 20px;
    padding: 2em 0;
    display: flex;
    align-items: 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: #CCD5FF;
    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: #CCD5FF;
    padding: 1em;
    margin: auto;
//    box-shadow: 0 0 20px black;
}




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

    .menu-group {
        justify-content: space-between;
        flex-flow: row wrap;
    }

    .toggle {
        font-size: 3rem;
        color: #000;
        cursor: pointer;
        user-select: none;
        transition: .3s ease-out;
//        visibility: visible;
//        display: inline;
        display: none;
//        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;
        flex: 1;
        width: min(10em);
    }

    .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;
    }

}





