/* Global styles */
*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html{
    font-family: 'Nunito', sans-serif;
    font-size: 10px;
    box-sizing: border-box;
}

a{
    text-decoration: none; 
 }

 ul{
    list-style: none;
}

p{
    font-size: 1.6rem;
}

img{
    width: 100%;
    max-width: 100%;
    height: auto;
}

section{
    padding: 5rem 0;
}

/* header */
header{
    width: 100%;
    height: 5rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.container{
    width: 100%;
    max-width: 98rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.nav-brand{
    width: 2rem;
}

.menu-icons i{
    font-size: 3.5rem;
    color: #fafafa;
    cursor: pointer; 
    /* pointer make it clickable */
}

.close i{
    color: #eb648c;
}

.nav-list{
    width: 25rem;
    height: 100vh;
    background-color: #d7d4ed;
    position: fixed;
    top: 0;
    right: -26rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    transition: all 650ms ease-in-out;
}

.nav-list.active{
    right: 0;
}

.close{
    position: absolute;
    top: 1rem;
    left: 1.5rem; 
 }

 .nav-item{
    margin: 1.5rem 0;
}

.nav-link{
    font-size: 1.6rem;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .7);
}

/* main */

/* section church */
.church{
    width: 100%;
    height: 80vh;
    background: linear-gradient(135deg, 
    rgba(49,24,131,0.9) 0%, 
    rgba(72,56,149,0.8) 100%), 
    url("images/church-bg.jpg") center no-repeat;
    background-size: cover;
    position: relative;
}

.church::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4.7rem;
    background: url("images/wave-small.png") center no-repeat;
    background-size: cover;
}

.main-message{
    width: 100%;
    max-width: 50rem;
    color: #fafafa;
    /* text-transform: uppercase; */
    transform: translateY(20%);
}

.main-message h3{
    font-size: 1.6rem;
    text-transform: uppercase;
}

.main-message h1{
    font-family: 'Aldrich', sans-serif;
    font-size: 4rem;
    margin: 1rem 0;
    text-transform: uppercase;
}

/* .main-message p{
    text-transform: lowercase;
} */

/* section content */
.content-message h1{
    color: #0a0a0a;
    font-size: 3rem;
}


/* section bottoms */
.bottoms{
    width: 100%;
    height: 80vh;
    background: linear-gradient(135deg, 
    rgba(49,24,131,0.9) 0%, 
    rgba(72,56,149,0.8) 100%), 
    url("images/bible-bg.jpg") center no-repeat;
    background-size: cover;
    position: relative;
}

.bottoms::before{
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 4.7rem;
    background: url("images/wave-small-reversed.png") center no-repeat fixed;
    background-size: cover;
    
}

.bottom{
    width: 100%;
    color: #fafafa;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.bottom-text-box{
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.bottom-text-box i{
    position: absolute;
    top: -8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: #eb648c;
    opacity: 0.5;
    z-index: -1;
}

.bottom-customer img{
    width: 10rem;
    height: 10rem;
    border-radius: 100%;
    border: 3px solid #eb648c;
}



/* footer */
footer{
    padding: 2.5rem 0;
    background-color: #d7d4ed;
    text-align: center;
    color: rgba(0, 0, 0, 0.7);
    /* bottom: 0;
    position: absolute;
    width: 100%; */
}



/* Media queries */
@media screen and (min-width: 350px){
    .main-message{
        transform: translateY(40%);
    }
}

@media screen and (min-width: 470px){
    .church::before{
        height: 9.4rem;
        background: url("images/wave-medium.png");
        background-size: cover;
    }

    .bottoms::before{
        height: 9.4rem;
        background: url("images/wave-medium-reversed.png");
        background-size: cover;
    }
}

@media screen and (min-width: 700px) {
    
    header{
        height: 8rem;
    }

    .nav-brand{
        width: 3.5rem;
    }

    .nav-list{
        width: initial;
        height: initial;
        background-color: transparent;
        position: initial;
        top: initial;
        right: initial;
        display: flex;
        flex-direction: row;
        transition: initial;
    }

    .menu-icons{
        display: none;
    }

    .nav-item{
        margin: 0 2.5rem;
    }

   .nav-link,
   .current{
       color: #fafafa;
       position: relative;
       font-size: 1.3rem;
   }

   .nav-link::before, 
   .current::before{
       content: "";
       position: absolute;
       left: 0;
       bottom: -.5rem;
       background-color: #eb648c;
       width: 100%;
       height: 2px;
       transform: scaleX(0);
       transform-origin: center;
       transition: transform 650ms;
   }

   .current::before{
       transform: scaleX(1);
   }

   .nav-link:hover::before{
       transform: scaleX(1);
   }

   .church{
       height: 60vh;
   }

   .main-message{
       transform: translateY(60%);
   }

   .title-heading{
       font-size: 2.5rem;
   }
}

@media screen and (min-width: 950px){

    .church::before{
        height: 20.7rem;
        background: url("images/wave-large.png");
        background-size: cover;
    }

    .bottoms::before{
        height: 22.7rem;
        background: url("images/wave-large-reversed.png");
        background-size: cover;
    }
}

@media screen and (min-width: 1200px){

    .church{
        height: 75vh;
    }
}
