div#main-content{
    width:calc(100vw - calc(var(--body-side-margin) * 2.0));
    height:fit-content;
}



div#main-content span#about-pastor {
    position: absolute;
    z-index: 1;
    background-color: rgb(0, 0, 0, 0.5);
    padding: 10vmin;
    font-size: 2rem;
    color: white;
    top: 20vh;
    /* border: black; */
    /* border-width: 10px; */
    /* border-color: black; */
    border-radius: 20px;
    font-family: sans-serif;
}

/*
img#pastor_img{
    height: 70vh;
    position: relative;
    width: auto;
    transform: rotate(10deg);
    padding-top: 6vh;
    left: 40vw;
}*/


body{
    background-color: rgb(178, 195, 211);
}


div#title-bar{
    display: flex;
}




/*TEMP*/

/*https://stackoverflow.com/questions/11660710/css-transition-fade-in*/
.fade-in {
    opacity: 0;
    transition: opacity 2s ease-out;
}

.fade-in-when-in-view{
    opacity: 1;
}


div#title-content {
    display:flex;
    align-items:center;
    padding-top: calc(2.0 * var(--navbar-height));
    justify-content: center;
    max-height: 100vh;
}
/*

img#pastor_img_tmp{
    height: 100%;
    position: relative;
    width: auto;
    max-width: 70vw;
    transform: rotate(0deg);
    border: 1rem solid white;
}

#about-text-container span{
    z-index: 1;
    padding: 10vmin;
    font-size: 5rem;
    color: white;
    border-radius:2vmin;
    height:fit-content;
    width: fit-content;
}

div#about-text-container {
    display:none;
    position: relative;
    width: 100%;
    display: flex;
    text-align: center;
    top: 20vh;
}

div#body-content{
    width: 100%;
    white-space: pre-line;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
}


#about-text-container-mobile{
    display: block;
    position: relative;
    width: 100%;
    display: flex;
    text-align: center;
    top: 20vh;
}


*/

.mobile{
    visibility: visible;
}

.desktop {
    visibility: hidden;
}


#about-text-container-desktop span{
    display: none;
    z-index: 1;
    background-color: rgb(32, 39, 137, 0.5);
    padding: 10vmin;
    font-size: 8rem;
    color: white;
    border-radius:2vmin;
    height:fit-content;
    width: fit-content;
}


div#tony-img-container{
    position: relative;
    display: inline-block;
    transform: rotate(0deg);
    height: fit-content;
}

span#tony-neal-img-text-desktop{
    display: none;
    font-size:6rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* bottom half of the image */
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

span#about-text-container-mobile{
    display: flex;
    font-size:5.7rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* bottom half of the image */
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

div#about-text-container {
    width:50%;
    display: flex;
    text-align: center;
}

img#pastor_img_tmp{
    height: auto;
    width: auto;
    display: block;
    position:static;
    max-width: 80vw;
    border: 1rem solid white;
    aspect-ratio: 543/1000;
}

div#body-content{
    width: 100%;
    margin-top: 10vh;
    white-space: pre-line;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
}







/* Desktop layout */

@media (min-width: 1300px) {
    #about-text-container-desktop span{
        display: block;
        z-index: 1;
        background-color: rgb(32, 39, 137, 0.5);
        padding: 10vmin;
        font-size: 8rem;
        color: white;
        border-radius:2vmin;
        height:fit-content;
        width: fit-content;
    }

    .mobile{
        visibility: hidden;
    }
    
    .desktop {
        visibility: visible;
    }

    div#tony-img-container{
        position: relative;
        display: inline-block;
        transform: rotate(10deg);
    }

    span#tony-neal-img-text-desktop{
        display: block;
        font-size:6rem;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%; /* bottom half of the image */
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
    }
    
    div#about-text-container {
        width:50%;
        display: flex;
        text-align: center;
    }

    img#pastor_img_tmp{
        height: 100%;
        width: auto;
        display: block;
        position:static;
        max-width: 70vw;
        border: 1rem solid white;
        aspect-ratio: 543/1000;
    }

    div#body-content{
        width: 100%;
        margin-top: 10vh;
        white-space: pre-line;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 2rem;
    }
}








.story-script-regular {
    font-family: "Story Script", sans-serif;
    font-weight: 400;
    font-style: normal;
}