/*default*/
* {
    margin: 0;
    padding: 0;
}

/*accessibility notes*/
/*
NEED TO CONFIGURE TAB INDEXES FOR MENU PROPERLY
*/

/*theme colors (logo-based)*/
:root {
    --abundantBlue: rgb(0, 0, 102);
    --abundantRed: rgb(204, 51, 51);
    --gold: #ffcc33;
    --base: #1e3b88;
    --abundantWhite: whitesmoke;
    --abundantGray: rgba(128, 128, 128, 0.4);

    --animationTime: .5s;
}

/*text highlight color*/
/*footer address*/
mark {
    color: var(--abundantWhite);
    background-color: var(--abundantRed);
    font-weight: bold;
    font-size: 120%;
}

/*the "Church" in Life Abundant Church, not including logo*/
.church-text {
    color: var(--abundantRed);
    font-weight: lighter;
}

html {
    /*background-color: var(--abundantBlue);*/
    font-family: WorkSans, Arial, sans-serif;
    scrollbar-color: var(--abundantRed) var(--abundantWhite);
    scrollbar-width: thin;
    scroll-behavior: smooth;
}


@font-face {
    font-family: 'WorkSans';
    src: url('https://lifeabundantchurch.org/fonts/work-sans/WorkSans-Regular.otf') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

body {
}


/****************************/
/*header*********************/
/****************************/
#header-div {
    /*background-color: rgba(245,245,245,.5);*/
    /*backdrop-filter: blur(5px) opacity(50%);*/
    /*background-image: linear-gradient(180deg, var(--abundantWhite), transparent);*/
    /*background-image: url("/images/test_backgrounds/landscape-blue.svg");*/
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    z-index: 1004;
    transition: 1s;
}

.header-btn {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

#menu-btn-open {
    /*background-color: orange;*/
    background-color: transparent;
    /*flex-basis: 40px;*/
    height: 25px;
    width: 35px;
    margin: auto 5% auto auto;
    background-image: url("https://lifeabundantchurch.org/images/icons/menu-hamburger-thin.svg");
    background-size: cover;
    border: none;
    display: none;
}

#menu-btn-open:hover, #menu-btn-open:focus, #menu-btn-open:active {
    transform: scale(1.1);
}

#logo-btn {
    /*background-color: yellow;*/
    /*height: 100px;*/
    aspect-ratio: 3 / 1;
    max-height: 60px;
    width: 100%;
    max-width: 180px;
    /*max-width: 350px;*/
    margin: 15px auto 15px 5%;
    background-image: url("/images/Life-Abundant-Church-Logo.svg");
}

/**************************************/
/*big nav menu open elements***********/
/**************************************/
.big-nav-container {
    /*background-color: greenyellow;*/
    display: flex;
    max-height: 60px;
    width: 100%; /*just fills remaining space*/
    max-width: 650px;
    margin-top: 12px;
    margin-right: 5%;
    margin-left: 10%;
    justify-content: center;
    align-items: center;
}

.big-nav-links {
    /*background-color: red;*/
    margin: auto;
    text-decoration: none;
    font-size: 150%;
    font-weight: lighter;
    color: var(--abundantBlue);
}

.big-menu-item:hover, .big-menu-item:focus, .big-menu-item:active {
    text-decoration: underline 2px solid var(--abundantRed);
}


/***********************************/
/*mobile nav menu open elements**************/
/**************************************/
/*so page cannot scroll when menu is open*/
.no-scroll {
    overflow: hidden;
}

.nav-menu-container {
    background-color: var(--abundantBlue);
    position: fixed;
    /*top: 0;*/

    /*opacity: 0;*/

    /*left: -100%; !* Start left of viewport *!*/
    /*top: 100%; !*start below the viewport*!*/
    width: 100%;
    /*max-width: 800px;*/
    height: 100%;
    transition: 0.1s;
    z-index: 1003;
    /*display: flex;*/
    /*display: none;*/
    flex-direction: column;
    scrollbar-color: var(--abundantRed) transparent;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.open {
    /*top: 0;*/
    /*display: flex;*/
    opacity: 0;
    animation: var(--animationTime) fadeIn forwards ease-in-out;
}

.closed {
    opacity: 1;
    animation: var(--animationTime) fadeOut forwards ease-in-out;
}

.nav-menu-container ul {
    /*background-color: orange;*/
    list-style-type: none;
    width: 100%;
    /*text-align: center;*/
    height: calc(100% - 50px);
    text-transform: uppercase;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    overflow-y: auto;
    /*scrollbar-color: var(--abundantBlue) var(--gold);*/
    /*scrollbar-color: var(--gold);*/
    /*scrollbar-width: thin;*/
    margin-top: 170px;
    margin-left: 5%;
}

.nav-menu-container li {
    /*background-color: black;*/
    /*flex: auto;*/
    /*margin-bottom: 40px;*/
    /*text-align: left;*/
    /*margin-top: 25px;*/
}

#nav-link-div {
    /*background-color: yellow;*/
    display: flex;
    flex-direction: column;
    width: fit-content;
    /*margin-bottom: 40px;*/

    /*align-items: center;*/
    /*justify-content: center;*/
}

.nav-links {
    /*background-color: cornflowerblue;*/
    /*margin: auto 0;*/
    /*margin-left: 5%;*/
    /*animation-delay: 3s;*/
    margin-bottom: 15%;
}

.menu-item {
    /*background-color: hotpink;*/
    /*text-decoration: underline 2px solid var(--abundantWhite);*/
    /*text-decoration: underline 2px solid var(--gold);*/
    width: fit-content;
    text-decoration: none;
    /*color: var(--abundantBlue);*/
    color: var(--abundantWhite);
    font-size: 300%;
    /*margin-left: 5%;*/
}

#social-links-menu {
    /*background-color: red;*/
    height: 40px;
    width: fit-content;
    display: flex;
    margin: 5% auto 1em 5px;
}

.social-links {
    /*background-color: green;*/
    margin: 0 20px 0 0;
    height: 40px;
    display: flex;
    align-items: center;
    width: 30px;
    transition: transform .3s ease-in-out;
}

.social-links:hover, .social-links:focus, .social-links:active {
    transform: scale(1.1) rotateZ(360deg);
}

.life-abundant-slogan {
    /*background-color: coral;*/
    color: var(--abundantWhite);
    font-style: italic;
    text-transform: none;
    width: fit-content;
}

.slide-up {
    animation: slideUp var(--animationTime) forwards ease-in-out;
}

@keyframes slideUp {
    0% {
        margin-top: 5%;
    }
    100% {
        margin-top: 0;
    }
}

.slide-down {
    animation: slideDown var(--animationTime) forwards linear;
}

@keyframes slideDown {
    0% {
        margin-top: 0;
    }
    100% {
        margin-top: 5%;
    }
}

.menu-item:hover, .menu-item:focus, .menu-item:active {
    text-decoration: underline 2px solid var(--abundantRed);
}


/***********************************/
/*page content elements**************/
/**************************************/
#main-content {
    /*height: 100%;*/
    width: 100%;
    opacity: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.content-container {
    /*position: relative;*/
    min-height: 500px;
    width: 100%;
    /*overflow: hidden;*/
}

.page-heading {
    /*background-color: yellow;*/
    font-size: 250%;
    margin: 170px 5% 0 5%;
    text-align: center;
    color: var(--abundantBlue);
}

.page-sub-heading {
    /*background-color: yellowgreen;*/
    text-align: center;
    margin: 0 5%;
    font-size: 150%;
    color: var(--abundantBlue);
}


/***********************************/
/*home page*/
/***********************************/
.lAc-home {
    background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-blue.svg");
    /*background-color: var(--abundantWhite);*/
    background-size: cover;
}

#home-upper-div {
    position: relative;
    height: 100vh;
}

.faded-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-image: url("/images/Life-Abundant-Heart-Icon-faded.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

#home-top-text {
    /*background-color: slateblue;*/
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    color: var(--abundantBlue);
    font-size: 150%;
}

#home-cta-div {
    /*background-color: blueviolet;*/
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-cta-btn {
    height: 50px;
    min-width: 200px;
    max-width: 200px;
    margin: 50px auto 50px auto;
    /*padding: 10px 15px 10px 15px;*/
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    /*border: 1px solid var(--abundantBlue);*/
    border-radius: 50px 50px 50px 0;
    color: var(--abundantWhite);
    background-color: var(--abundantRed);
    font-size: 130%;
    z-index: 1002;
}

.home-cta-btn:hover, .home-cta-btn:focus, .home-cta-btn:active {
    /*color: var(--abundantBlue);*/
    background-color: var(--abundantBlue);
}

#home-middle-div {
    /*background-color: green;*/
    color: var(--abundantBlue);
    will-change: transform;
    /*transform: translateY(-100px);*/
}

.down-arrow-div {
    /*background-color: yellow;*/
    position: fixed;
    height: 50px;
    width: 100%;
    /*margin-top: 170px;*/
    bottom: 5vh;
    z-index: 1002;
}

.down-arrow {
    /*background-color: blue;*/
    height: 25px;
    width: 35px;
    margin: 0 5% 0 auto;
    background-image: url("https://lifeabundantchurch.org/images/icons/down-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

#home-middle-text-div {
    /*background-color: pink;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-top: 50px solid rgba(128, 128, 128, 0);
    border-bottom: 50px solid rgba(128, 128, 128, 0);
}

#intro-text-div {
    /*background-color: saddlebrown;*/
    position: relative;
    background-color: var(--abundantBlue);
    color: var(--abundantWhite);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 80%;
    max-width: 400px;
    padding: 20px;
    margin: auto;
    cursor: pointer;
}

#intro-text-link {
    /*background-color: green;*/
    height: 200px;
    width: 100%;
    position: absolute;
}

.change-background-blue {
    animation: changeBackgroundBlue .5s ease-in forwards;
}

@keyframes changeBackgroundBlue {
    100% {
        background-color: rgba(128, 128, 128, .3);
    }
}

#home-middle-text-div h2 {
    border-top: 3px solid var(--abundantWhite);
    padding: 20px;
    text-align: center;
}

.line-decoration {
    background-image: url("https://lifeabundantchurch.org/images/lAc-map-marker1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    height: 25px;
    width: 25px;
    top: 4px;
    /*margin: 4px auto;*/
}

#home-intro-div {
    /*background-color: peachpuff;*/
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.intro-text {
    /*background-color: orange;*/
    width: 100%;
    font-size: 150%;
    line-height: 1.5;
    margin: 100px auto 0 auto;
}

.intro-text a {
    color: var(--abundantBlue);
    /*text-decoration: underline 3px solid var(--gold);*/
    font-style: italic;
    /*color: var(--gold);*/
}

.intro-text a:hover, .intro-text a:focus, .intro-text a:active {
    color: var(--abundantBlue);
    text-decoration: underline 2px solid var(--abundantRed);
}

#intro-img-container {
    /*background-color: yellow;*/
    display: flex;
    flex-wrap: wrap;
    flex-basis: 90%;
    max-width: 700px;
    margin: auto;
    width: 100%;
}

.intro-img {
    /*background-color: red;*/
    width: 20%;
    height: auto;
    aspect-ratio: 1/1;
    margin: 20px auto 0 auto;

}

.intro-img:nth-child(1) {
    transform: rotateZ(-30deg);
}

.intro-img:nth-child(2) {
    transform: rotateZ(-15deg);
}

.intro-img:nth-child(3) {
    transform: rotateZ(15deg);
}

.intro-img:nth-child(4) {
    transform: rotateZ(-15deg);
}

.intro-img:nth-child(5) {
    transform: rotateZ(15deg);
}

#intro-img-container .home-cta-btn {
    margin: 50px auto auto auto;
}

#sam-jodee-figure {
    /*background-color: red;*/
    /*flex-basis: 90%;*/
    /*max-width: 700px;*/
    margin: auto;
    opacity: 0;
}

#sam-jodee-caption {
    font-style: italic;
    font-size: 90%;
    text-align: center;
}

#home-videos-div {
    /*background-color: brown;*/
    min-height: 400px;
    width: 90%;
    max-width: 650px;
    margin: 50px auto 50px auto;
    display: flex;
    flex-wrap: wrap;
}

#video-text {
    /*background-color: orange;*/
    width: 100%;
    font-size: 150%;
    /*line-height: 1.5;*/
    text-align: center;
}

#video-cta-div {
    /*background-color: green;*/
    width: 100%;
    margin-bottom: 50px;
}

#home-videos-div a {
    height: fit-content;
    min-height: 50px;
    min-width: fit-content;
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    text-decoration: none;
    /*border: 1px solid var(--abundantBlue);*/
    border-radius: 50px 50px 50px 0;
    color: var(--abundantBlue);
    background-color: var(--gold);
    font-size: 130%;
}

#home-videos-div a:hover, #home-videos-div a:focus, #home-videos-div a:active {
    color: var(--abundantWhite);
    background-color: var(--abundantBlue);
}

.home-video {
    /*background-color: yellow;*/
    max-width: 300px;
    margin: 0 auto 20px auto;
}

.video-thumbnail {
    height: 100%;
    width: 100%;
}

#home-lower-div {
    /*background-color: orange;*/
    width: 100%;
    display: flex;
}

#mission-statement-div {
    background-color: rgba(0, 0, 102, 0.8);
    flex-basis: 80%;
    height: 200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: var(--abundantWhite);
    padding: 10px;
    border-radius: 10px;
}

#mission-statement-div h3 {
    /*background-color: orangered;*/
    width: 90%;
    max-width: fit-content;
    height: fit-content;
    /*font-weight: lighter;*/
    font-size: 150%;
    margin-left: 5%;
    padding-bottom: 15px;
    padding-top: 5px;
    border-bottom: 2px solid var(--abundantRed);
}

#mission-statement-div h3 span {
    color: var(--abundantRed);
    white-space: nowrap;
    font-weight: lighter;
    text-transform: uppercase;
}

.mission-statement {
    /*background-color: burlywood;*/
    flex-basis: 30%;
    margin: auto;
    font-size: 150%;
    font-weight: bolder;
    text-align: center;
}

.love-words {
    color: var(--abundantRed);
}

#mission-icon-div {
    /*background-color: skyblue;*/
    width: 100%;
    display: flex;
}

.mission-icon {
    /*background-color: yellow;*/
    height: 50px;
    width: 50px;
    margin: auto;
}

.mission-icon:nth-of-type(1) {
    background-image: url("https://lifeabundantchurch.org/images/icons/icon-white-god.svg");
}

.mission-icon:nth-of-type(2) {
    background-image: url("https://lifeabundantchurch.org/images/icons/icon-white-you.svg");
}

.mission-icon:nth-of-type(3) {
    background-image: url("https://lifeabundantchurch.org/images/icons/icon-white-me.svg");
}


/***********************************/
/*ministries page*/
/***********************************/
.lAc-ministries {
    background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-blue.svg");
    background-size: cover;
}

#ministry-div-container {
    /*background-color: lightsalmon;*/
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px auto;
}

.ministry-card-wrapper {
    /*background-color: yellow;*/
    flex-basis: 20%;
    margin: auto;
    padding: 25px;
    min-width: 250px;
}

.ministry-card {
    /*background-color: #ffffff;*/
    background-color: rgba(0, 0, 102, .8);
    min-height: 180px;
    border: 2px solid var(--abundantWhite);
    border-radius: 12px;
    margin: auto;
    padding: 2rem;
    text-align: center;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);*/
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ministry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.ministry-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ministry-sunday {
    background-image: url('https://lifeabundantchurch.org/images/icons/icon-red-church.svg') !important;
}

.ministry-breakfast {
    background-image: url('https://lifeabundantchurch.org/images/icons/icon-red-breakfast.svg');
}

.ministry-bible {
    background-image: url('https://lifeabundantchurch.org/images/icons/icon-red-bible.svg');
}

.ministry-charity {
    background-image: url('https://lifeabundantchurch.org/images/icons/icon-red-hands.svg');
}

.ministry-travel {
    background-image: url('https://lifeabundantchurch.org/images/icons/icon-red-travel.svg');
}

.ministry-card .title {
    /*background-color: orangered;*/
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--abundantWhite);
}

.button {
    display: inline-block;
    background-color: var(--abundantRed);
    /*background-color: var(--abundantGray);*/
    color: var(--abundantWhite);
    padding: 0.75em 1.25em;
    border-radius: 50px 50px 50px 0;
    text-decoration: none;
    font-weight: bolder;
    transition: background-color 0.2s ease;
}

.button:hover, .button:focus, .button:active {
    background-color: var(--abundantBlue);
}

.details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
    color: var(--abundantWhite);
}

.details li {
    margin-bottom: 0.25rem;
}

.ministry-point {
    font-size: 150%;
    color: var(--abundantBlue);
    text-align: center;
    padding-top: 20px;
}


/***********************************/
/*bible study page*/
/***********************************/
.ministry-content {
    /*background-color: blue;*/
    margin-bottom: 150px;
    color: var(--abundantBlue);
    font-size: 150%;
}

.ministry-section {
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    margin: 150px auto 0 auto;
}

.ministry-heading {
    margin-bottom: 1rem;
}

.ministry-intro {
    margin-bottom: 1rem;
}

.ministry-description {
    margin-bottom: 1rem;
}

.ministry-details {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.ministry-details p {
    margin: 1rem 0;
}

.ministry-address {
    font-style: normal;
    line-height: 1.5;
    margin-left: 150px;
    margin-bottom: -1em;
    transform: translateY(-3rem);
}

.no-wrap {
    white-space: nowrap;
}

.ministry-invitation {

}

.ministry-detail-link {
    padding: 3px 15px;
    font-size: .8em;
    margin-top: 1em;
    text-align: center;
    margin-right: 2rem;
}

.back-to-ministries-btn {
    position: absolute;
    left: 50%;
    min-width: 170px;
    margin-top: 100px;
    transform: translateX(-50%);
    border-radius: 50px 50px 50px 0;
    font-size: 1.2rem;
    text-align: center;
}


/***********************************/
/*our story page*/
/***********************************/
.lAc-our-story {
    background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-yellow.svg");
    background-size: cover;
}

#our-story-upper-div {
    /*background-color: green;*/
    /*background-color: var(--abundantWhite);*/
    min-height: 100vh;
    width: 100%;
    /*background-image: url("/images/test_backgrounds/hands1.webp");*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
}

.our-story-page h1, .our-story-page h2 {
    color: var(--abundantBlue);
}

#our-story-upper-div p {
    /*background-color: black;*/
    color: var(--abundantBlue);
    text-align: left;
    font-size: 150%;
    line-height: 1.2;
    width: 90%;
    max-width: 900px;
}


/***********************************/
/*news page*/
/***********************************/
.lac-news {
    background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-blue.svg");
    background-size: cover;
}

#news-upper-div {
    min-height: 100vh;
    /*background-image: url("/images/test_backgrounds/light-cork1.webp");*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
}

#news-upper-div h1, #news-upper-div h2 {
    color: var(--abundantBlue);
}

.church-bulletin {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: var(--abundantBlue);
    font-size: 130%;
}

.church-bulletin .intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--abundantBlue);
}

.announcement-list {
    list-style: none;
    /*padding: 0;*/
    /*margin: 0;*/
}

.announcement-list li {
    padding: 2rem 0;
    border-bottom: 1px solid var(--abundantBlue);
    line-height: 1.2;
}

.announcement-list li:last-child {
    border-bottom: none;
}

/*tags are used in multiple places*/
.tag {
    display: inline-block;
    font-weight: bolder;
    color: var(--abundantWhite);
    padding: 0.25em 0.6em;
    border-radius: 5px;
    margin-right: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag.announcement {
    background-color: var(--abundantBlue);
}

.tag.update {
    background-color: #38a169;
}

.tag.prayer {
    background-color: #805ad5;
}

.tag.reminder {
    background-color: #dd6b20;
}

.tag.celebration {
    background-color: #2b6cb0;
}

.tag.mission {
    background-color: #e53e3e;
}

.tag.event {
    color: black;
    background-color: var(--gold);
}

.tag.choose-new {
    /*color: black;*/
    background-color: #595959;
    cursor: pointer;
}

.announcement-list a {
    color: #2b6cb0;
    text-decoration: underline;
    font-weight: 500;
}

.announcement-list a:hover {
    text-decoration: none;
}


/***********************************/
/*contact page*/
/***********************************/
.lac-contact {
    background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-blue.svg");
    background-size: cover;
    background-color: var(--abundantWhite);
}

#contact-upper-div {
    /*background-color: orange;*/
    color: var(--abundantBlue);
    position: relative;
    height: fit-content;
}

.page-greeting {
    /*background-color: blue;*/
    width: 90%;
    max-width: 800px;
    margin: 50px auto 50px auto;
    text-align: center;
    border-top: 3px solid var(--abundantBlue);
    border-bottom: 3px solid var(--abundantBlue);
    padding: 2em 0;
    font-size: 150%;
}

#contact-info-div {
    /*background-color: greenyellow;*/
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.contact-div {
    /*background-color: greenyellow;*/
    background-color: rgba(204, 51, 51, .8);
    /*border: 1px solid var(--gold);*/
    border-radius: 10px;
    width: 90%;
    max-width: 250px;
    max-height: 200px;
    min-height: 200px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 120%;
    line-height: 1.5;
    padding: 2rem;
}

.contact-div h4 {
    color: var(--gold);
    /*padding-top: 10px;*/
    font-size: 120%;

}

.contact-div address {
    /*padding: 10px;*/
    color: var(--abundantWhite);
}

.contact-div a {
    color: var(--gold);
    text-decoration: underline 2px solid var(--abundantWhite);
}

.contact-div a:hover, .contact-div a:focus, .contact-div a:active {
    color: var(--gold);
    text-decoration: underline 2px solid var(--abundantBlue);
}

#map-container {
    /*background-color: red;*/
    flex-basis: 90%;
    max-width: 1000px;
    margin: 50px auto 100px;
}

#map-container h4 {
    /*background-color: lightsalmon;*/
    font-size: 150%;
    padding-bottom: 20px;
    text-align: center;
    font-weight: normal;
}

#map-contact {
    /*background-color: greenyellow;*/
    height: 400px;
    width: 100%;
}


/*************************************/
/*leadership pages*/
/*************************************/
.page-message {
    /*background-color: yellow;*/
    width: 90%;
    max-width: 500px;
    color: var(--abundantWhite);
    text-align: center;
    font-weight: lighter;
    margin: 100px auto;
}


/*************************************/
/*pastor page*/
/*************************************/
#pastor-upper-div {
    /*background-color: navajowhite;*/
    min-height: 250px;
}

#pastor-middle-div {
    /*background-color: orange;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

#pastor-headshot-div {
    /*background-color: yellow;*/
    min-width: 250px;
    width: 90%;
    max-width: 400px;
    margin: auto;
}

.bio-img {
    max-width: 100%;
    height: auto;
}

#pastor-headshot-div figcaption {
    margin-left: 8px;
    max-width: 350px;
    /*width: calc(100% - 8px);*/
}

.pastor-bio {
    /*background-color: green;*/
    font-size: 150%;
    width: 90%;
    max-width: 800px;
    margin: auto auto 50px auto;
}

.pastor-bio h3 {
    color: var(--abundantBlue)
}

.pastor-bio p {
    color: #4a5568; /* Slightly lighter text for description */
    margin-bottom: 2rem;
}

.bio-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bio-list li {
    line-height: 1.8;
    margin: 0.8rem 0;
    position: relative;
    padding-left: 25px;
}

.bio-list li::before {
    content: "\2022"; /* Unicode for bullet point */
    color: #2b6cb0; /* Blue bullet */
    position: absolute; /*to keep the bullets all the way left*/
    left: 0;
    top: 0;
}

#pastor-lower-div {
    overflow: hidden; /*to control for the images rotateZ()*/
}

.bio-gallery-container {
    /*background-color: red;*/
    position: relative;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin: 20px auto;
}

.bio-gallery-img {
    /*background-color: yellow;*/
    max-width: 100%;
    height: auto;
}


/*******************************/
/*footer*/
/*******************************/
footer {
    /*background-color: khaki;*/
    width: 100%;
    /*min-height: 70vh;*/
    display: flex;
    flex-direction: column;
}

#footer-menu {
    /*background-color: green;*/
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /*height: 100%;*/
    margin-top: auto;
    margin-bottom: 50px;
}

.footer-section {
    /*background-color: yellow;*/
    /*min-height: 200px;*/
    display: flex;
    margin: 0 auto;
    padding: 0 20px;
    flex-direction: column;
    justify-content: center;
}

#footer-address {
    /*background-color: yellowgreen;*/
    color: var(--abundantBlue);
}

.footer-btn {
    /*background-color: #ffcc33;*/
    width: fit-content;
    color: var(--abundantBlue);
    margin: 10px auto;
    font-size: 150%;
    text-align: center;
    text-decoration: none;
    /*opacity: 70%;*/
    line-height: 1.5em;
}


.footer-social {
    /*background-color: springgreen;*/
    width: 100%;
    max-width: 40px;
    max-height: 40px;
    opacity: 1;
    margin: auto;
    transition: transform .3s ease-in-out;
}

.footer-social:hover, .footer-social:focus, .footer-social:active {
    transform: scale(1.1) rotateZ(360deg);
}

#footer-menu a:hover, #footer-menu a:focus, #footer-menu a:active {
    /*opacity: 1;*/
    /*color: var(--abundantRed);*/
    text-decoration: underline 2px solid var(--abundantRed);
}

.active-footer-btn {
    pointer-events: none;
    color: var(--abundantGray);
    text-decoration: none;
    opacity: 1;
}

#footer-menu-3 address {
    /*background-color: peru;*/
    line-height: 2em;
}

.sign-in-button {
    width: 70px;
    margin-top: 20px;
    margin-bottom: 10px;
    /*center the button*/
    margin-left: calc(50% - 35px);
    padding: 5px;
    border-radius: 5px;
    border: none;
    background-color: var(--abundantBlue);
    color: var(--abundantWhite);
    cursor: pointer;
}

.sign-in-button:hover, .sign-in-button:focus, .sign-in-button:active {
    background-color: var(--abundantRed);
}

#page-bottom {
    /*background-color: fuchsia;*/
    /*width: 100vw;*/
    height: calc(75px + 1em);
    /*height: calc(100px + 1em);*/
    /*height: 200vw;*/
    /*margin-top: auto;*/
    /*margin-bottom: 0;*/
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    /*background-image: url("/images/Life-Abundant-Footer-Design-01.svg");*/
    /*background-size: contain;*/
    /*background-repeat: no-repeat;*/
    /*background-position: bottom;*/
    /*background-position: center;*/
}

#page-bottom img {
    /*background-color: yellow;*/
    position: absolute;
    height: 75px;
    width: 75px;
    transform: translateY(-1em); /*to position above copyright*/
}

#copyright-text {
    /*background-color: yellow;*/
    width: 100%;
    height: 1em;
    text-align: center;
}

#page-bottom span {
    /*font-weight: bold;*/
    font-weight: lighter;
}

/***************************/
/******GIVE PAGE********/
/***************************/
.lac-give{
        background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-blue.svg");
        background-size: cover;
}
#give-upper-div {
    /*background-color: yellow;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#payments-div {
    /*background-color: red;*/
    width: 90%;
    padding: 10px;
}

#payment-heading-div {
    /*background-color: hotpink;*/
    max-width: 800px;
    padding: 0 5%;
    font-size: 150%;
    display: flex;
    flex-direction: column;
    margin: auto;
}
#payment-heading-div h3{
    /*background-color: red;*/
    padding-bottom: 20px;
    color: var(--abundantRed);
    text-align: center;
}
#payment-heart-icon{
    /*background-color: brown;*/
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}
#payment-types-div {
    /*background-color: green;*/
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-icon {
    /*background-color: tan;*/
    height: 80px;
    max-width: 80%;
    aspect-ratio: 1686 / 409;
    margin: 50px auto;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#givelify-link {
    background-image: url("https://lifeabundantchurch.org/images/icons/payment-givelify.webp");
}

#paypal-link {
    background-image: url("https://lifeabundantchurch.org/images/icons/payment-paypal.webp");
}

#cash-app-link {
    background-image: url("https://lifeabundantchurch.org/images/icons/payment-cashapp.webp");
}


/***************************/
/******POPUP FORM ITEMS********/
/***************************/
.popup-container {
    background-color: var(--abundantGray);
    position: absolute;
    height: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 130%;
    z-index: 9999;
}

.popup-backdrop {
    background-color: var(--abundantGray);
    backdrop-filter: blur(3px);
    position: fixed;
    height: 100%;
    width: 100%;
}

.popup-form-div {
    background-color: var(--abundantWhite);
    position: fixed;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
}

.popup-instruction {
    background-color: white;
    /*max-width: 80%;*/
    padding: 10px;
    text-align: center;
    font-size: 80%;
    line-height: 1.5;
    margin: auto;
    border-radius: 10px 10px 0 0;
}

.popup-form {
    /*background-color: blue;*/
    display: flex;
    flex-direction: column;
    padding: 20px;
}

form input {
    /*background-color: orangered;*/
    font-size: 100%;
    margin-bottom: 20px;
}

.form-btn {
    background-color: var(--abundantBlue);
    color: var(--abundantWhite);
    height: 40px;
    width: 130px;
    padding: 10px;
    margin: 20px auto 0 auto;
    border: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.form-btn:hover, .form-btn:focus, .form-btn:active {
    background-color: var(--abundantRed);
}

.tag-popup {
    background-color: var(--abundantWhite);
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    padding: 20px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.tag-popup ul {
    list-style: none;
    /*padding: 0;*/
}

.tag-popup li {
    margin-bottom: 8px;
    cursor: pointer;
}

.tag-popup li:hover {
    /*background-color: #f0f0f0;*/
}

.tagEditBackground {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}


/************************************/
/*admin announcements and editor**********/
/************************************/
#admin-page {
    background-image: url("https://lifeabundantchurch.org/images/backgrounds/landscape-red.svg");
    background-size: cover;
    width: 100%;
    opacity: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#idle-warning {
    background: var(--abundantWhite);
    max-width: 300px;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);

    flex-direction: column;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-align: center;
    display: none;
}

#idle-warning-backdrop {
    display: none;
}

#idle-countdown span {
    color: var(--abundantRed);
}

.ann-edit-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    margin: auto;
}

#add-new-container {
    background-color: var(--abundantGray);
    /*color: white;*/
    border-radius: 10px;
    margin: 50px auto;
}

.tag.annTypeBtn {
    cursor: pointer;
}

.ann-edit-section-heading {
    /*color: var(--abundantRed);*/
    /*font-size: 200%;*/
    margin: -20px -20px 20px -20px;
    padding: 10px;
    background-color: rgba(0, 0, 102, .8);
    color: var(--abundantWhite);
    border-radius: 10px 10px 0 0;
}

.admin-btn {
    background-color: #333333;
    color: var(--abundantWhite);
    width: 130px;
    padding: 5px;
    border-radius: 5px;
    margin: 5px auto;
}

.admin-btn:hover, .admin-btn:focus, .admin-btn:active {
    background-color: var(--abundantRed);
}

#add-new-form button, #ann-edit-form button {
    margin-bottom: 10px;
}

.ann-edit-content {
    width: 100%;
    height: 80px;
}

.announcement-edit {
    margin-bottom: 50px;
}

#edit-ann-container {
    background-color: var(--abundantGray);
    border-radius: 10px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
}


/*************************************/
/*keyframe animations*****************/
/*************************************/
.fade-in {
    animation: fadeIn var(--animationTime) ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

.fade-out {
    animation: fadeOut var(--animationTime) ease;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 100%;
    }
    100% {
        opacity: 0;
    }
}

@keyframes moveDown {
    0% {
        transform: translateY(200px);
    }
    100% {
        transform: translateY(0);
    }
}

/****************************************/
/*media queries*/
/****************************************/
@media only screen and (max-width: 1050px) {
    #pastor-headshot-div {
        margin: auto auto 50px auto;
    }

    #pastor-bio-div {
        margin: auto auto 50px auto;
        line-height: 2;
    }
}

@media only screen and (max-width: 775px) {
    /*hide horizontal nav menu*/
    #menu-btn-open {
        display: initial;
    }

    /*show mobile menu*/
    .big-nav-container {
        display: none;
    }

    .down-arrow-div {
        /*background-color: yellow;*/
        margin-top: 100px;
    }

    #logo-btn {
        /*background-color: yellow;*/
        max-width: 200px;
    }

    .nav-menu-container ul {
        /*background-color: orange;*/
        margin-top: 150px;
    }


}

@media only screen and (max-width: 615px) {
    #footer-address {
        font-size: 120%;
        margin-top: 50px;
    }

    .intro-img {
        /*position: absolute;*/
        /*transform: translate(50%, 50%);*/
        /*margin: 50%;*/
        width: 33.33%;
        /*width: 20%;*/
        /*height: auto;*/
        /*aspect-ratio: 1/1;*/
        /*margin: auto;*/

    }

    .intro-img:nth-child(3), .intro-img:nth-child(5) {
        display: none;
    }

}

@media only screen and (max-width: 515px) {
    .ministry-address {
        margin-left: 5%;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        transform: translateY(0);
    }

    .breakfast-fellowship address {
        /*font-style: normal;*/
        /*line-height: 1.5;*/
        margin: 0 0 1.5rem 5%;
        font-size: .9em;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 490px) {
    /*#verse {*/
    /*    flex-basis: 95%;*/
    /*    text-align: center;*/
    /*}*/
    /*footer address*/
    mark {
        font-size: 100%;
    }

    .gold-text, .gold-text-behind {
        font-size: 100%;
    }
}

@media only screen and (max-width: 430px) {
    .menu-item {
        /*background-color: hotpink;*/
        font-size: 200%;
    }

    .nav-links {
        /*background-color: sienna;*/
        margin-bottom: 35%;
    }
}

@media only screen and (max-width: 390px) {
    #home-lower-div {
        /*background-color: orange;*/
        margin-top: 100px;
    }

    @keyframes moveDown {
        0% {
            transform: translateY(200px);
        }
        100% {
            transform: translateY(150px);
        }
    }

    .love-static {
        /*background-color: rebeccapurple;*/
        font-size: 90%;
        font-weight: bold;
    }
}

@media only screen and (max-width: 385px) {
    .love-static {
        /*background-color: rebeccapurple;*/
        font-size: 90%;
        font-weight: bold;
        /*text-align: center;*/
        /*margin: 60px auto 0 auto;*/
        /*transform: scale(3);*/
        /*line-height: 1em;*/
    }
}

@media only screen and (max-height: 650px) {
    /*    .menu-item, .footer-btn {*/
    /*color: fuchsia;*/
    /*}*/
    @keyframes moveDown {
        0% {
            transform: translateY(200px);
        }
        100% {
            transform: translateY(150px);
        }
    }
}