:root {
    --background-color: rgb(39, 39, 39);
    --text-color: #ffffff;
    --off-white: #ffffff;
    --green-color: #800000;
}
/* 3b7b6a - off-white: #fbf8f3; */
* {
    margin: 0;
    padding: 1;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
}

a {
    text-decoration: none;
}

/* PRELOADER */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.load-logo {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.load-logo p {
  font-size: 15px;
  color: #555;
}

/* NAVBAR */

nav {
    background-color: var(--background-color);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 150px;
    height: 150px;
    
    color: var(--text-color);
}

nav .locations a {
     font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 22px;
    border-radius: 2em;
    transition: background-color 0.4s;

}
nav .locations a:hover {
    color: var(--background-color);
    background-color: var(--text-color);
}


nav .give a {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

nav .visit a {
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 22px;
    border-radius: 2em;
    transition: background-color 0.4s;
}

nav .visit a:hover {
    color: var(--background-color);
    background-color: var(--text-color);
}


/* MENU OVERLAY */

/* Navigation Button */
#menu-button {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 22px;
}
  
  /* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    color: #fff;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}
  
  /* Overlay Header */
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: Center;
    padding: 0 170px;
    height: 150px;
}
  
#close-button {
    background: none;
    border: none;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}
  
.logo {
    font-size: 1px;
}

.visit-button {
    font-size: 16px;
    font-weight: 600;
    background-color: black;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 32px;
    border-radius: 2em;
    transition: background-color 0.4s;
}

.visit-button:hover {
    color: black;
    background-color: var(--text-color);
    cursor: pointer;
}
  
  /* Overlay Content */
.overlay-content {
    display: flex;
    justify-content: space-around;
    padding: 20px;
	text-align: left;
}
  
.column h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
  
.column p, .column a {
    font-size: 16px;
    margin: 5px 0;
}

.column a {
    color: var(--text-color);
    transition: color 0.3s;
	text-align: left;
}

.column a:hover {
    color: gold;
	font-size: 20px;
    margin: 5px 0;
}
  
  /* Overlay Footer */
.overlay-footer {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #222;
}
  
.overlay-footer div h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
  
.overlay-footer div p {
    font-size: 14px;
    margin: 3px 0;
}
.overlay-footer a {
    margin: 0 10px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.overlay-footer a:hover {
    color: gold;
    
}

.social-media {
    margin: 20px 0;
}
  
.social-links a {
    margin: 0 10px;
    color: #fff;
    font-size: px;
    text-decoration: none;
}
  
.social-links a:hover {
    color: #ccc;
}
  
/* Section 1: Welcome */

.welcome-section {
    font-style: normal;
    color: var(--background-color);
    padding: 0 250px;
    align-items: center;
}

.welcome-section h1 {
    font-size: 40px;
    font-weight: 700;
    white-space: pre-line;
    line-height: 1.1;
}

.welcome-section .text .green {
    color: var(--green-color);
}

.welcome-section h4 {
    font-size: 23px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0px;
    text-transform: uppercase;
    margin-block-start: 10px;

}

.welcome-section p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
    letter-spacing: 0px;
    text-transform: uppercase;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.welcome-section .youtube, .welcome-section .facebook {
    color: var(--background-color);
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid #000;
    width: 50px;
    height: 50px; 
    line-height: 25px;
    font-size: 22px;
    text-align: center;
    margin-left: 15px;
    transition: background-color 0.3s;
    transition: color 0.3s;
}

.youtube:hover, .facebook:hover {
    color: var(--text-color);
    background-color: black;
}

.welcome-section .container {
    display: flex;
    align-items: leftcenter;

    gap: 313px;
}

/* Section 2: Media */

.section {
  margin-top: -150px;
  height: 500px;
  position: relative;
}

.section1 {
  background-color: var(--background-color);

}

.media-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: -800px;
  z-index: 1;
}

.media {
  display: block;
  width: 80%;
  height: 100%;
  object-fit: fill;
  display: block;
  height: 500px;   
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}

#bishop-headshot {
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.links {
    display: flex;
    flex-direction: column;

    color: var(--off-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;

    margin-left: 250px;  
    margin-top: 25px;
}

.links #location {
    color: var(--off-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;

    display: block;
    margin-block-start: 3.5em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;

}

.links #watch-live {
    color: var(--off-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
}

.space {
    padding: 40px 0;
    background-color: var(--background-color);
}

/* Spacer */

.spacer {
    margin-top: 400px;
    height: 20px;
}

/* Section 3: Locations */

.locations-section {
    background-color: var(--off-white);
    color: var(--background-color);
    margin: 0 100px;
}

.locations-section .badge {
    display: inline-block;
    opacity: 1.25;

    font-size: 14px;
	 font-weight: bold;
    line-height: 20px;
    
    border: 3px solid var(--background-color);
    padding: 4px 8px;
    border-radius: 5px;
}

.locations-section .space-bewteen {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.locations-section h2 {
    font-weight: bold;
    font-size: 32px;
    line-height: 36px;

    white-space: pre-line;
}

.locations-section .space-bewteen a {
    background-color: var(--background-color);
    color: var(--off-white);
    padding: 17px 30px;
    border-radius: 12px;
    
    box-shadow: 0 -2px  8px 1px;
}

/* Location Cards */

.locations {
    display: flex;
    justify-content: center;
    gap: 70px;
    padding: 30px 0px;
}

.location-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px #0000001a;
    overflow: hidden;
    width: 400px;
    text-align: center;
}

.location-card h2 {
    background-color: var(--background-color);
    color: var(--off-white);
    margin: 0;
    padding: 10px 0;
}

.time {
    font-size: 14px;
    margin: 10px 0;
    color: #828282;
}

.address {
    font-size: 14px;
    color: #828282;
    margin: 10px 0;
}

.info-button {
    background-color: #fff;
    border: 3px solid var(--background-color);
    border-radius: 4px;
    color: var(--background-color);
    cursor: pointer;
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 16px;
	 font-weight: bold;
    margin-top: 16px;
    transition: color 0.3s;
    transition: background-color 0.3s;
}

.info-button:hover {
    color: #fff;
    background-color: var(--background-color);
}

.location-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
}

.address {
    font-size: 1.2em;
    margin: 8px 0;
    color: #000;
}

.divider {
    border: 0; 
    height: 1px; 
    background-color: #555; 
    width: 80%; 
    margin: 16px auto;
}

.service-times {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ccc;
}

.label {
    font-weight: bold;
    color: var(--green-color);
}

/* Section 4: Bishop */

.bishop-section {
    background-color: var(--background-color);
    color:var(--off-white);

    padding-top: 60px;
    padding-right: 100px;
    padding-bottom: 60px;
    padding-left: 100px;

    width: 80%;
    margin: auto;
    border-radius: 15px;

    display: flex;

    margin-top: 10px;
}

.bishop-section h2 {
    font-size: 60px;
    line-height: 1.2em;
    letter-spacing: 1px;
    font-family: 'Anton';
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 10px;
}

.bishop-section p {
    text-align: left;
    font-family: 'Bookman Old Style';
    line-height: 1.8em;
    font-weight: 500;
    font-size: 16px;

    display: block;
    margin-block-start: 1em;
    margin-block-end: 2em;
}

.bishop-section a {
    display: inline-block;
    border: 2px solid;

    padding-top: 16px;
    padding-right: 40px;
    padding-bottom: 16px;
    padding-left: 40px;

    color: var(--off-white);
    border-radius: 100px;
    font-size: 14px;
    font-family: 'Inter';
    font-weight: 700;
    background-color: var(--background-color);
    transition: background-color 0.4s;
}

.bishop-section a:hover {
    background-color: var(--off-white);
    color: var(--background-color);
}

.bishop-section img {
    vertical-align: baseline;
    position: relative;
    top: -100px;
    left: 150px;
    z-index: 2;
    width: 100%;
    height: auto; 
    border-radius: 5px;
}

/* Section 5: Give */

.give-section {
    display: block;

    background-color: var(--off-white);
    color: var(--background-color);

    float: left;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 100;
}

.give-section .row-inner {
    padding: 4em 0em;
}

.give-section .container {
    margin-left: auto;
    margin-right: auto;
}

.give-section .row-defaults {
    width: 62%;
    margin-left: 18%;
    margin-right: 2%;
    text-align: left;
}

.give-section .row-title {
    font-size: 2.125rem;
    line-height: 120%;
    font-weight: 600;

    margin-block-start: 1em;
}

.give-section .row-text {
    font-size: 1.125rem;
    line-height: 150%;
    font-weight: 400;

    margin: 1em 0;
}

.give-section .row-buttons a {
    margin: 0.5em 0.25em 0.5em 0.25em;

    font-size: 1rem;
    display: inline-block;
    background-color: transparent;
    box-shadow: 0 0 0 2px var(--background-color);
    color: var(--background-color);
    padding: 1em 1.75em;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    border-radius: 12px;
    transition: background-color 0.25s;
}

.give-section .row-buttons a:hover {
    background-color: var(--background-color);
    color: var(--off-white);
}

/* FOOTER */

footer {
    background-color: var(--background-color);
    color: var(--off-white);
    text-align: center;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}
  
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 80px;
    padding-bottom: 20px;
}

.fa-solid {
    font-size: 26px;
    margin-bottom: 10px;
}
  
.footer-item {
    flex: 1 1 200px;
    margin: 10px;
    text-align: center;
    min-width: 150px;
}
  
.footer-item h4 {
    font-size: 20px;
    margin: 10px 0 5px;
}
  
.footer-item p {
    margin: 0;
    font-size: 12px;
    word-wrap: break-word;
}
  
.footer-item a {
    color: #fff;
    text-decoration: none;
}
  
.footer-item a:hover {
    text-decoration: underline;
}
  
.social-media {
    margin: 20px 0;
}
  
.social-media a {
    margin: 0 10px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}
  
.social-media a:hover {
    color: #ccc;
}
  
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
}
  
.footer-bottom p {
    margin: 5px 0;
    opacity: 0.5;
}

#rep-link {
    color: white;
}

footer .rep-platform {
    opacity: 0.25;
    font-size: 0.75em;

    width: 96%;
    margin-top: 2em;
    margin-left: 2%;
    margin-right: 2%;
}

footer .rep-platform:hover {
    text-decoration: underline;
}

/* Styles for small screens (mobile) */
@media (max-width: 480px) {
    /* NAVBAR */
    nav {
        padding: 60px 15px;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    nav .locations, nav .give {
        display: none;
    }
    
    nav .visit {
        display: block;
        order: 3;
        margin-left: auto;
    }
    
    nav .logo {
        order: 2;
        display: flex;
        justify-content: center;
        flex: 1;
    }
    
    nav .menu {
        order: 1;
        display: block;
        margin-right: auto;
    }
    
    /* WELCOME SECTION */
    .welcome-section {
        padding: 0 15px;
    }
    
    .welcome-section h1 {
        font-size: 42px;
    }
    
    .welcome-section h4 {
        font-size: 22px;
    }
    
    .welcome-section p {
        font-size: 18px;
    }
    
    .welcome-section .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: -20px;
    }
    
    .welcome-section .social-links {
        margin-top: 0;
    }
    
    /* MEDIA SECTION */
    .section1 {
        margin-top: -100px;
        height: 400px;
    }
    
    .spacer {
        margin-top: 300px;
    }
    
    .media-wrapper {
        margin-top: -450px;
        height: 250px;

    }
    
    .media {
        width: 90%;
        height: 250px;
        margin-bottom: -18px;
    }
    
    .links {
        margin-left: 15px;
        margin-top: 50px;
        font-size: 15px;
    }
    
    /* LOCATIONS SECTION */
    .locations-section {
        margin: 0 15px;
    }
    
    .locations-section .space-bewteen {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .locations-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .locations {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .location-card {
        width: 100%;
        margin: 0 auto;
    }
    
    /* BISHOP SECTION */
    .bishop-section {
        flex-direction: column;
        padding: 30px 20px;
        width: 92%;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        text-align: Left;
    }
    
    .bishop-section h2 {
        font-size: 32px;
    }
    
    .bishop-section p {
        font-size: 15px;
        line-height: 1.6;
        text-align: Left;
    }
    
    .bishop-section img {
        position: static;
        width: 100%;
        max-width: 350px;
        margin: 10px auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .bishop-section a {
        display: block;
        width: 80%;
        margin: 0 auto;
        text-align: Left;
    }
    
    /* FOOTER */
    .footer-container {
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 10px;
    }
    
    .footer-item {
        margin: 0;
        display: none;
    }
    
    .social-media {
        margin: 0;
    }
    
    .footer-bottom {
        margin-top: 0;
    }




}