body {
    margin: 0;
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 18px;
    font-weight: 400;
}
.header {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    padding-bottom: 0.5em;
}
.header h1 {
    margin: 0;
    font-weight: 50;
    margin: 10px;
    color: white;
}

.header .float-left a {
    color: white; /* Change text color to black */
    text-decoration: none; /* Remove underline */
}
a:link {
    text-decoration: none;
}

.header h6 {
    opacity: 0.8;
}


.navbar {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    padding: 0.2em;
    margin-top: 0em;
 
}
.navbar li {
    margin: 0 10px;

}
.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;

}
.navbar a:hover {
    color: #ccc;
}

/* Custom CSS for video section */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
  }

  .video-container iframe,
  .video-container object,
  .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }



/* Mobile-specific styles */
@media only screen and (max-width: 600px) {
    body {
        font-size: 18px;
        font-family: 'Cormorant Garamond', sans-serif;
        font-weight: 400;
    }

   h1.display-4 {
        font-size: 35px !important;
        font-weight: 400;
    }

}


  /*
Video Section

  */
  .video-container {
    position: relative;
    width: 100%;
    height: 200; /* Set the desired height */
  }
  
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none; /* Disables interactions with the video */
    z-index: 0;
  }
  
.btn {
    z-index: 9;
}
.home-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    width: auto;
    height: 0;
    opacity: 0.2;
    z-index: 0;
    margin-top: -1em;
}


div.jumbotron {
    background-color: transparent;
    position: absolute;
    margin-bottom: 2em;
}


.events {
    margin-top: 5em;
}

div.call-to-action {
    position: absolute;
    z-index: 999;
}


/*
    Churches style
*/

.church-section {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;

}
.video-background video {
    opacity: 0.2;
}

.video-embed {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-overlay {
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-overlay h2 {
    margin-top: 0;
}

.map-embed {
    margin-top: 20px;
}

.map-embed iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* 
end of churches style
*/


/* Events image style  */
.events .event-card img {
    border-radius: 5px;
}


/*
newsletter style
*/

/* newsletters.css */

.newsletters .newsletter .btn {
    background-color: #ffc107; /* Bootstrap warning color */
    border: none;
    transition: background-color 0.3s ease;
}

.newsletters .newsletter .btn:hover {
    background-color: #e0a800; /* Darker shade for hover effect */
}

.newsletters .newsletter h5 {
    margin: 0;
    font-weight: bold;
}

.newsletters .newsletter hr {
    border-top: 1px solid #ddd;
    margin: 0.5rem 0;
}


/* newsletters.css */

.table th, .table td {
    vertical-align: middle; /* Center content vertically */
}

.table a {
    font-weight: bold;
    color: #007bff;
    transition: color 0.3s ease;
}

.table a:hover {
    color: #0056b3;
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1;
}


/* header for title */

header {
    margin-top:-1.5em;
    height: 180px;
}


/* Webcam feed */

.webcam {
    margin-top: -3.2em;
}

.webcam-feed {
    background-color: #ffffff;
    border-radius: 5px; 
    padding:15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    opacity: 0.9;
  
}


.next-event, .event {
    opacity:0.9;
    background-color: #ffffff;
    border-radius: 5px; 
    padding:15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    
}


.verticalLine {
    border-left: thick solid #ff0000;
  }
  
  
#churchAccordion {
    min-width: 400px;
    max-width: 400px;
}


.webcam-style {
    display: flexbox;
    height: 400px;
    width: 400px

}


footer {
    display: inline-block;
}