html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.background-image {
    position: fixed;
    top: 60px; /* Adjust this value to match your header height */
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px); /* Subtract header height */
    object-fit: cover;
    z-index: -1;
}
.arrow-down {
    position: absolute;
    left: 50%;
    bottom: 10vh;
    transform: translateX(-50%);
    background: rgba(255,255,255,.2);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

    .arrow-down:hover {
        background: rgba(255,255,255,0.9);
    }

.arrow-icon {
    width: 24px;
    height: 24px;
    fill: #333;
}



/* Remove background from .non-content-section if you only want the image as the body background */
.non-content-section {
    background: none;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 60px 20px 40px 20px;
}

.content-section {
    background: rgb(168, 168, 168);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 60px 20px 40px 20px;
    box-sizing: border-box;
}
.scripture-row {
    min-height: 10vh;
    text-align: center;
    align-content: center;
    display: flex;
    flex-direction: row;
    margin-top: 2vh;
    margin-bottom: 2vh;
    box-sizing: border-box;
}

.map-row {
    min-height: 10vh;
    text-align: center;
    align-content: center;
    display: flex;
    flex-direction: row;
    margin-top: 2vh;
    margin-bottom: 2vh;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.section {
    scroll-snap-align: start;
    min-height: 100vh; /* Ensure each section fills the viewport */
    position: relative;
}

.section-1 {
    background: url('/Photos/Computer_Cover_Photo.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    padding-top: 60px;
}

.section-2 {
    background: #f5f5f5;
    min-height: 100vh;
}

.form-container {
    position: relative;
    width: 100%;
    margin-top: 5vh;
    height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content:center;
    text-align: center;
    /* Sunset gradient background: burnt orange (#CC5500) to light brown (#D2B48C) */
    background: linear-gradient(to bottom, rgb(243 183 69) 0%, rgb(149 93 35));
}

.form-container h1 {
    margin-bottom: 2rem; /* Space between h1 and iframe */
    margin-top: 2vh;
    z-index: 1;
}

    .form-container iframe {
        flex: 1 1 auto;
        position: relative;
        width: 100%;
        height: 100%;
        /*border-top: 2px solid #000;*/ /* Black border on top */
        /*border-bottom: 2px solid #000;*/ /* Black border on bottom */
        /*border-left: none;
        border-right: none;*/
        margin-top: 0;
        -ms-align-content: inherit;
        -webkit-align-content: inherit;
        align-content: inherit;
    }

@media (orientation: portrait) {
    .section-1 {
        /* Green-blue gradient background */
        background: url("/Photos/Phone_Cover_Photo.png");
        background-size: contain, cover;
        min-height: 100vh;
        padding-top: 60px;
    }

    .non-content-section {
        /* Overlay image on top of gradient */
/*        background:  url('/Photos/Vertical_Cover_Photo.png') no-repeat center center fixed;*/
        background:none;
        background-size: contain, cover;
        background-position: top center, center;
        padding: 80px 20px 40px 20px;
        height: auto;
    }
    .scripture-row {
        flex-direction: column !important;
    }

    .scripture-row > .col-4 {
        width: 100% !important;
        max-width: 100%;
    }

    .map-row {
        flex-direction: column !important;
    }

        .map-row > .col-4,
        .map-row > .col-8 {
            width: 100% !important;
            max-width: 100%;
            display: block !important;
            justify-content: initial !important;
            align-items: initial !important;
        }
}

@media (orientation: landscape) {
    .map-row > .col-4 {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

