*{
margin: 0px;
padding: 0px;
font-family:Arial, Helvetica, sans-serif;
border: 0;
outline: 0;
box-sizing: border-box;

}

body{
 color: #fff;
 font-family: 'Dancing Script', cursive;
 scroll-behavior: smooth;
 background-color: white;
}

header{

margin: 0;
background-image: url('../images1/IMG_2837[1].jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 100vh;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: white;

}

.overlay {
    border-image: fill 1 linear-gradient(rgba(255,255,255,0.4), rgba(0,0,0,0.6));
}



.welcome-text {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 50%;
    width: 100%;

}

.welcome-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.read-more-btn {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: white;
    background-color: rgba(71, 166, 221, 0.3);
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.3s ease;
    position: absolute;
    bottom: 10%;
    z-index: 10;
}

.read-more-btn.visible {
    opacity: 1;
    transform: translateY(0);
    
}

.read-more-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}

.read-more-btn.hidden {
    display: none;
}

nav ul{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: 'Dancing Script', cursive;
}

nav ul li {
    list-style-type: none;
    font-family: 'Dancing Script', cursive;
    text-decoration: none;


}
nav {
    width: 90%;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
    

}
.nav-link {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    position: relative;
    transition: background-color 0.3s ease;
     font-family: 'Dancing Script', cursive;
}

.nav-link:hover {
    background-color: rgba(173, 216, 230, 0.5);
    border-radius: 10px;
}

.nav-link::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after{
    width: 80%;
}

.admin-bar{
position: absolute;
top: 0;
left: 0;
text-decoration: none;
color: transparent;

}

.admin-bar a{
text-decoration: none;
color: transparent;

}
.main-nav {
    background-color: rgba(71, 166, 221, 0.9);
    width: 100%;
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
     font-family: 'Dancing Script', cursive;

}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-right: 20px;
    margin-left: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-left: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: rgba(173, 216, 230, 0.5);
    border-radius: 50%;
    transform: scale(1.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.facebook-icon::before{
    content: '';
    font-weight: bold;
}

.youtube.icon::before{
    content: ''

}

.main-nav ul{
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 90%;
}

.main-nav li {
    margin: 0 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-menu ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    width: 90%;
}

.hamburger {
    display: none;
    background-color: rgba(71, 166, 221, 0.9);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 101;

}

.hamburger-container {
    display: none;
}


main {
    color: #333;
    padding: 20px;
    height: auto;

}

.content-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 10px;
}

.content-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    line-height: 30px;
    
}

.content-card h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
}

.content-card h2:after {
    content: '';
    display: block;
    margin: 0;
    width: 100%;
    padding-top: 12px;
    border-bottom: 3px solid black;
}

.content-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.video-section {
    width: 80%;
    margin: 0 auto;
}

.video-section figcaption {
    color: #333;
    font-size: 1.5rem;
    font-family: 'Dancing Script', cursive;
    text-align: center;
    margin-bottom: 10px;
}

.video-section iframe,
.video-section video {
    width: 100%;
    height: 80vh;
    border-radius: 8px;
}
.video-section.active {
    display: block;
}


.verse-section {
    background: gold;
    animation: pulse 3s infinite;
    font-family: "Playfair Display", "Didot", "Times New Roman", Times, serif;
    width: 100%;
}


.content-text {
    white-space: pre-wrap;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    color: #333;
}

.content-row.gallery {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.main-image img {
   max-width: 100%;
   width: 60vw;
   height: auto;
   border-radius: 20px;
   margin-bottom: 20px;
   padding-bottom: 20px;
    
}

.gallery img {
    max-width: 30%;
}

.content-row.gallery img {
    flex: 1;
    max-width: 20%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.inline-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: gold;
    border-radius: 10px;
   
}

.inline-image img{
    max-width: 500px;
    max-height: 500px;
    
    border-radius: 10px;
   
}

.banner-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.banner-text {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    width: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 200px;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: black;
    background-color: gold;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    

}

.vertical-text-left,
.vertical-text-right {
    position: absolute;
    top: 0;
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    background-color: gold;
    padding: 10px;
    writing-mode: vertical-rl;
    text-align: center;
    z-index: 100;
    

}


.vertical-text-left {
    left: 10px;
    transform: rotate(180deg);
}

.vertical-text-right {
    right: 10px;

}


#logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: gold;
    border-radius: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

#logo-section img {
    max-width: 100%;
    height: auto;

}


.agenda h2,
.events h2,
.message-board h2,
.verse-section h2{
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    

}

.agenda h2:after{
content: '';
display: block;
margin:0;
width: 100%;
padding-top: 12px;
border-bottom: 3px solid black;


}

.events h2:after{
content: '';
display: block;
margin:0;
width: 100%;
padding-top: 12px;
border-bottom: 3px solid black;


}

.message-board h2:after{
content: '';
display: block;
margin:0;
width: 100%;
padding-top: 12px;
border-bottom: 3px solid black;


}

.verse-section h2:after{
content: '';
display: block;
margin:0;
width: 100%;
padding-top: 10px;
border-bottom: 3px solid black;


}

.content-text {
    white-space: pre-wrap;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
}

.verse-section {
    max-width: 1200px;
    margin: 20px auto;
    width: 100%;
    background-color: gold;
    font-family: "Playfair Display", "Didot", "Times New Roman", Times, serif; 
    border-radius: 10px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }

}

#admin-page{
    background-image: url('../images1/pexels-jonathanborba-2917373.jpg');
    background-position: 50% 40%;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-panel,
.admin-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
  
}

.login-panel.active,
.admin-panel.active {
    display: block;
}

.login-panel h2,
.admin-panel h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;

}

.login-panel input,
.admin-panel textarea,
.admin-panel input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;

}

.login-panel button,
.admin-panel button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.login-panel button:hover,
.admin-panel button:hover {
    background-color: #555;
}

.overlay-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.overlay-bg.active {
    display: block;
}

.close-menu {
    display: none;
}



@media (max-width: 1024px) {
   
    header {
        height: 70vh; 
    }

    .welcome-text {
        font-size: 2rem; 
    }

    .read-more-btn {
        font-size: 1.5rem; 
        padding: 10px 20px;
        bottom: 5%;
    }

    .main-nav {
        padding: 12px 0;
    }

    .nav-link {
        font-size: 1.5rem; 
        padding: 4px 8px;
    }

    .social-links {
        gap: 10px;
        margin: 0 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .main-nav li {
        margin: 0 15px;
    }

    .content-row {
        max-width: 1000px;
        gap: 15px;
        padding: 0 8px;
    }

    .content-card {
        min-width: 250px;
        padding: 15px;
        font-size: 20px; /* Shrink text */
        line-height: 25px;
    }

    .content-card h2 {
        font-size: 2.5rem; /* Shrink heading */
    }

    .content-card img {
        max-height: 250px;
    }

    .video-section {
        width: 85%;
    }

    .video-section iframe,
    .video-section video {
        height: 60vh;
    }

    .video-section figcaption {
        font-size: 1.3rem;
    }

    .verse-section {
        margin: 15px auto;
    }

    .content-text {
        font-size: 1.5rem; /* Shrink text */
    }

    .content-row.gallery img {
        max-width: 32%;
        max-height: 200px;
    }

    .inline-image img {
        max-width: 200px;
        max-height: 200px;
    }

    .banner-container img {
        max-height: 200px;
    }

    .banner-text {
        font-size: 1.5rem;
        height: 100px;
        padding: 8px;
    }

    #logo-section img {
        max-height: 120px;
    }

    .vertical-text-left,
    .vertical-text-right {
        font-size: 2.5rem;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    header {
        height: 60vh;
        position: relative;
    }
    
    figure {
        max-width: 200px;
        max-height: 200px;
        height: 200px;
        width: 200px;
        margin-bottom: 20px;
    }

    .welcome-text {
        font-size: 1.5rem;
        width: 90%;
        max-width: 100%;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        text-align: center;
    }

    .read-more-btn {
        display: none;
    }

    .main-nav {
        padding: 10px 0;
        justify-content: center;
    }

    .hamburger-container {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 101;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60vh;
        background-color: rgba(71, 166, 221, 0.9);
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: gold;
        color: black;
        border-radius: 10px;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 1rem;
        z-index: 1001;
        transition: transform 0.3s ease;
    }

    .close-menu:hover {
        transform: scale(1.1);
    }

    .social-links {
        margin: 10px 0;
        justify-content: center;
        width: 100%;
    }

    .social-link {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .main-nav li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid white;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 10px;
        color: black;
        display: block;
    }

    .nav-link:hover {
        background-color: gold;
    }

    .content-row {
        flex-direction: column;
        align-items: center;
        margin: 10px auto;
        gap: 10px;
        padding: 0 5px;
        width: 100%;
    }

    .content-card {
        width: 90%;
        min-width: 0;
        padding: 10px;
        font-size: 16px;
        line-height: 20px;
        height: auto;
    }

    .content-card h2 {
        font-size: 1.8rem;
    }

    .content-card img {
        max-width: 100%;
        max-height: 200px;
    }

    .video-section {
        width: 90%;
        margin: 0 auto 20px;
    }

    .video-section iframe,
    .video-section video {
        width: 100%;
        height: 30vh;
        border-radius: 8px;
    }

    .video-section figcaption {
        font-size: 1.2rem;
        text-align: center;
    }

    .inline-image {
        width: 90%;
        margin: 0 auto 20px;
    }

    .inline-image img {
        max-width: 90%;
        max-height: 200px;
    }

    .main-image {
        width: 90%;
        margin: 0 auto;
    }

    .main-image img {
        max-width: 90%;
        width: 90%;
        height: auto;
        border-radius: 20px;
    }

    .banner-container {
        width: 90%;
        margin: 0 auto 20px;
        position: relative;
    }

    .banner-container img {
        max-width: 100%;
        max-height: 200px;
    }

    .banner-text {
        font-size: 1rem;
        height: auto;
        padding: 10px;
        white-space: normal;
        top: 80%;
        transform: translateX(-50%) translateY(-50%);
        width: 90%;
        text-align: center;
    }

    #logo-section {
        width: 90%;
        margin: 0 auto 20px;
        padding: 10px;
    }

    #logo-section img {
        max-width: 80%;
        max-height: 120px;
    }

    .vertical-text-left,
    .vertical-text-right {
        display: none;
    }

    .content-row.gallery {
        display: block;
        flex-direction: column;
        align-items: center;
        margin-bottom: 500px; 
        padding-bottom: 20px;
    }

    .gallery img {
        max-width: 90%;
        max-height: 200px;
        margin: 10px 0;
    }

    .login-panel,
    .admin-panel {
        width: 90%;
        padding: 15px;
    }

    .login-panel h2,
    .admin-panel h2 {
        font-size: 1.5rem;
    }

    .login-panel input,
    .admin-panel textarea,
    .admin-panel input {
        padding: 8px;
    }

    .login-panel button,
    .admin-panel button {
        padding: 8px 15px;
    }

    .verse-section {
        width: 90%;
        margin: 0 auto;
    }
    
    main {
        padding-bottom: 500px; 
    }
}
