/* Global Body and Font Settings */
body {
    font-family: 'Barlow', sans-serif;
}

/* Global CSS file */

.about-links-container {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.about-link {
    margin-right: 10px;
    /* Adjust this property in the second link if needed */
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.about-link:hover {
    background-color: #007BFF;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: black;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-family: 'Barlow', sans-serif;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

/* Paragraph */
p {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: 'Barlow', sans-serif;
}

/* Links */
a {
    color: black;
    text-decoration: none;
    background-color: transparent;
}

a:hover {

    text-decoration: underline;
}

nav {
    background-color: white;
}

/* Style the hamburger icon */
.header {
    background-color: white;
}

#hamburger {
    display: inline-block;
    cursor: pointer;
    right: 0;
    padding: 10px;
    /* Adjust as needed */
    position: fixed;
    top: 0;
    z-index: 100;
}

#logo {
    left: 0;
    padding: 10px;
    /* Adjust as needed */
    position: fixed;
    top: 0;
    z-index: 100;
}


.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.fixed-top-right {
    position: fixed;
    top: 0;
    z-index: 1000;
    /* Ensures it stays above other content */
}

/* The Overlay */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 50px;
    /* Adjust based on the height of the logo and hamburger */
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

/* Overlay content */
.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    z-index: 20000;
}

.overlay a {
    padding: 10px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
}




#home p {
    font-size: 1.5em;
    /* Sets the size of the paragraph text */
    max-width: 600px;
    /* Restricts the width of the paragraph */
    line-height: 1.6;
    /* Adjusts the spacing between lines of text */
}



.content-container {
    max-width: 100%;
    /* Adjusted to take full width */
    margin: 0 auto;
    /* Keeps centering */
    padding: 0;
    /* Removes padding */
    background-color: rgba(255, 255, 255, 0);
    /* Makes background fully transparent */
    border-radius: 0;
    /* Removes rounded corners */
    box-shadow: none;
    /* Removes shadow */
    display: flex;
    /* Keeps flexbox */
    flex-direction: row;
    /* Changes direction to horizontal */
    justify-content: space-between;
    /* Spaces children evenly */
    align-items: center;
    /* Keeps vertical alignment */
    min-height: 100vh;
    /* Ensures minimum height of 100vh */
}

/* New styles for content-left and content-right */
.content-left,
.content-right {
    flex: 1;
    /* Allows both sides to grow equally */
    padding: 20px;
    /* Adds some padding */
}

/* Responsive image */
.content-right img {
    width: 100%;
    /* Makes the image responsive */
    height: auto;
    /* Keeps the aspect ratio */
}

.dynamic-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /* Provides comfortable padding around the content */
    text-align: center;
}

.dynamic-display h2 {
    font-size: 2.25rem;
    /* Sets a fixed, readable font size for the heading */
    margin-bottom: 1rem;
    /* Provides space between the heading and the paragraph */
}

.dynamic-display p {
    font-size: 1rem;
    /* Sets a fixed, readable font size for the paragraph */
    max-width: 80ch;
    /* Limits line length to around 60 characters for readability */
    margin-bottom: 1rem;
    /* Spaces out paragraphs */
    text-align: left;
}

/* Parallax Section Styles for Map of Churches */
#churches-map-parallax {
    height: 500px;
    /* Adjust the height as needed */
    background-image: url(/src/assets/mapOfChurches.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Dynamic Grid for Church Logos */
#churches-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
}

#churches-logo-grid .logo-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Makes the image a perfect square */
    object-fit: cover;
    /* Adjust this as needed to control how the images fit within their boxes */
}



/* Existing styles... */

/* Resource Splash Section */
#resource-splash {
    width: 100%;
    background: url('https://via.placeholder.com/1500') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Global button styles */
button {
    padding: 10px 20px;
    /* Padding inside the button */
    background-color: #000;
    /* Button color */
    color: #fff;
    /* Text color */
    border: none;
    /* No border */
    cursor: pointer;
    /* Pointer cursor on hover */
    font-family: 'Barlow', sans-serif;
    /* Barlow font */
    transition: background-color 0.3s ease;
    /* Smooth transition for hover effect */
}

button:hover {
    background-color: #333;
    /* Darker button color on hover */
}

button:active {
    background-color: #ff0060;
    /* Color change when button is pressed */
}

.infographic-container {
    width: 100%;
    max-width: 600px;
    /* Adjust based on your design preference */
    margin: auto;
    /* Centers the image */
}

.responsive-infographic {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
}

/* Add to your CSS file */
.blog-header-splash {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* Adjust based on your layout */
}

.splash-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    /* Adjust for desired roundness */
    object-fit: cover;
    /* Ensures the image covers the area well */
}


.media-block {
    width: 100%;
    height: 300px;
    border-style: solid;
    border-color: black;
}

.headline   {
    font-size:100px;
}

.heading-1 {
    font-size: 48px;
    text-align: center;
}

.heading-2 {
    font-size: 36px;
    text-align: center;
}

.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
}


.top-splash-welcome {
    width: 100%;
    height: 200px;
}

.mid-splash-welcome {
    width: 100%;
    height: 500px;
}

#MA-COLLAB-HEAD-SPLASH {
    margin-top: 30px;
}

.item-2-row {
    display:flex;
    align-items:center;
    flex-direction: row;
    background-color: yellow;
    width: 100%;

}