@font-face {
    font-family: 'Area InkTrap';
    src: url("../fonts/AreaInktrapSemibold/AreaInktrap-Semibold.woff2") format('woff2'),
        url("../fonts/AreaInktrapSemibold/AreaInktrap-Semibold.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Ensure background covers entire page */
body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    font-family: 'Area InkTrap';
    display: flex;
    flex-direction: column;
    -webkit-text-size-adjust: 100%; /* Prevents Safari from resizing text */
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw; 
    height: 100vh;
    background: radial-gradient(circle at bottom left, rgba(28, 98, 42, 1), rgba(0, 0, 0, 0.513) 18%);
    pointer-events: none;  
    z-index: 1; 
}


/* Background image covers entire screen */
.background {
    background: url('/images/scenarios/Future Botanica Intro.jpeg') no-repeat center center fixed;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  
}

/* Header always visible at the top */
.header {
    width: 100%;
    position: absolute;
    top: calc(50px + env(safe-area-inset-top)); /* Adjusts for iOS UI */
    text-align: center;
    z-index: 2;
    padding: 10px 0;
}

/* Headline */
h1 {
    color: #00f256;
    font-size: 250%;
    font-weight: bold;
    margin: 0;
}

.small-text {
    font-size:85%;  /* Adjust percentage for desired size */
    color: #00f256;
    font-style: italic; /* Optional: make it slightly italic */
    opacity: 0.85; /* Optional: reduce contrast slightly */
    white-space: normal;
}

/* Style the horizontal rule for better separation */
hr {
    border: none;
    height: 1px;
    background: #00f256;
    margin: 15px 0;
}
/* Ensure content + button are stacked */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 60px; /* Ensures button is not overlapped */
}

/* Scrollable content box */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    max-width: 1000px;
    margin: auto;
    overflow-y: auto; /* Allows scrolling */
    max-height: 70vh; /* Adjust height so button is always visible */
    z-index: 2;
}


/* Scrollable content */
.scrollable-text {
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 5vh;
    scrollbar-width: thin;
    scrollbar-color: #00f256 rgba(0, 0, 0, 0.5);
    text-align: left;
    max-height: 70vh; /* Prevents text from pushing the button */
    touch-action: pan-y; /* Allows vertical scrolling only */
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}


.scrollable-text p {
    color: #00f256;
    font-size: 18px;
    line-height: 1.4;
    white-space: pre-line;
}

/* Floating Button at Bottom */
.floating-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #00f256;
    font-weight: bold;
    color: black;
    border: none;
    padding: 12px 24px;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease-in-out;
    z-index: 1000;
}

.floating-button:hover {
    background: #00c244;
}

/* 🔹 Mobile Fixes */
@media screen and (max-width: 768px) {
    .content {
        width: 90%;
        padding: 20px;
    }

    h1 {
    }

    .scrollable-text p {
        font-size: 16px;
    }

    .floating-button {
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        bottom: 15px;
    }

    .header {
        top: 20px;
        
    }
}
