@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Exile&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Limelight&family=Lora&family=Outfit:wght@100..900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --white: #ffffff;
    --light: #ffffff;
    --lightgrey: #c5c5c5;
    --black: #000000;
    --night: #121212;
    --darkgrey: #181818;
    --green: #007c15;
    --blue: #04adc4;
    --purple: #572cce;
    --orange: #ff1e00;
    --red: #ff0000;
    --orange: #d83503;
    --orangegold: #f36f04;
    --gold: #e69704;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll issues */
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-size: auto 100vh;
    background: url("../images/trees.jpg");
    background-size: cover;
    background-position: 50% 60%;
    background-attachment: fixed;
    background-color: var(--lightgrey);
    color: var(--darkgrey);
}

/* Start of: Night Light Toggle Mode Switch */

/* Credits: https://codepen.io/Umer_Farooq/pen/eYJgKGN */

body.dark {
    background-color: var(--night);
    color: var(--light)
}

body.dark .container {
    background-color: var(--night);
    color: var(--light)
}

body.dark h1,
body.dark .support a {
    color: var(--light);
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

.checkbox-label .ball {
  background-color: #fff;
  background-color: #037716;
  border:1px solid white;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}


.checkbox:checked+.checkbox-label .ball {
    transform: translateX(24px);
}

/* End of: Night Light Toggle Mode Switch */

/* Back to Top */

.back-to-top {
    /* margin-top:100px; */
    position: relative;
    left: 50%;
    bottom: 7px;
    transform: translateX(-50%) !important;
    text-align: center;
    font-family: 'Limelight', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--green);
    text-decoration: none;
    z-index: 3;
}

.back-to-top a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.sixtysixbooks {
    font-family: 'Limelight', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.sixtysixbooks:hover {
    color:var(--red);
    letter-spacing: 3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--light);
    color: var(--black);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    color: #4a2c2a;
    font-size: 1.8rem;
    margin-top: 300px;
}

#key {
    margin-top: 40px;
}

#fifty {
    text-align: center;
    margin-top: 49px;
}

img {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    width: 400px;
    height: auto;
    border: 1px solid black;
}

p,
blockquote {
    font-size: 1.1rem;
    margin: 10px 0;
}

blockquote {
    border-left: 4px solid #4a2c2a;
    padding-left: 15px;
    color: #555;
    font-style: italic;
}

.prophecy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.prophecy-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.prophecy-item:last-child {
    border-bottom: none;
}

.prophecy-item strong {
    color: #4a2c2a;
}

.source {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
}

.source a {
    color: #4a2c2a;
    text-decoration: none;
}

.source a:hover {
    text-decoration: underline;
}

.bible-link {
    color: #006400;
    /* Green */
    text-decoration: none;
    transition: color 0.3s ease;
}

.bible-link:hover {
    color: #8B4513;
    /* Brown */
    text-decoration: underline;
}



/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}


/* Start of: Custom Scrollbars */
/* Firefox (uncomment to work in Firefox, although other properties will not work!)  */
/* Custom Scrollbars */
* {
    scrollbar-width: thick;
    scrollbar-color: #FFD700 #1A3C34;
}

*::-webkit-scrollbar {
    width: 20px;
    /* Reduced from 40px to minimize layout impact */
    height: 20px;
    /* Reduced from 22px */
}

*::-webkit-scrollbar-track {
    background-color: #1A3C34;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-track:hover {
    background-color: #2E5A50;
}

*::-webkit-scrollbar-track:active {
    background-color: #0F2522;
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #FFD700;
    border: 2px solid #000000;
    min-height: 40px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #FFEA00;
}

*::-webkit-scrollbar-thumb:active {
    background-color: #DAA520;
}

/* Start of: Animations */

/* Start of: Media Queries */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .prophecy-list {
        grid-template-columns: 1fr;
    }

    .prophecy-item {
        padding: 8px;
    }
}