@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,600&display=swap');

:root{
    --yellow: #fff200;
    --golden:#FFD700;
    --orange: #d15701;
    --grey:#444;
    --silver:#C0C0C0;
    --mettalic:#0A7E8C;
    --dark-orange: #FFA500;
    --light-green: #39b54a;
    --green: #006738;
    --black: #111;
    --white:#fff;
    --light-grey:#D3D3D3;
    --light-color:#aaa;
    --border: .2rem solid var(--light-grey);
    --box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

*{
    font-family: 'Open Sans', sans-serif;
    margin: 0;padding: 0;
    box-sizing: border-box;
    outline: none;border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html{
    font-size: 65.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 9rem;
}

html::-webkit-scrollbar{
    width: 1rem;
}

html::-webkit-scrollbar-track{
    background: var(--black);
}

html::-webkit-scrollbar-thumb{
    background: var(--green);
}

body{
    /* background: url(../images/background.jpg);
    background-position: center;
    background-size:cover; */
    background: var(--white);
    overflow-x:hidden ;
}

.header .header-1{
    background: #fff;
    padding: 1rem 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 13vh;
}

.header .header-1 .share{
    padding: 1rem 0;
    text-align: center;
}

.header .header-1 .share{
    height: 3rem;
    width: 3rem;
    line-height: 3rem;
    font-size: 1.5rem;
    color: #fff;
    background: var(--navy-blue);
    margin: 0 .3rem;
    border-radius: 50%;
}

.header .header-1 .share a:hover{
    background: var(--grey);
}

.header .header-1 .logo{
    width: 100%;
    height: 30rem;
}

.header .header-1 .logo i{
    color: var(--navy-blue);
}

.header .header-1 .icons a{
    font-size: 1.5rem;
    margin-left: 1.5rem;
    color: var(--grey);
    cursor: pointer;
    text-transform: none;
}

.header .header-1 .icons a i{
    color: var(--navy-blue);
}

.header .header-1 .icons a:hover{
    color: var(--grey);
}

.header .header-2.active{
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 1000;
    width: 65%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.header .header-2{
    background: var(--orange);
    margin: 0 auto;
    position: relative;
    align-items: center;
    padding: 0.5rem 1rem;
    z-index: 999;
    box-shadow: 0px 3px 12px -2px rgb(0 0 0 / 75%);
}

.header .header-2 nav{
    text-align: center;
}

#menu-btn{
    font-size:1.5rem;
    color:var(--white);
    cursor: pointer;
    display: none;
}

ul{
    list-style: none;
}

.menu > li, .menu > a {
    display: inline-block;
}

.menu a{
    text-decoration :none;
    color:var(--white);
    display: block;
    font-size: 1.4rem;
    padding: 10px 1.5rem;
    transition: background-colour .22s ease, color .22s ease;
}

.menu a:hover{
    color: var(--dark-orange);
}

.menu a.active{
    background: var(--white);
    color: var(--dark-orange);
}

.menu li{
    position: relative;
}

.submenu{
    position: absolute;
    background: var(--orange);
    width: 210px;
    text-align: left;
    left: 0;
    display: none;
}

.submenu2{
    position: absolute;
    left: 100%;
    width: 140px;
    top: 0;
    background: var(--orange);
    display: none;
}

.menu li:hover > .submenu{
    display: block;
    animation: slideup .3s ease;
}

.submenu li:hover > .submenu2{
    display: block;
    animation: slideleft .3s ease;
}

@keyframes slideup{
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100%{
        opacity: 1;
        transform: none;
    }
}

@keyframes slideleft{
    0%{
        opacity: 0;
        transform: translateX(18px);
    }

    100%{
        opacity: 1;
        transform: none;
    }
}

section{
    padding: 2rem 3%;
}

.home{
    padding: 0;
}

.home .box{
    margin: 0 auto;
    margin-bottom: 0;
    width: 100%;
    background: url(../images/banner.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    height: 110vh;
    align-items: center;
    justify-content:center ;
    padding-bottom: 5rem;
}

.home .box .content{
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
}

.line-1{
    display: inline-block;
    height: 1px;
    vertical-align: middle;
    width: 54px;
    background: var(--dark-orange);
}

.icon{
    color: var(--dark-orange);
    display: inline-block;
    font-size: 6px;
    line-height: 4px;
    margin: 0 3px;
    vertical-align: middle;
    animation-name:  flipInX;
    animation-fill-mode: both;
}

.about{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
}

.about .image-container{
    flex: 1 1 42rem;
}

.about .image-container .image{
    border-radius: 1rem;
    width: 100%;
}

.about .content{
    flex: 1 1 42rem;
    align-items: center;
}

.about .content span{
    color: var(--dark-orange);
    font-size: 2.5rem;
    text-transform: uppercase;
}

.about .content h1{
    color: var(--orange);
    font-size: 4rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.about .content p{
    padding: 1rem 0;
    font-size: 1.2rem;
    color: var(--light-color);
    line-height: 2;
    text-align: justify;
    text-transform: none;
}

.container{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    gap: 15px;
}

.message{
    /* background: url(../images/heading-bg.jpg); */
    background: #2e364a;
}

.message .container .box{
    width: 55rem;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0px 3px 12px -2px rgb(0 0 0 / 75%);
}

.message .container .box img{
    width: 25rem;
    height: 25rem;
    border-radius: 10%;
    border: 0.4rem solid var(--dark-orange); 
    margin-top: 2rem;
}

.message .container .box h3{
    font-size: 2.3rem;
    color: var(--dark-color);
    margin: 1rem;
    text-transform: uppercase;
}

.message .container .box h6{
    font-size: 2rem;
    color: var(--grey);
    margin-top: 2rem;
}

.message .container .box p{
    font-size: 1.2rem;
    color: var(--light-color);
    margin-top: 2rem;
    text-align: justify;
    line-height: 2;
    letter-spacing: 1px;
}

.manager .container .box{
    text-align: center;
    padding: 2rem;
    width: 28rem;
}

.manager .container .box img{
    height: 25rem;
    width: 25rem;
    border-radius: .5rem;
    margin-bottom: 1rem;
    border: .3rem solid var(--light-color);
}

.manager .container .box h3{
    font-size: 2rem;
    color: var(--grey);
}

.manager .container .box h6{
    font-size: 1.7rem;
    color: var(--light-color);
    font-weight: bold;
}

.manager .container .box p{
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 2;
}

.title{
    text-align: center;
    font-size: 3.5rem;
    font-weight: bolder;
    color: var(--orange);
}

.heading{
    text-align: center;
}

.title span{
    color: var(--blue);
}

.news .container .box{
    width: 50rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: var(--border);
}

.news .container .box .image{
    padding: 1rem;
    background: linear-gradient(15deg,#eee 30%, #fff 30.1%);
}

.news .container .box .image iframe{
    width: 100%;
    height:30rem;
    padding: 1rem;
}

.news .container .box .content{
    background: var(--orange);
    padding: 1rem;
}

.news .container .box .content h3{
    font-size: 2rem;
    color: var(--white);
}

.news .container .box .content span{
    font-size: 1.8rem;
    color: var(--light-grey);
}

.footer{
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/footer-bg.jpg);
    background-position: center;
    background-attachment: fixed;
}

.footer .container .box{
    width: 25rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer .container .box h3{
    font-size: 2rem;
    padding: 1.5rem 0;
    color: var(--white);
}

.footer .container .box a{
    display: block;
    font-size: 1.4rem;
    color: var(--white);
    padding: 1rem 0;
    text-transform: none;
    text-align: justify;
}

.footer .container .box a:hover{
    color: var(--orange);
}

.footer .container .box a:hover i{
    padding-right: 2rem;
}

.footer .container .box i{
    color: var(--blue);
    padding-right: 0.5rem;
}

.footer .container .box p{
    display: block;
    font-size: 1.4rem;
    color: var(--white);
    padding: 1rem 0;
    text-transform: capitalize;
    text-align: justify;
}

.footer .container .box .share{
    padding-top: 1rem;
}

.footer .container .box .share a{
    display: inline;
    height: 3.5rem;
    width: 3.5rem;
    line-height: 3rem;
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--white);
    margin-right: 1.5rem;
    text-align: center;
}

.footer .container .box .share a:hover{
    color: var(--orange);
}

.credit{
    background: var(--black);
    text-align: center;
    font-size: 1.5rem;
    padding: 1.5rem 1rem;
    color: var(--white);
}

.credit span{
    color: var(--orange);
}

.about-us{
    background: url(../images/banner.jpg) no-repeat;
    margin: 0 auto;
    margin-top: 0;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    height: 60vh;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 5rem;
}

.about-us .content{
    width: 50rem;
}

.about-us .content h1{
    font-size: 4rem;
    color: var(--orange);
    text-transform: uppercase;
}

.about-us .content p{
    padding: 1rem 0;
    font-size: 1.3rem;
    color: var(--light-color);
    line-height: 2;
    text-align: justify;
}

.history .box{
    text-align: center;
}

.history .content{
    padding: 2rem;
    align-items: center;
}

.history .content span{
    color: var(--dark-orange);
    font-size: 2.5rem;
    text-transform: uppercase;
}

.history .content h1{
    color: var(--orange);
    font-size: 4.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0.5rem;
}

.history .content h6{
    padding: 1rem 0;
    font-size: 1.7rem;
    color: var(--grey);
    line-height: 2;
    text-align: justify;
    text-transform: none;
}

.history .content p{
    padding: 1rem 0;
    font-size: 1.3rem;
    color: var(--grey);
    line-height: 2;
    text-align: justify;
    text-transform: none;
}

.metropolitan{
    background: #2e364a;
}

.metropolitan .container .box{
    width: 55rem;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0px 3px 12px -2px rgb(0 0 0 / 75%);
}

.metropolitan .container .box img{
    width: 25rem;
    height: 25rem;
    border-radius: 10%;
    border: 0.4rem solid var(--dark-orange); 
    margin-top: 2rem;
}

.metropolitan .container .box h3{
    font-size: 2.3rem;
    color: var(--dark-color);
    margin: 1rem;
    text-transform: uppercase;
}

.metropolitan .container .box h6{
    font-size: 2rem;
    color: var(--grey);
    margin-top: 2rem;
}

.metropolitan .container .box p{
    font-size: 1.2rem;
    color: var(--light-color);
    margin-top: 2rem;
    text-align: justify;
    line-height: 2;
    letter-spacing: 1px;
}

.council .container .box{
    width: 25rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    align-items: center;
}

.council .container .box .image img{
    height: 20rem;
    border: var(--border);
    border-radius: 10%;
}

.council .container .box .content span{
    font-size: 2.2rem;
    color: var(--green);
    text-align: justify;
    font-weight: 900;
}

.council .container .box .content h3{
    font-size: 2.5rem;
    color: var(--orange);
    text-align: center;
}

.council .container .box .content h6{
    font-size: 2rem;
    color: var(--grey);
    text-align: center;
}

.council .container .box .content p{
    font-size: 1.5rem;
    color: var(--grey);
    text-align: center;
    padding: 0;
}

.managing .container .box{
    width: 25rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    align-items: center;
}

.managing .container .box .image img{
    height: 20rem;
    width: 20rem;
    border: var(--border);
    border-radius: 50%;
}

.managing .container .box .content{
    padding: 1rem;
}

.managing .container .box .content h3{
    font-size: 2.5rem;
    color: var(--orange);
    text-align: center;
}

.managing .container .box .content p{
    font-size: 1.5rem;
    color: var(--grey);
    text-align: center;
    padding: 0;
}

.spiritual .container .box{
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0px 3px 12px -2px rgb(0 0 0 / 75%);
}

.spiritual .container .box p{
    text-transform: none;
    text-align: justify;
    font-size: 1.4rem;
    line-height: 2;
    color: var(--grey);
}

.spiritual .container .box .content{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    gap: 15px;
}

.spiritual .container .box .content .v-box{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    margin: 1rem 0;
}

.spiritual .container .box .content .v-box .image{
    width: 16rem;
    padding: 2rem;
}

.spiritual .container .box .content .v-box .image img{
    width: 16rem;
    height: 20rem;
    border-radius: 10%;
}

.spiritual .container .box .content .v-box .details{
    padding: 1rem;
}

.spiritual .container .box .content .v-box .details h5{
    font-size: 2rem;
    margin: 1rem;
    color: var(--green);
}

.spiritual .container .box .content .v-box .details h3{
    font-size: 2.5rem;
    color: var(--orange);
    text-align: center;
}

.spiritual .container .box .content .v-box .details h6{
    font-size: 1.8rem;
    color: var(--grey);
    text-align: center;
}

.spiritual .container .box .content .v-box .details p{
    font-size: 1.5rem;
    color: var(--grey);
    text-align: center;
    padding: 0;
}

.priest{
    min-height: 100vh;
}

.priest .container{
    max-width: 1170px;
    margin: auto;   
}

.priest .container .row{
    display: flex;
    flex-wrap: wrap;
}

.priest .team-items{
    flex-basis: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.priest .team-items .item{
    flex-basis: calc(25% - 30px);
    max-width: calc(25% - 30px);
    margin-top: 5rem;
    transition: all .5s ease;
}

.priest .team-items .item img{
    display: block;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 3px 12px -2px rgb(0 0 0 / 75%);
}

.priest .team-items .item .inner{
    position: relative;
    z-index: 11;
    padding: 0 15px;
}

.priest .team-items .item .inner .info{
    background: var(--mettalic);
    text-align: center;
    padding: 20px 15px;
    border-radius: 8px;
    transition: all .5s ease;
    margin-top: -50px;
}

.priest .team-items .item:hover .info{
    transform: translateY(-20px);
}

.priest .team-items .item:hover{
    transform: translateY(-10px);
}

.priest .team-items .item .inner .info h3{
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
}

.priest .team-items .item .inner .info h6{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-grey);
    margin: 10px 0 0;
}

.priest .team-items .item .inner .info p{
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--light-grey);
    margin: 10px 0 0;
    text-align: left;
    text-transform: none;
}

.priest .team-items .item .inner .info p i{
    margin-right: 0.7rem;
    color: var(--light-color);
}

.parish .box{
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
    /* border: var(--border); */
    margin: 1rem 0;
    margin-left: 3rem;
}

.parish .box .image-container{
    width: 30rem;
    padding: 1rem;
}

.parish .box .image-container img{
    border-radius: 1rem;
    height: 30rem;
    width: 30rem;  
}

.parish .box .content h3{
    color: var(--orange);
    font-size: 2rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.parish .box .content h6{
    padding: 1rem 0;
    font-size: 1.3rem;
    color: var(--grey);
    line-height: 1;
    text-align: justify;
    text-transform: none;
}

.parish .box .content h6 i{
    margin-right: 1rem;
}

.parish .box .content p{
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--grey);
    line-height: 2;
    letter-spacing: 1px;
    text-align: justify;
    text-transform: none;
}

table{
    border-collapse: collapse;
    width: 600px;
    /* height: 200px; */
    box-shadow: 2px 2px 12px rgba(0,0,0,0.2), -1px -1px 8px rgba(0,0,0,0.2);
    font-size: 1.3rem;
    margin-top: 1rem;
}

tr{
    transition: all .2s ease-in;
    cursor: pointer;
}

th,td{
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#header{
    background: var(--orange);
    color: var(--white);
}

.gallery{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.gallery a{
    height: 20rem;
    width: 30rem;
    margin: 2rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 3px 5px #000;
}

.gallery a img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery a img:hover{
    transform: scale(1.4);
}

.contact .row{
    display: flex;
    min-height: 80vh;
    align-items: center;
    justify-content: space-around;
}

.contact .row .contact-info .box{
    margin: 4rem 2rem;
}

.contact .row .contact-info .box h3{
    font-size: 1.6rem;
    color:var(--green);
}

.contact .row .contact-info .box h3 i{
    color: var(--orange);
    margin-right: 1rem;
}

.contact .row .contact-info .box p{
    padding-left: 3rem;
    font-size: 1.4rem;
    color: var(--light-color);
    text-transform: none;
}

.contact .row .contact-form-container{
    width: 50%;
}

.contact .row .contact-form-container h3{
    font-size: 4rem;
    padding-top: 4rem;
    color: var(--orange);
}

.contact .row .contact-form-container form input,textarea{
    outline: none;
    border: none;
    border-bottom: .2rem solid var(--light-color);
    height: 4rem;
    width: 100%;
    background: var(--light-grey);
    padding: 0 1rem;
    margin: 1rem 0;
    font-size: 1.4rem;
    width: 49%;
}

.contact .row .contact-form-container form textarea{
    width: 98%;
    padding:1rem ;
    resize: none;
    height: 30%;
}

.contact .row .contact-form-container form input[type="submit"]{
    color: var(--grey);
    border: .2rem solid var(--orange);
    cursor: pointer;
    transition: .2s;
    width: 15rem;
}

.contact .row .contact-form-container form input[type="submit"]:hover{
    background: var(--orange);
    color: var(--white);
}

.contact iframe{
    margin-top: 20px;
}



/* media queries */

@media(max-width:1200px){
    html{
        font-size: 65%;
    }

    section{
        padding: 3rem 2rem;
    }
}

@media(max-width:991px){
    html{
        font-size: 65%;
    }

    section{
        padding: 3rem 2rem;
    }

    .priest .team-items .item{
        flex-basis: calc(50% - 30px);
        max-width: calc(50% - 30px);
    }

    .contact .row{
        flex-flow: column;
        align-items: flex-start;
    }

    .contact .row .contact-form-container{
        width: 90%;
        margin: 0 auto;
    }
}

@media(max-width:768px){
    html{
        scroll-padding-top: 0;
    }

    body{
        padding-bottom: 6rem;
    }

    .header .header-1{
        box-shadow: var(--box-shadow);
        position: relative;
        text-align: center;
    }

    #menu-btn{
        display: inline-block;
    }

    .header .header-2 nav{
        position: absolute;
        text-align: center;
        top: 99%;
        right: 0;
        left: 0;
        background: var(--orange);
        clip-path: polygon(0 0,100% 0, 100% 0,0 0);
    }

    .header .header-2 nav.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .header .header-2 nav a{
        margin: 1rem;
        font-size: 1.5rem;
        display: inline-block;
    }

    .priest .team-items .item{
        flex-basis: calc(100%);
        max-width: calc(100%);
    }

    table{
        width: 100%;
    }

    .parish .box{
        flex-direction: column;
        align-items: stretch;
        border: var(--border);
        display: flexbox;
    }

    .parish .box .image-container img{
        width: 100%;
    }
}

@media (max-width:600px){
    .timeline{
        margin: 50px auto;
    } 

    .timeline::after{
        left: 31px;
    }

    .timeline .container{
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .text-box{
        font-size: 13px;
    }

    .text-box small{
        margin-bottom: 10px;
    }

    .right-container{
        left: 0;
    }

    .left-container img, .right-container img{
        left: 0;
    }

    .left-container-arrow, .right-container-arrow{
        border-right: 15px solid var(--white);
        border-left: 0;
        left: -15px;
    }

    .parish .box{
        flex-direction: column;
        align-items: stretch;
        border: var(--border);
        display: flexbox;
    }

    .parish .box .image-container img{
        width: 100%;
    }
}

@media(max-width:532px){

    .header .header-1{
        box-shadow: var(--box-shadow);
        position: relative;
        display: block;
        text-align: center;
    }

    .header .header-1 .logo{
        width:50%;
        height: 20rem;
    }

    .header .header-1 .icons a{
        display: none;
    }

    .home .box{
        min-height: 40vh;
    }

    .parish .box{
        flex-direction: column;
        align-items: stretch;
        border: var(--border);
        display: flexbox;
    }

    .parish .box .image-container img{
        width: 100%;
    }
}

@media(max-width:450px){

    html{
        font-size: 65%;
    }

    .parish .box{
        flex-direction: column;
        align-items: stretch;
        border: var(--border);
        display: flexbox;
    }

    .parish .box .image-container img{
        width: 100%;
    }
}