@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Ysabeau+SC:wght@1..1000&display=swap');


/* Minimal CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    font-weight: 100px;
    overflow-x: hidden;
  }
  h3, h4, li{
    font-family:  'Nunito', 'Open Sans', 'Ysabeau SC', serif, sans-serif;
    font-weight: 300;
    text-align: justify;
    line-height: 30px;
  }
  button{
    font-family:  'Nunito', 'Open Sans', 'Ysabeau SC', serif, sans-serif;
    padding: 0;
    margin: 0;
  }

  h2{
    font-family:  'Nunito', 'Open Sans', 'Ysabeau SC', serif, sans-serif;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  

  :root {
    /* Define global variables */
    --primary-color: #7b0323;
    --secondary-color: #9ce513;
    --adcent-color: #9b5ba3;
    --primary-button-color: #bb0032;
    --secondary-button-color: #ededed;

    --text-color: #000000;
    --text-color-white: #ffffff;
    --secondary-text-color: #818181;
    --font-family: 'Nunito', 'Open Sans', 'Ysabeau SC', serif, sans-serif;
    --header-font-size: 1.7rem;
    --big-header-font-size: 65px;
    --big-sub-header-font-size: 40px;
    --sub-header-font-size: 1.4rem;
    --medium-text-font-size: 1.2rem;
    --small-text-font-size: .5rem;
    --line-height: 1.5;
    --border-radius: 5px;
  }

  /* ============== HEADER ============== */
.pastors-banner{
    margin-top: 2rem;
    background-image: url('../images/lead.jpeg');
    height: 80vh;
    background-size: 100% 100%;
    position: relative;


}
.pastors-banner-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 80vh;
    background: var(--overlay-color);
}
.pastors-banner-text{
    background-color: rgba(0, 0, 0, 0.5);
    width: fit-content;
    padding: 1rem;
    margin-top: 25rem;
    padding-left: 4rem;
    color: var(--text-color-white);

}
.pastors-banner-text h2{
    font-size: var(--header-font-size);
    text-shadow: 1px 1px 1px #000000, -2px -2px 2px #000000;
    
}

/* =========- PASTORS SECTION -================ */
.pastors-section{
    max-width: 1200px; /* Adjust this to your preferred max width */
    width: 85%;
    margin: auto;
    margin-top: 2rem;
    padding-bottom: 2rem;
    
}
.pastors-section h2{
    font-size: var(--header-font-size);
    text-align: center;
    padding-bottom: 2rem;
}
.pastors-section-inner{
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 2px;
    margin-bottom: .5rem;
}
.pastors-section-inner-left1 {
    background-image: url('../images/dad2.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 85%;
    height: 26rem;
    
    
    border-radius: 5px;
}
.pastors-section-inner-left2 {
    background-image: url('../images/mummygo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 85%;
    height: 26rem;
}
/* .pastors-section-inner-left3{
    background-image: url('../images/abioye2.jpg');
    width: 90%;
    background-size: cover;
    height: 14rem;
    border-radius: 5px;
} */
.pastors-section-inner-left4 {
    background-image: url('../images/district3.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 85%;
    height: 26rem;
}
.pastors-section-inner-left5 {
    background-image: url('../images/district.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 85%;
    height: 26rem;
}
.pastors-section-inner-left6 {
    background-image: url('../images/pastorkele.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 85%;
    height: 26rem;
}
.pastors-section-inner-right{
    width: 100%;
    margin-top: .3rem;
}
#oke{
    
    margin-top: 5rem;
}
.pastors-section-inner-right h2{
    font-size: var(--sub-header-font-size);
    text-align: left;
    padding-bottom: 0;
}
.pastors-section-inner-right h3{
    font-size: var(--medium-text-font-size);
    color: var(--secondary-text-color);
}



/* =============- MOBILE VIEW -=========== */

@media (max-width: 600px) {
      /* ============== HEADER ============== */
.pastors-banner{
    margin-top: 2rem;
    
    height: 60vh;
    background-size: cover;
    position: relative;


}
.pastors-banner-overlay{
    height: 60vh;
    background: var(--overlay-color);
}
.pastors-banner-text{
    margin-top: 18rem;
    padding-left: 2rem;
    color: var(--text-color-white);

}

/* =========- PASTORS SECTION -================ */
.pastors-section{
    width: 90%;
    margin: auto;
    margin-top: 2rem;
    padding-bottom: 2rem;
}
.pastors-section h2{
    font-size: var(--header-font-size);
    text-align: center;
    padding-bottom: 2rem;
}
.pastors-section-inner{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 6px;
    margin-bottom: 1rem;
}
.pastors-section-inner-left1 {
    width: 100%;
    height: 20rem;
    border-radius: 10px;
    margin-left: 0;
}
.pastors-section-inner-left2 { 
    width: 100%;
    height: 20rem;
    border-radius: 10px;
    margin-left: 0;
}
.pastors-section-inner-left3 {
    width: 100%;
    height: 20rem;
    border-radius: 10px;
    margin-left: 0;
}
.pastors-section-inner-left4 {
    width: 100%;
    height: 20rem;
    border-radius: 10px;
    margin-left: 0;
}
.pastors-section-inner-left5 {
    width: 100%;
    height: 20rem;
    border-radius: 10px;
    margin-left: 0;
}
.pastors-section-inner-left6 {
    width: 100%;
    height: 20rem;
    border-radius: 10px;
    margin-left: 0;
}
.pastors-section-inner-right{
    width: 100%;
    margin-top: 3rem;
}
#oke{
    
    margin-top: 3rem;
}
.pastors-section-inner-right h2{
    font-size: var(--sub-header-font-size);
    text-align: center;
    padding-bottom: 0;
}
.pastors-section-inner-right h3{
    text-align: center;
}
}