/* Base font size for easier REM calculations */
html {
    font-size: 100%; /* Default 16px. You can adjust this if you want 1rem to be, say, 10px (set to 62.5%) */
    scroll-behavior: smooth; /* Optional: smooth scrolling when navigating to anchors */
}

/* Custom Scrollbar for WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    height: 12px; /* Height for horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: #f8e7ce; /* Lighter background for the track */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #b8860b; /* Golden color for the thumb */
    border-radius: 10px;
    border: 3px solid #f8e7ce; /* Border to create a "padding" effect */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8b5e3c; /* Darker golden on hover */
}


body {
    /* Using your preferred Google Fonts */
    font-family: 'Julee', cursive; /* Primary choice */
    /* Alternative if you prefer Caveat: font-family: 'Caveat', cursive; */
    /* Alternative if you prefer Indie Flower: font-family: 'Indie Flower', cursive; */

    background-color: #fff8e1;
    color: #3e2f1c;
    padding: 2rem; /* THIS WAS 2rem */
    max-width: 1000px; /* THIS WAS 1000px */
    margin: auto;
    line-height: 1.8; /* THIS WAS 1.8 */
    font-size: 1.25rem; /* THIS WAS 1.25rem */
}

h1 {
    font-family: 'Julee', cursive;
    color: #b8860b;
    text-align: center;
    font-size: 4.5rem; /* THIS WAS 4.5rem */
    margin-bottom: 0.5rem; /* THIS WAS 0.5rem */
}

h2 {
    font-family: 'Julee', cursive;
    text-align: center;
    font-size: 2rem; /* THIS WAS 2rem */
    margin-top: 0;
    color: #8b5e3c;
}

p {
    font-size: 1.5rem; /* THIS WAS 1.5rem */
    margin-bottom: 1.5rem; /* THIS WAS 1.5rem */
}

/* Styles for the large images */
.large-image {
    display: block;
    max-width: 100%; /* THIS WAS 100% */
    height: auto; /* THIS WAS auto */
    margin: 3rem auto; /* THIS WAS 3rem auto */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* THIS WAS 0 6px 12px rgba(0, 0, 0, 0.15) */
    border-radius: 10px; /* THIS WAS 10px */
}

.caption {
    text-align: center;
    font-style: italic;
    font-size: 1.25rem; /* THIS WAS 1.25rem */
    margin-bottom: 4rem; /* THIS WAS 4rem */
    margin-top: -1.5rem; /* THIS WAS -1.5rem */
}

a {
    color: #006400;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Fade-in styles (no change) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Video Embed (works for HTML5 <video> and iframes) */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 80%; /* Adjusted to be closer to image size, e.g., 80% of max-width */
    margin: 3rem auto; /* Center and add vertical spacing, consistent with images */
    background-color: #000; /* Background for letterboxing if needed */
    border-radius: 10px; /* Consistent with image corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Consistent with image shadow */
}

.video-responsive video,
.video-responsive iframe { /* This selector ensures the iframe is styled */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-text {
    margin-bottom: 0.5rem; /* Adjust spacing above the video */
}

/* --- Responsive Design with Media Queries --- */

/* For screens smaller than 768px (common tablet portrait and large phone landscape) */
@media (max-width: 768px) {
    body {
        padding: 1.5rem;
        font-size: 1.125rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 1.25rem;
    }

    .large-image {
        margin: 2rem auto;
        max-width: 98%;
    }

    .caption {
        font-size: 1.125rem;
        margin-bottom: 3rem;
        margin-top: -1rem;
    }

    .video-responsive {
        margin: 2rem auto;
        max-width: 90%; /* Adjust for tablets */
    }
}

/* For screens smaller than 480px (common phone portrait) */
@media (max-width: 480px) {
    body {
        padding: 1rem;
        font-size: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1.125rem;
    }

    .large-image {
        margin: 1.5rem auto;
        box-shadow: none;
        border-radius: 0;
    }

    .caption {
        font-size: 1rem;
        margin-bottom: 2rem;
        margin-top: -0.75rem;
    }

    .video-responsive {
        margin: 1.5rem auto;
        max-width: 100%; /* Full width on phones */
        box-shadow: none;
        border-radius: 0;
    }
}
/* Update this section in your style.css */
.copyright-notice {
    font-size: 1.5rem; /* Set to match your main paragraph text size */
    text-align: center;
    margin-top: 4rem;
    color: #6a5a40;
}

/* Media queries for the copyright notice */
@media (max-width: 768px) {
    .copyright-notice {
        font-size: 1.25rem; /* Match body font size for tablets */
        margin-top: 3rem;
    }
}
@media (max-width: 480px) {
    .copyright-notice {
        font-size: 1rem; /* Match body font size for phones */
        margin-top: 2rem;
    }
}