/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created : May 2025
    Author : Benevolence E.
*/
html {
    font-family:Georgia, 'Times New Roman', Times, serif;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

nav {
    background-color: #f5f3f5;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    padding-top: 15px;
    padding-left: 20px;
    justify-content: space-between;
}

nav img {
    width: 160px;
    height: auto;
}

nav a {
    color: #000;
    text-decoration: none;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0px 30px;
}

.links {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    z-index: 10;
}

.links li:hover {
    text-decoration: underline;
    transform: scale(1.1);
}

.socials img {
    width: 30px;
    height: auto;
    padding-right: 8px;
    position: relative;
    z-index: 10;
}

h2, h3, footer {
    text-align: center;
}

h3 {
    font-size: 35px;
    padding-top: 25px;
    text-transform: capitalize;
}

/*(Start) 1st Section CSS - Start*/
.start {
    max-width: 100%;
    margin: 100px auto;
    position: relative;
    top: 50px;
    text-align: center;
}

.start img{
    margin-top: 80px;
    width: 500px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.start img:hover {
    transform: scale(1.1);
}

.start .maintext, .start .secondtext, .start .thirdtext {
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 100px;
    font-weight: bold;
    text-shadow: 2px 2px 5px #ffffff;
    width: 500px;
}

.start .maintext {
    top: 74%;
    font-size: 30px;
}

.start .secondtext {
    top: 86%;
}

.start .thirdtext {
    top: 90%;
}
/*(Start) 1st Section CSS - End*/

/*(Box) 2nd Section CSS - Start*/
.box {
    padding: 10px 10px 50px 10px;
    max-width: 100%;
}

.box h2{
    float: left;
    padding-left: 50px;
    padding-right: 50px;
    border-radius: 20px;
    border-left: 3px solid #000000;
    border-right: 3px solid #000000;
}

.box p {
    text-align: end;
    padding-top: 15px;
    font-style: italic;
}
/*(Box) 2nd Section CSS - End*/

/*(Verses) 3rd Section CSS - Start*/
.verses {
    text-align: center;
    background-image: url('images/background.jpg');
    background-repeat: repeat-x;
    background-size: contain;
    background-position: top;
    padding: 30px 20px;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 600px;
    min-height: 150px;
    position: relative;
    overflow: hidden;
}

#verses-box {
    font-size: 19px;
    font-style: italic;
    text-shadow: 2px 2px 5px #ffffff;
    padding: 10px 20px;
    z-index: 2;
    position: relative;
}

.share-verses {
    margin-top: 10px;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    color: #000;
    background-color: #9c958256;
    font-style: italic;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.share-verses:hover {
    background-color: #6e685741;
}
/*(Verses) 3rd Section CSS - End*/

/*(Wrapper) 4th Section CSS - Start*/
.wrapper {
    padding-bottom: 50px;
    text-align: center;
    max-width: 100%;
}

.line {
    border-bottom: 2px solid gray;
    width: 130px;
    height: 3px;
    border-radius: 30px;
    margin: 0px auto;
    background-color: gray;
}

.rows {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 2;
}

.rows li {
    padding: 0px 50px 10px 50px;
}

.rows h4 {
    text-transform: capitalize;
    width: 300px;
}

.rows a {
    text-decoration: none;
    border: 3px solid #f5f3f5;
    border-radius: 8px;
    color: #000000;
    padding: 8px;
    font-style: italic;
}

.rows a:hover {
    color: #000000;
    background-color: lightblue;
}
/*(Wrapper) 4th Section CSS - End*/

/*(Events) 5th Section CSS - Start*/
.events {  
    margin-top: 10px;
    text-align: center;
    max-width: 100%;
}

.events a {
    text-decoration: none;
    color: #000000;
}

.events ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly; 
}

.events li {
    padding: 0px 50px 10px 50px;
}

.events p {
    font-style: italic;
}

.eventslist {
    position: relative;
}

.eventslist img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.link {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 200px;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.712);
    display: flex;
    opacity: 0;
    transition: 0.5s;
}

.eventslist:hover .link {
    opacity: 1;
}

.link a {
    display: inline-block;
    border: 1px solid #f5f3f5;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 18px;
    text-align: center;
}
/*(Events) 5th Section CSS - End*/

/*(Form) 6th Section CSS - Start*/
.form {
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding-bottom: 50px;
    max-width: 100%;
}

.formbox {
    align-items: flex-start;
    background-color: #f5f3f5;
    padding: 60px;
    max-width: 100%;
}

.formrow {
    display: flex;
}

.formrow input {
    width: 38%;
    margin: 5px 20px 5px 10px;
}

textarea {
    height: 150px;
    width: 80%;
    margin: 5px 10px;
}

.formbox input, .formbox textarea {
    padding: 10px;
    font-size: 16px;
    resize: none;
    background-color: transparent;
    border: 1px solid gray;
}

.form input[type='submit'] {
    color: #000000;
    border: 2px solid gray;
    border-radius: 6px;
    display: flex;
    font-style: italic;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 82%;
    margin: 5px 10px;
}

.form input[type='submit']:hover {
    background-color: #add8e6;
}
/*(Form) 6th Section CSS - End*/

footer {
    padding-top: 25px;
}

/*Calendar CSS*/
.calendar-wrapper {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: auto;
}

#calendar {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
}

.fc {
    padding-top: 220px;
}

.fc .fc-event-title {
    white-space: normal;
    overflow: visible;
    font-size: 16px;
    line-height: 1.2;
}

.fc .fc-daygrid-event {
    padding: 4px 6px;
    display: block;
    word-wrap: break-word;
}

.fc .fc-daygrid-dot-event {
    flex-wrap: wrap;
}

.fc .fc-button {
    touch-action: manipulation;
}

:root {
    --fc-button-text-color: #000;
    --fc-button-bg-color: #f5f3f5;
    --fc-button-hover-bg-color: #add8e6;
    --fc-button-active-bg-color: #7a787adc;
}

/* Responsive CSS */
@media (max-width:1068px) {
    .links, .socials {
        flex-wrap: wrap;
    }

    .links {
        align-items: center;
        justify-content: center;
    }

    .start img {
        max-width: 100%;
        margin-top: 80px;
    }
}

@media (max-width:768px) {
    nav img {
        width: 100px;
    }

    .start img {
        max-width: 100%;
        margin-top: 80px;
        transition: transform 0.2s ease;
    }

    .start img:hover {
        transform: scale(0.9);
    }

    .start .maintext {
        font-size: 16px;
        top: 78%;
    }

    .start .secondtext {
        top: 84%;
    }

    .start .thirdtext {
        top: 88%;
    }

    .box {
        align-items: center;
        padding: 0px 10px;
    }

    .box p {
        text-align: center;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
    }

    .socials {
        flex-direction: column;
    }

    .verses {
        margin-top: 50px;
        padding: 0 10px;
    }

    #verses-box {
        padding: 8px;
        font-size: 16px;
    }

    .wrapper, .events {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 10px;
        margin: 0 auto;
    }

    .rows, .events ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .rows li, .events li {
        padding: 10px 0;
        width: auto;
    }

    .fc .fc-button-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fc .fc-event-title {
        font-size: 13px;
    }

    .fc .fc-daygrid-event {
        padding: 2px 4px;
    }

    .fc .fc-daygrid-day-number {
        font-size: 13px;
    }

    .fc .fc-scroller .fc-scroller-liquid-absolute {
        overflow-y: hidden;
    }
}