@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@700&display=swap');

* {
    margin: 0px;
    padding: 0px;
}

body, nav{
    display: block;
    /*font-family: 'Righteous', cursive;*/
    font-family: 'Nanum Myeongjo', serif;
    font-size: 18px;
    margin-top: 40px;
}

@media (max-width: 1180px){
    body, nav{
        margin-top: 0;
    }
}
@media (max-width: 600px){
    body, nav{
        margin-top: 0;
    }
}

body{
    background-color: white;
    color: black;
}

#prima{
    font-size: 3em;
    line-height: 1;
}

#secundo{
    font-size: 1.6em;
    font-weight: bolder;
}

#tertius{
    font-size: 1.7em;
}
.bordered_paragraph{
    padding: 5px;
    border-width:1px;
    border-style:solid; 
    border-color: black;
}

.no-scroll{
    overflow: hidden;
}

/************************Splash Screen Start***************************************/
/*@keyframes glow {
    0% { box-shadow: 0 0 -28px 20px gold; }
    40% { box-shadow: 0 0 45px 20px gold; }
    60% { box-shadow: 0 0 45px 20px gold; }
    100% { box-shadow: 0 0 -48px 20px gold; }
  }
  .little-star {
    background-color: gold;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    height: 20px;
    width: 20px;
    animation: glow 5s infinite;
  }*/

header{
    position: relative;
    left: 0;
    top: 0;
    width: 1005;
    height: 80px;
    box-sizing: border;
}

header h4{
    border: 1px solid black;
    position: absolute;
    left: 10%;
    font-size: 1.6rem;
}

/*Splash Screen*/

.intro{
    text-align: center;
    position: fixed;
    z-index: 1;
    left:0;
    top:0;
    width: 100%;
    height: 100vh;
    background: url("images/open_spaces_sedona.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;
    margin-left: auto;
    margin-right: auto;
    transition: .12s;
    -webkit-transition: .12s;
    -moz-transition: .12s;
    -ms-transition: .12s;
    -o-transition: .12s;
}

.intro.active{
    opacity: 1;
    transition: ease-in-out .8s;
    -webkit-transition: ease-in-out .8s;
    -moz-transition: ease-in-out .8s;
    -ms-transition: ease-in-out .8s;
    -o-transition: ease-in-out .8s;
}



.logo-header{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    color: black;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 100%);
    padding: 20px;
}

.logo-header img{
    margin: 0 auto;
    width: 100%;
}
.logo-header span{
    margin: 0 auto;
    text-align: center;
}

.splash-logo{
    position: relative;
    display: inline-block;
    bottom: -20px;
    opacity: 0;
}

.splash-logo.active{
    bottom: 0;
    opacity: 1;
    transition: ease-in-out .8s;
    -webkit-transition: ease-in-out .8s;
    -moz-transition: ease-in-out .8s;
    -ms-transition: ease-in-out .8s;
    -o-transition: ease-in-out .8s;
}

.splash-logo.fade{
    bottom: 150px;
    opacity: 0;
    transition: ease-in-out .8s;
    -webkit-transition: ease-in-out .8s;
    -moz-transition: ease-in-out .8s;
    -ms-transition: ease-in-out .8s;
    -o-transition: ease-in-out .8s;
}

.post_animated{
    display: hide;
}

@media (max-width: 1180px){
    .logo-header img{
        width: 100%;
    }
    
    .logo-header span{
        font-size: .5em;
    }
}
/************************Splash Screen End***************************************/


/*
*Main elements here relate to the index/main page layout
*Navigation bar, contents, and other items
*Many of the elements may be reused in other pages in order to keep a consistent theme
*Across the whole site*/


/************************Dynamic NavBar***************************************/

nav{
    width: 100%;
    height: 90px;
    background: transparent;
    z-index: 2;
}

nav img{
    margin-top: 10px;
    width:28%;
    left: 10px;
    position: absolute;
    top:8px;
    padding-left: 20px;
}

nav ul{
    float: right;
    margin-right: 25px;
    list-style: none;
    text-decoration: none;
}
nav ul li{
    display: inline-block;
    line-height: 100px;
    margin: 0 15px;
}

nav ul li a{
    position: relative;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    padding: 5px 0;
    list-style: none;
    text-decoration: none;
}

nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: black;
    transform-origin: right;
    transition: transform .4s linear;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transition: transform .4s linear;
    -moz-transition: transform .4s linear;
    -ms-transition: transform .4s linear;
    -o-transition: transform .4s linear;
}

nav ul li a:hover:before{
    transform: scale(1);
    transform-origin: left;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

label #btn, label #cancel{
    color: black;
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#menu-font{
    margin-top: -40px;
    font-size: 10px;
}

#check{
    display: none;
}


/*Might have to rework surface pro side and ipad air*/

@media (max-width: 1180px){
    nav{
        margin-top: 8px;
        margin-bottom: 0;
    }
    nav img{
        padding-left: 0;
    }
    nav img, nav ul{
        margin: 0;
    }
    nav hr{
        display: none;
    }
    .col p{
        padding: 0;
    }

    nav img{
        position: absolute;
        top: 14px;
        width: 250px;
        margin-left: 1%;
    }
    label #btn, label{
        display: block;
    }
    label #btn, label #cancel{
        padding-top: 0;
        margin-right: 20px;
    }
    nav ul{
        flex-direction: column;
        justify-content: start;
        z-index: 2;
        position: absolute;
        width: 100%;
        height:100vh;
        background: white;
        top: 95px;
        left: -100%;
        text-align: right;
        transition: all .5s;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s;
        border-bottom: none;
        padding: 0;
    }
    nav ul li{
        display: block;
        margin: 40px;
        line-height: 30px;
    }

    nav ul li a{
        font-size: 20px;
    }

    #check:checked ~ul{
        left: 0;
    }
    #check:checked ~ label #btn{
        display: none;
    }
    #check:checked ~ label #cancel{
        overflow: hidden;
        display: block;
    }
}

@media (max-height: 420px){
    nav ul li{
        margin: 20px;
    }
}

/****************************Dynamic Navbar End******************************/







/****************************DynamicFooter Start******************************/


footer{
    position:relative;
    width: 100%;
    bottom: 0;
    background: white;
    /*background: linear-gradient(to right, #404040, #fff);*/
    color: black;
    padding: 100px 0 30px;
    /*border-top-left-radius: 125px;*/
    font-size: 15px;
}

.row{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content:space-between;
}
.email_ID{
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

.col{
    margin-left: 5%;
    flex-basis: 35%;
    padding: 10px;
    line-height: 1.5;
}
.col a{
    color: black;
    text-decoration: none
}
.col:nth-child(2), .col:nth-child(3){
    flex-basis: 20%;
}

.logo{
    width: 80px;
    margin-bottom: 30px;
}

.col h3{
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}

.col ul li{
    list-style-type: none;
    margin-bottom: 20px;
}

.col ul li a{
    text-decoration: none;
    color: black;
}

.col img{
    background-repeat: no-repeat;
    background-size:contain;
    margin-top: -50px;
    background-position: center center;
    width: 30%;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.col h3{
    font-size: 1.5em;
}

hr{
    width: 100%;
    border: 0;
    border-bottom: 1px solid black;
    margin: 20px auto;
}

.copyright{
    text-align: center;
}

.underline{
    width: 100%;
    height: 5px;
    background-color: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left:0;
    overflow: hidden;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}


.underline span{
    width: 15px;
    height: 100%;
    background: black;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
    -webkit-animation: moving 2s linear infinite;
}

@keyframes moving{
    0%{
        left: -20px;

    }
    100%{
        left: 100%;
    }
}
@media(max-width: 1400px){
    .col:nth-child(2), .col:nth-child(3){
        flex-basis: 20%;
    }
    .col{
        flex-basis: 30%;
        padding: 10px;
    }
    .col img{
        width: 60%;
    }
}
@media (max-width: 700px)
{
    footer{
        bottom: unset;
    }
    .col{
        flex-basis: 100%;
        margin: 0 auto;
    }
    .col:nth-child(2), .col:nth-child(3){
        flex-basis: 100%;
    }
    .row{
        width: 93%;
    }
    .col img{
        width: 60%;
    }
}


/****************************DynamicFooter End******************************/


/******************************Main Page Content****************************/

.grid-container{
    margin-top: 130px;
    display: grid;
    /*Sets how many columns, and the size of them, fr is a fractional unit*/
    grid-template-columns: repeat(3, 1fr);
    /*Automatically sets size of rows, with min of 300px, and auto max*/
    grid-auto-rows: minmax(10px, auto);
    /*Sets both row and column gap*/
    justify-content:center;
    align-content: center;
    width: 100%;
}

#spiritualCard{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    margin: 15% auto;
    padding: 20px 40px;
    background-color: white;
    font-size: .8em;
    line-height: 24px;
    opacity: .82;
}
#spiritualCard h1{
    line-height: 1.1;
}
#spiritualCard a{
    color: white;
    text-decoration: none;
}
#spiritualCard button{
    background-color: black;
    width: 42%;
    padding: 9px 0;
    color: white;
    font-size: 1.6em;
}
.welcome-item{
    justify-items: center;
    margin-top: 1%;
    background:  url(images/open_spaces_sedona.jpg) no-repeat bottom center fixed;
    background-size:cover;
    height:100vh;
    width: 100%;
    grid-column: 1/-1;
}

[class*="grid-item"]{
    margin: 0 10%;
    width: 100%;
}
.grid-item-1{
    min-height: 34vh;
}
.grid-container p{
    font-size: 1.17em;
}
#desktop{
    display: block;
}
#mobile{
    display: none;
}

#nav, #footer{
    grid-column: 1/-1;
}

@media (max-width: 1180px){
    .grid-container{
        margin-top: 0;
    }
    .welcome-item{
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
    #spiritualCard{
        width: 35%;
        padding: 10px 25px;
        margin: 30% auto;
        font-size: .65em;
        line-height: 18px;
    }
    #spiritualCard button{
        width: 50%;
        font-size: 1.2em;
    }
    #desktop{
        display: none;
    }
    #mobile{
        display: block;
    }
}

@media (max-width: 600px){
    .grid-container{
        margin-top: 0;
    }
    #spiritualCard{
        width: 70%;
        padding: 10px 25px;
        margin: 40% auto;
        font-size: .65em;
        line-height: 18px;
    }
    #spiritualCard button{
        width: 50%;
        font-size: 1.2em;
    }
    .welcome-item{
        margin-top: 0;
        display: block;
        background-size: cover;
        background-position:right 40% top 30px;
        height: 100vh;

    }
    [class*="grid-item"] {
        width: 90%;
        grid-column: 1/-1;
        text-align: justify;
        margin: 0;
        margin: 0 5%;
    }
    .grid-item-1 h2{
        margin-bottom: 30px;
    }
    #desktop{
        display: none;
    }
    #mobile{
        display: block;
    }
    .grid-item-2{
        min-height: 20vh;
    }

}


@media (max-height: 420px){
    #spiritualCard{
        width: 70%;
        padding: 10px 25px;
        margin: 10% auto;
        font-size: .65em;
        line-height: 18px;
    }
}


/******************************Main Page End****************************/


/******************************About Page Content****************************/
.about-grid{
    margin-top: 140px;
    display: grid;
    /*Sets how many columns, and the size of them, fr is a fractional unit*/
    grid-template-columns: 1fr;
    /*Automatically sets size of rows, with min of 300px, and auto max*/
    grid-auto-rows: minmax(0, auto);
    /*Sets both row and column gap*/
    justify-content:center;
    align-content: center;
    width: 100%;
}

.about-item-1 h2{
    padding-bottom: 40px;
}

[class*="about-item-"] h2{
    text-align: center;
}
.about-item-2 {
    border-top: 1px solid black;
    background-color:#fbfbfb;
}
.about-item-2 a{
    text-decoration: none;
    color: black;
}

[class*="about-item"]{
    width: 50%;
    margin: 0 auto;
    line-height: 1.9;
    opacity: .9;
    padding: 20px;
}
[class*="about-item"] img{
    width: 70%;
}
.about-item-1{
    margin-bottom: 0;
    padding-bottom: 0;
}

#upper-border{
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

#lower-border{
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}


@media (max-width: 1200px){
    [class*="about-item"]{
        grid-column: 1/-1;
        width: 80%;

    }
}

@media (max-width: 600px){
    .about-grid{
        margin-top: 15%;
    }
    [class*="about-item"]{
        grid-column: 1/-1;
        width: 80%;
        margin: 0;
        margin: 0 5%;
    }
    .about-item-2{
        margin-bottom: 120px;
    }
}
/******************************About Page End****************************/






/******************************Spiritual Direction Page Content****************************/



.spiritual-grid{
    display: grid;
    /*Setshowmanycolumns,andthesizeofthem,frisafractionalunit*/grid-template-columns: repeat(5, 1fr);
    /*Automaticallysetssizeofrows,withminof300px,andautomax*/grid-auto-rows: minmax(100px, auto);
    /*Setsbothrowandcolumngap*/justify-content:center;
    align-content: center;
    margin: 0 auto;
    width: 70%;

}
.spiritual-title{
    margin-top: 120px;
    grid-column: 1/-1;
    text-align: center;
    font-size: .8em;
    margin-bottom: 40px;
}

[class*="spiritual-item"]{
    width:fit-content;
    margin-top: 0;
    line-height: 2;
    background-color:#fbfbfb;
    opacity: .9;
    padding: 0 20px;
}

.indentedCrosses{
    padding: 0 4%;
    line-height: 2;
    list-style-type: disc;
}
.fa-circle{
    font-size: 8px;
}

.spiritual-item-1{

    grid-column: span 2;
}

.spiritual-item-2{
    grid-column: span 3;

}

.what-expect{
    margin-left: -40%;
    margin-right: 40%;
}

[class*="spiritual-item"] img{
    width: 90%;
    height: 12 vw;
}



@media (max-width: 1180px){
    [class*="spiritual-item"]{
        margin: 0;
        font-size: 16px;
    }
    [class*="spiritual-item"] img{
        width: 100%;
        height: 25vw;
        margin: 0 auto;
    }
    .spiritual-grid{
        width: 85%;
    }
    .spiritual-title{
        margin-top: 0;
    }
}
@media (max-width: 600px){
    .spiritual-grid{
        margin-top: 15%;
    }
    .what-expect{
        margin: 0;
    }
    [class*="spiritual-item"]{
        border-top: none;
        font-size: 16px;
        grid-column: 1/-1;
        width: 90%;
        margin: 0 2%;
    }
    [class*="spiritual-item"] img{
        width: 100%;
        height: 50vw;
    }
    .spiritual-item-1{
        border-top: 1px solid black;
    }
    .spiritual-grid{
        width: 85%;
    }
    .indentedCrosses{
        padding: 0 2%;
    }
}




/******************************Spiritual Direction Page End****************************/