:root {
    --accent: #BC984E;
    --accent-dark: #8b661f;
    --accent-soft: #d8b86b;
    --cream: #ECE6d9;
    --ink: #361c0e;
}

h1 {
    color: #ece6d9;
}
* {
    box-sizing: border-box;
}
html {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background-color: var(--cream);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
}
header {
    position: relative;
    width: 100%;
    height: 80px;
    padding: 0 16px;
    background-color: #BC984E;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    z-index: auto;
    box-shadow: 0 2px 10px rgba(54, 28, 14, 0.16);
}
.navbar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #BC984E;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}


.sidepanel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 99999 !important;
    top: 0;
    right: 0;
    left: auto;
    background-color: #BC984E;
    overflow-x: hidden;
    transition: width 0.3s ease;
    padding-top: 60px;
}
.sidepanel a {
    padding: 12px 16px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff; 
    display: block;
    transition: 0.2s;
}
.sidepanel a:hover {
    color: #f0e9d6;
}
.sidepanel .closebtn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 36px;
    color: #ffffff;
    background: transparent;
    border: none;
}

button,
input[type="button"],
input[type="submit"],
.button,
#sermonbtn,
#onlinebtn {
    background-color: var(--accent);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover,
#sermonbtn:hover,
#onlinebtn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-1px);
}

.openbtn {
    font-size: 32px;
    cursor: pointer;
    background-color: var(--accent);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1150;
}

.openbtn:hover {
    background-color: var(--accent-dark);
}

.sidepanel .closebtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    padding: 0;
}

.sidepanel.right {
    left: auto;
    right: 0;
}


body {
    margin: 0;
}


header h1#online,
header .page-title {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin: 0;
    color: #ece6d9;
    pointer-events: none;
    width: auto;
}


header, .navbar {
    height: auto;
    min-height: 60px;
    overflow: visible;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 12px;
    width: auto;
    flex: 0 0 auto;
}

.nav-logo img {
    display: block;
    width: auto;
    max-width: 320px;
    max-height: calc(100% - 8px);
    height: auto;
    object-fit: contain;
    padding: 4px;
    margin: 0;
}

.navbar { gap: 16px; }
#sermonbtn {
    height: auto;
    min-height: 56px;
    width: min(250px, 100%);
    font-size: 16px;
    text-align: center;
    border-radius: 999px;
    padding: 14px 22px;
    margin-left: 0;
    margin: 0 auto;
    display: inline-flex;
    font-family: 'Arial';
    box-shadow: 0 8px 18px rgba(54, 28, 14, 0.22);
}
#Click {
    color:#513e14;
    padding-left: 20px;
}
#online {
    color: #ece6d9;
    font-size: 24px;
}
strong,
.strong {
    color: #BC984E;
    font-weight: 700;
}

a {
    color: var(--accent-dark);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    overflow-x: hidden;
    min-width: 0;
}

container {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 28px 48px;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255,255,255,0.22);
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(54, 28, 14, 0.06);
}

p, li {
    font-size: 1.02rem;
}

h2, h3 {
    color: var(--accent-dark);
    margin-top: 1.4em;
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 12px;
        min-height: auto;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    header h1#online,
    header .page-title {
        position: static;
        transform: none;
        font-size: 1.4rem;
        text-align: center;
        margin: 0.75rem auto 0;
        width: 100%;
    }

    .openbtn {
        font-size: 28px;
        padding: 10px 14px;
        position: absolute;
        right: 12px;
        top: 12px;
        transform: none;
        margin: 0;
        z-index: 10001;
    }

    .sidepanel {
        padding-top: 56px;
        right: 0;
        left: auto;
        width: 0;
    }

    .sidepanel a {
        font-size: 20px;
        padding: 10px 14px;
    }

    .nav-logo {
        height: auto;
        width: auto;
        justify-content: flex-start;
    }

    .nav-logo img {
        width: auto;
        max-width: 280px;
        max-height: calc(100% - 8px);
        margin: 0;
        transform: none;
    }

    container {
        padding: 18px 16px 32px;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 8px 10px;
    }

    .openbtn {
        font-size: 24px;
        padding: 8px 12px;
        right: 8px;
        top: 8px;
    }

    .sidepanel a {
        font-size: 18px;
        padding: 10px 12px;
    }

    header h1#online,
    header .page-title {
        font-size: 1.15rem;
    }

    .nav-logo img {
        width: auto;
        max-width: 220px;
        max-height: calc(100% - 8px);
    }

    container {
        padding: 16px 12px 28px;
    }

    strong,
    .strong {
        display: inline-block;
        font-size: 0.95rem;
    }
}
#beliefs {
    color:#ece6d9;
    background-color:#BC984E;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    text-align: center;
    border-radius: 6px;
    margin: 0 0 12px;
    box-shadow: 0 2px 8px rgba(54, 28, 14, 0.12);
}
#pastor{
    color:#BC984E;
    font-family: initial;
    text-align: center;
    margin-top: 0;
}
#articles {
    color: #361c0e;
}
#teachers {
    color: #BC984E;
    padding: 10px;
}
#onlinegive {
    color:#361c0e;
    font-size: 38px;
    padding: 10px;

}
#onlinebtn {
    font-size: 20px;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(54, 28, 14, 0.22);
}
#pastorpic {
    width: min(100%, 200px);
    height: auto;
    display: block;
    margin: 0 auto 24px;
    border-radius: 8px;
}
#announcements,
#servicetimes,
#contactus {
    padding: 20px 18px;
    text-align: center;
    margin: 14px auto;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(54, 28, 14, 0.08);
    position: static;
    top: auto;
}

#announcements {
    color: var(--ink);
    position: relative;
    z-index: 100;
}

#servicetimes {
    color: #BC984E;
}

#contactus {
    color: var(--ink);
}

#announcementstitle,
#servicetimestitle,
#contactustitle {
    color: #ece6d9;
    background-color: #BC984E;
    text-align: center;
    margin: 0 0 16px;
    padding: 12px 10px;
    border-radius: 10px;
}

#bruh {
    padding: 10px;
}

#bulldogpic {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
