/*Text Styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jersey+15&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Shadows+Into+Light&display=swap');

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.jersey-15-regular {
    font-family: "Jersey 15", sans-serif;
    font-style: normal;
    font-size: 30px;
    text-align: center;
    color: silver;
}

/* ----- Main Styling ----- */
body {
    background-image: url("../images/earth_space.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    padding: 0;
    width: 100%;
}

.main-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.statements {
    background-image: none;
    background-color: black;
}

.headings {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: white;
    margin: 20px;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: bolder;
    text-align: center;
    color: white;
    margin: 20px;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-align: center;
    color: white;
    margin: 20px;
}

h3 {
    font-weight: bold;
    font-size: larger;
    text-align: center;
    color: whitesmoke;
}

h4 {
    font-weight: bold;
    text-align: center;
    color: whitesmoke;
    margin-bottom: 0px;
}

h6 {
    font-family: "Jersey 15", sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 40px;
    text-align: center;
    color: silver;
    margin-bottom: -100px;
}

.paragraph {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: whitesmoke;
}

.scriptures {
    font-family: "Shadows Into Light", cursive;
    font-style: italic;
    color: silver;
    margin: 20px;
    text-align: center;
}

.indexes {
    display: block;
    font-family: Arial;
    text-decoration: none;
    color: silver;
    text-align: left;
    padding: 6px;
}

.labels {
    width: 250px;
    height: 125px;
    margin-left: 8%;
    margin-bottom: 5%;
    margin-top: 7%;
    float: inline-start;
}

.ref {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: red;
}

button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Navigation Bar Styling Section */
.navbar {
    width: 100%;
    background-color: #02050E;
    padding: 10px 0;
    box-sizing: border-box;
    text-align: center;
}
.nav-links {
    display: flex;
    justify-content: space-evenly;
}
.navbar a {
    padding: 10px 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    color: #847C7F;
}
.navbar a:hover {
    background-color: #ddd;
    color: black;
}
.navbar-scripture {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-style: italic;
    font-size: 17px;
    margin-top: 30px;
    margin-bottom: 5px;
    color: #e0e0e0;
}

/* Side Bar Styling Section */
.sidebar {
    height: 100vh;
    width: 9vw;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.0);
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 20px;
}

.sidebar a {
    display: block;
    font-family: Arial;
    text-decoration: none;
    color: whitesmoke;
    text-align: left;
    padding: 6px 8px 6px 16px;
    font-size: 17px;
    margin-bottom: 10px;
}

.sidebar a:hover {
    background-color: #ddd;
    color: black;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background-color: #000930;
}

/* Block Styling */
.block {
    margin-left: 10vw;
    margin-right: 1vw;
    margin-bottom: 0.25vh;
    padding: 10px;
    border: 2px solid silver;
    text-align: center;
}

.block .topics {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    color: whitesmoke;
}

.block .paragraph {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: white;
}

.block button {
    display: block;
    margin-left: 0;
}

button img.radio_button {
    width: 40px;          
    height: auto;
    display: block;
    margin: 0;          
}

.block .para_img {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: 35%;
    height: auto;
}

/* Image Specific Styling */
img {
    display: flex;
    margin-left: 4.5vw;
    margin-right: auto;
    width: 90%;
    height: 90%;
}

.coming {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.logos {
    width: 250px;
    height: 320px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.image_container {
    display: grid;
    gap: 20px;
    max-width: 90%;
    margin: 20px 10px;
}

.img {
    margin-left: auto;
    width: 50%;
    height: 50%;
}

.error_pic {
    width: 75%;
    height: 75%;
    margin-left: 10vw;
} 

/* Specific Styles for Width Images */
.width_container {
    grid-template-columns: repeat(4, 1fr);
}

.width_container .image_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.width_container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Specific Styles for Height Images */
.height_container {
    grid-template-columns: repeat(4, 1fr);
}

.height_container .image_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.height_container img {
    height: 400px;
    width: auto;
    object-fit: cover;
}

/* Specific Styles for Equal Dimensions Images */
.equal_container {
    grid-template-columns: repeat(4, 1fr);
}

.equal_container .image_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.equal_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styling for download button */
.image_item button {
    background-color: blue;
    border: none;
    color: white;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 4px;
}

.image_item button:hover {
    background-color: darkblue;
}

/* Styling for share popup */
.share_popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
    border-radius: 5px;
    width: 400px;
}

.share_popup_content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.share_popup .close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.share_popup a {
    display: flex;
    align-items: center;
    margin: 5px;
    text-decoration: none;
    color: #000;
}

.share_popup a img {
    margin-right: 40px;
    width: 40px;
    height: 40px;
}

/* Footer Styling Section */
#footer .share_content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.site-footer {
    background-color: #02050E;
    color: #847C7F;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 20px 10px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    margin-top: auto;
    border-top: 2px solid #847C7F;
}
.site-footer a {
    color: #847C7F;
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}
.site-footer strong {
    color: #fff;
}
.footer-powered {
    margin: 0.25rem 0;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 30px;
}
.footer-icon {
    width: 150px;
    height: 150px;
    vertical-align: middle;
}

/* ----- Index Specific Styling ----- */
.home-block {
    background-color: #011947;
    display: inline-block;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 50px
}
.home-img {
    display: flex;
    justify-content: center;
    margin-left: 5vw;
    margin-right: auto;
    width: 90%;
    height: 90%;
}
#home h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bolder;
    /*color: #ffd166;*/
    color: #d4af37;
}
#home h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 900;
    font-style: italic;
    font-size: large;
    color: #64ffda;
   /* color: #ff0202; */
}
#home .paragraph {
    font-weight: bold;
    color: #e0e0e0;
   /* color: #90e0ef; */
}
#home .scriptures {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: large;
    color: #e0e0e0;
    /* color: #ff0202; */
}
#home .navbar {
    width: 100%;
    background-color: rgba(0, 0, 20, 0.95);
    padding: 10px 0;
    box-sizing: border-box;
    text-align: center;

    box-shadow:
        0 0 20px #1e3a8a,
        0 0 40px #2563eb,
        0 0 80px #3b82f6;
}
#home .nav-links {
    display: flex;
    justify-content: space-evenly;
}
#home .navbar a {
    padding: 10px 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    color: #847C7F;

    background: url("images/rocky-wall.png");
    background-size: cover;
   /* color: transparent; */
    -webkit-background-clip: text;
    background-clip: text;

    text-shadow:
        0 0 6px #1e3a8a,
        0 0 12px #1e3a8a,
        0 0 20px #2563eb;

    transition: all 0.3s ease;
}
#home .navbar a:hover {

    text-shadow:
        0 0 4px #2563eb,
        0 0 8px #2563eb,
        0 0 12px #60a5fa;
    transform: scale(1.1);
}

/* ----- Messages for Spiritual Life Styling Section ----- */
#messages img {
    margin-left: 35%;
    width: 40%;
    height: 25%;
}

#messages .navbar {
    background-color: #1d2a56;
    margin-left: 25%;
    width: 60%;
    height: 25%;
}

#messages .navbar a {
    color: #f5da8a;
}

#messages .navbar a:hover {
    background-color: #FF3A3A;
}

#messages .sidebar {
    background-color: #72191a;
}

#messages .sidebar a {
    color: #f5da8a;
}

#messages .sidebar a:hover {
    background-color: #726563;
}

#messages .block {
    border: 2px solid #780D0D;
}

#messages .block .topics {
    color: #726563;
}

#messages .block .paragraph {
    color: #726563;
}

.block .para_img {
    width: 35%;
}

/* ---- Prophecy Code Styling Section ----- */
#code img {
    margin-left: 8vw;
    width: 93%;
    height: 93%;
}

#code h3 {
    color: tomato;
}

#code h4 {
    color: cyan;
}

#code .scripture {
    font-family: Arial;
    color: cyan;
    margin-top: 0px;
}

#code .navbar {
    background-color: #001119;
    margin-left: 5vw;
}

#code .navbar a {
    color: #D86A66;
}

#code .navbar a:hover {
    background-color: #726563;
}

#code .sidebar {
    background-color: #001119;
}

#code .sidebar a {
    color: #D86A66;
}

#code .sidebar a:hover {
    background-color: #726563;
}

#code .block {
    border: 2px solid #525254;
}

#code .block .topics {
    font-family: Arial;
    color: tomato;
}

#code .block .paragraph {
    font-family: Arial;
    text-align: left;
    color: tomato;
}

#code .block .para_img {
    width: 35%;
}

/* ----- Biblical Truth Styling Section ----- */
#truth img {
    margin-left: 8vw;
    width: 93%;
    height: 93%;
}

#truth h3 {
    color: wheat;
}

#truth h4 {
    color: goldenrod;
}

#truth .scripture {
    font-family: Arial;
    color: goldenrod;
    margin-top: 0px;
}

#truth .navbar {
    background-color: #000000;
    margin-left: 5vw;
}

#truth .navbar a {
    color: #B89D51;
}

#truth .navbar a:hover {
    background-color: #726563;
}

#truth .sidebar {
    background-color: #000000;
}

#truth .sidebar a {
    color: #B89D51;
}

#truth .sidebar a:hover {
    background-color: #726563;
}

#truth .block {
    border: 2px solid silver;
}

#truth .block .topics {
    font-family: Arial;
    color: #B89D51;
}

#truth .block .paragraph {
    font-family: Arial;
    text-align: left;
    color: #505050;
}

#truth .block .para_img {
    width: 50%;
}

/* ----- Videos Styling Section ----- */
.video_navbar {
    display: inline;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: wheat;
    margin: 5%;
}

.video_labels {
    width: 250px;
    height: 125px;
    margin-left: 8%;
    margin-bottom: 5%;
    margin-top: 7%;
    float: inline-start;
    cursor: pointer;
    text-align: center;
}
.video_labels a {
    display: block;
    text-align: center;
}
.video_labels img {
    margin: 0 auto 0.4rem auto;
    width: 250px;
    height 250px;
    object-fit: cover;
    object-position: center:
}
.videos-banner {
    max-width: 70%;
    margin-left: 15%;
}
#videos .img {
 /*   display: block;
    margin: 0 auto;
    margin-left: 8vw;
    width: 100%;
    height: 100%;*/
}
#videos .navbar {
    background-color: #0B3259;
    margin-left: 5vw;
    max-width: 70%;
    margin-left: 15%;
}

#videos .navbar a {
    font-family: "Jersey 15", sans-serif;
    font-size: 20px;
    color: #FFFFFF;
}

#videos .navbar a:hover {
    background-color: #8C8C8C;
}

#videos .sidebar {
    background-color: #0B3259;
}

#videos .sidebar a {
    font-family: "Jersey 15", sans-serif;
    font-size: 20px;
    color: #FFFFFF;
}

#videos .sidebar a:hover {
    background-color: #8C8C8C;
}

#videos .sidebar::-webkit-scrollbar-track {
    background-color: #000930;
}

/* ----- Inspiration Styling Section ----- */
.inspirationals-banner {
    max-width: 60%;
    margin-left: 25%;
}
#inspirationals .navbar {
    background-color: #533C59;
    max-width: 60%;
    margin-left: 25%;
}
#inspirationals .navbar a {
    color: #FEF2A0;
}
#inspirationals .navbar a:hover {
    background-color: #EC9AAe;
}

/* ----- Scriptures Styling Section ----- */
.scriptures-banner {
    max-width: 60%;
    margin-left: 25%;
}
#scriptures .navbar {
    background-color: #322D27;
    max-width: 60%;
    margin-left: 25%;
}
#scriptures .navbar a {
    font-weight: bolder;
    color: #561117;
}
#scriptures .navbar a:hover {
    background-color: #585D70;
}

/* ----- Links Styling Section ----- */
#links .logo {
    max-width: 60%;
    margin-left: 25%;
}

#links .navbar {
    background-color: #1CC3FE;
    max-width: 60%;
    margin-left: 25%;
}

#links .navbar a {
    color: #F9364D;
}

#links .navbar a:hover {
    background-color: #FFFFFF;
}

/* Video Player */
.back-btn {
  display: inline-block;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  border-radius: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s, box-shadow 0.1s;
}

.back-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.back-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.player-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.video-title {
  margin-top: 1rem;
  font-family: "Jersey 15", sans-serif;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #e0e0e0;
  text-align: center;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    background-color: black;
}

.video-container.theater,
.video-container.full-screen {
    max-width: initial;
    width: 100%;
}

.video-container.theater {
    max-height: 90vh;
}

.video-container.full-screen {
    max-height: 100vh;
}

video {
    width: 100%;
}

.video-controls-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    z-index: 100;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

.video-controls-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
    width: 100%;
    aspect-ratio: 6 / 1;
    z-index: -1;
    pointer-events: none;
}

.video-container:hover .video-controls-container,
.video-container:focus-within .video-controls-container,
.video-container.paused .video-controls-container {
    opacity: 1;
}

.video-controls-container .controls {
    display: flex;
    gap: .5rem;
    padding: .25rem;
    align-items: center;
}

.video-controls-container .controls button {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    height: 30px;
    width: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: .85;
    transition: opacity 150ms ease-in-out;
}

.video-controls-container .controls button:hover {
    opacity: 1;
}

.video-container.paused .pause-icon {
    display: none;
}

.video-container:not(.paused) .play-icon {
    display: none;
}

.video-container.theater .tall {
    display: none;
}

.video-container:not(.theater) .wide {
    display: none;
}

.video-container.full-screen .open {
    display: none;
}

.video-container:not(.full-screen) .close {
    display: none;
}

.volume-high-icon,
.volume-low-icon,
.volume-muted-icon {
    display: none;
}

.video-container[data-volume-level="high"] .volume-high-icon {
    display: block;
}

.video-container[data-volume-level="low"] .volume-low-icon {
    display: block;
}

.video-container[data-volume-level="muted"] .volume-muted-icon {
    display: block;
}

.volume-container {
    display: flex;
    align-items: center;
}

.volume-slider {
    width: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: width 150ms ease-in-out, transform 150ms ease-in-out;
}

.volume-container:hover .volume-slider,
.volume-slider:focus-within {
    width: 100px;
    transform: scaleX(1);
}

.duration-container {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-grow: 1;
}

.video-container.captions .captions-btn {
    border-bottom: 3px solid red;
}

.video-controls-container .controls button.wide-btn {
    width: 50px;
}

.timeline-container {
    height: 7px;
    margin-inline: .5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.timeline {
    background-color: rgba(100, 100, 100, .5);
    height: 3px;
    width: 100%;
    position: relative
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: calc(100% - var(--preview-position) * 100%);
    background-color: rgb(150, 150, 150);
    display: none;
}

.timeline::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: calc(100% - var(--progress-position) * 100%);
    background-color: red;
}

.timeline .thumb-indicator {
    --scale: 0;
    position: absolute;
    transform: translateX(-50%) scale(var(--scale));
    height: 200%;
    top: -50%;
    left: calc(var(--progress-position) * 100%);
    background-color: red;
    border-radius: 50%;
    transition: transform 150ms ease-in-out;
    aspect-ratio: 1 / 1;
}

.timeline .preview-img {
    position: absolute;
    height: 80px;
    aspect-ratio: 16 / 9;
    top: -1rem;
    transform: translate(-50%, -100%);
    left: calc(var(--preview-position) * 100%);
    border-radius: .25rem;
    border: 2px solid white;
    display: none;
}

.thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.video-container.scrubbing .thumbnail-img {
    display: block;
}

.video-container.scrubbing .preview-img,
.timeline-container:hover .preview-img {
    display: block;
}

.video-container.scrubbing .timeline::before,
.timeline-container:hover .timeline::before {
    display: block;
}

.video-container.scrubbing .thumb-indicator,
.timeline-container:hover .thumb-indicator {
    --scale: 1;
}

.video-container.scrubbing .timeline,
.timeline-container:hover .timeline {
    height: 100%;
}

/*Responsive for mobile */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100vh;
        background-color: #02050E;
        padding-top: 60px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
    }
    .navbar.active {
        transform: translateX(0);
    }
    .navbar a {
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .menu-toggle {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: white;
        position: fixed;
        top: 10px;
        left: 15px;
        z-index: 999;
    }
}