body {
    margin: 0;
    padding: 0;
    background-color: #FDFBDD;
}

:root {
    --page-padding-x: 20px;
    --section-space: 48px;
}

@media (min-width: 576px) {
    :root {
        --page-padding-x: 24px;
    }
}

@media (min-width: 768px) {
    :root {
        --page-padding-x: 24px;
        --section-space: 64px;
    }
}

input:focus, a:focus
{
    outline: none !important;
}


#bg {
    background: linear-gradient(to bottom, #FDFBDD, #FFF9A5, #86D39A);
    padding-bottom: 0;
}

#bg .container {
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
}

#bg .container.mt-5 {
    margin-top: var(--section-space);
    margin-bottom: 0;
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    padding-bottom: 120px;
}

@media (min-width: 768px) {
    .video-container {
        height: 100vh;
        padding-bottom: 200px;
    }
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    filter: brightness(60%);
    height: 100%;
    object-fit: cover;
}


.overlay-logo {
    position: absolute;
    top: 20px; /* Adjust distance from top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.overlay-logo img,
.hero-logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    color: white; /* Retro color */
}

.hero-slogan {
    font-family: 'Bungee', cursive;
    font-size: 4rem; /* Adjust size as needed */
    margin-bottom: 10px; /* Space between text elements */
}

.hero-subtext {
    font-family: 'Bungee', cursive;
    font-size: 1.5rem; /* Adjust size as needed */
}

@media (max-width: 767px) {
    .hero-slogan {
        font-size: 2rem !important;
    }
    .hero-subtext {
        font-size: 1rem !important;
    }
    .overlay-logo img,
    .hero-logo-img {
        max-width: 120px;
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .hero-slogan {
        font-size: 1.5rem !important;
    }
    .hero-subtext {
        font-size: 0.9rem !important;
    }
    .overlay-logo img,
    .hero-logo-img {
        max-width: 100px;
        max-height: 80px;
    }
}

.header-text {
    margin-top: 20px;
    font-size: 2.25rem;
    padding-bottom: 0;
    margin-bottom: -10px;
    font-family: 'Bungee' !important;
    font-weight: 500;
    color: #26402D;
}

.sub-header-text.section,
.section-subtext {
    font-size: 1.125rem;
    color: #26402D;
    font-weight: 500;
}

@media (min-width: 576px) {
    .header-text {
        font-size: 3.5rem;
    }
    .sub-header-text.section,
    .section-subtext {
        font-size: 1.25rem;
    }
}
.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* Adjust height to control where the fade starts */
    background: linear-gradient(to bottom, transparent, #FDFBDD);
    z-index: 1;
}

.image-section {
    margin-top: 64px;
    width: 100%;
    height: auto;
}

.image-section-signup {
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
}

@media (min-width: 768px) {
    .image-section {
        margin-top: 100px;
    }
}


@media (min-width: 768px) {
    .image-section > div,
    .image-section-signup {
        transform: translateY(30px) !important;
    }
    .header-text {
        font-size: 5.5rem !important;
    }
    .sub-header-text.section,
    .section-subtext {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .image-section > div,
    .image-section-signup {
        transform: translateY(-40px) !important;
    }
    .image-section {
        margin-top: 48px;
    }
}

.image-section img {
    width:100vw;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% auto; /* Ensures the image spans the full width */
    background-blend-mode: normal;
}

.early-access-heading {
    font-family: 'Bungee', cursive;
    color: #26402D;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 16px;
    padding-left: 0;
    padding-right: 0;
    line-height: 1.35;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .early-access-heading {
        font-size: 1.15rem;
        max-width: 580px;
    }
}

@media (min-width: 768px) {
    .early-access-heading {
        font-size: 1.35rem;
        max-width: 640px;
    }
}

.image-section-signup .input-group-newsletter {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
}

.festival-description {
    max-width: 720px;
    min-width: 260px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.festival-description p {
    color: #1A1A1A;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25em;
}

.festival-description p:last-child {
    margin-bottom: 0;
}

@media (min-width: 576px) {
    .festival-description p {
        font-size: 1rem;
    }
}

.custom-button {
    background-color: #F1D175; /* Button background color */
    color: #26402D; /* Text color */
    border: none; /* Remove default border */
    border-radius: 20px; /* Rounded corners */
    margin-top:5px;
    padding: 10px 20px; /* Adjust padding for size */
    min-height: 48px;
    font-family: 'Bungee', cursive; /* Font style */
    font-size: 1.5rem; /* Adjust text size */
    cursor: pointer; /* Pointer on hover */
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease; /* Add a transition effect */
    display: inline-block; /* Ensures it acts as a block for animation */
    box-shadow: 0px 4px 0px #b5915e; /* Slight shadow for a retro effect */
}

.custom-button:hover {
    text-decoration: none;
}

/* Hover effect */
.section-copy {
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.section-heading {
    font-family: 'Bungee', cursive;
    color: #1A1A1A;
    font-size: 2rem;
}

.section-lead {
    max-width: 650px;
    color: #1A1A1A;
    font-size: 1rem;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 576px) {
    .section-heading {
        font-size: 3rem;
    }
    .section-lead {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 4rem;
    }
}

#subscribe-button {
    background-color: #F1D175;
    color: #26402D;
    min-height: 48px;
    height: 56px;
    border: 2px solid #b5915e;
    border-radius: 0 20px 20px 0;
    padding: 10px 20px;
    font-family: 'Bungee', cursive;
    font-size: 0.875rem !important;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block;
    box-shadow: 0px 4px 0px #b5915e;
}

@media (min-width: 576px) {
    #subscribe-button {
        height: 75px;
        font-size: 1rem !important;
    }
}

#subscribe-button:hover {
    background-color: #d8b765;
}

/* Remove outline on focus */

@media (max-width: 500px) {
    .custom-input {
        font-size: 12px !important;
    }
    #subscribe-button {
        font-size: 12px;
    }
}

/* Newsletter section spacing */
.newsletter-section {
    padding-top: 48px;
    padding-bottom: 24px;
}

.newsletter-heading {
    font-family: 'Bungee', cursive;
    color: #1A1A1A;
    font-size: 1.65rem;
}

.newsletter-lead {
    color: #1A1A1A;
    padding-bottom: 20px;
    font-size: 0.9rem;
}

@media (min-width: 576px) {
    .newsletter-section {
        padding-top: 64px;
    }
    .newsletter-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .newsletter-section {
        padding-top: 100px;
    }
    .newsletter-heading {
        font-size: 3rem;
    }
}

/* Stack subscribe form on narrow screens – single wrapper so input and button align on mobile */
.input-group-newsletter {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 575px) {
    .input-group-newsletter {
        border: 3px solid #b5915e;
        border-radius: 20px;
        overflow: hidden;
    }
    .input-group-newsletter .custom-input {
        border: none !important;
        border-radius: 17px 17px 0 0 !important;
        border-bottom: 3px solid #b5915e !important;
        box-shadow: none !important;
        margin: 0;
        background-color: #fff;
    }
    .input-group-newsletter #subscribe-button {
        border: none !important;
        border-radius: 0 0 17px 17px !important;
        box-shadow: none !important;
        margin: 0;
    }
}

.input-group-newsletter .custom-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    height: 56px;
    box-sizing: border-box;
}

.input-group-newsletter #subscribe-button {
    flex-shrink: 0;
    border-radius: 0 0 20px 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .input-group-newsletter {
        border: none;
        border-radius: 0;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow: visible;
    }
    .input-group-newsletter .custom-input {
        flex: 1 1 0%;
        min-width: 0;
        width: auto;
        border-radius: 20px 0 0 20px;
        height: 75px;
    }
    .input-group-newsletter #subscribe-button {
        width: auto;
        flex: 0 0 auto;
        border-radius: 0 20px 20px 0;
    }
}

.custom-input {
    height: 56px;
    border: 2px solid #b5915e;
    border-radius: 20px 0 0 20px;
    padding: 10px 14px;
    font-family: 'Bungee', cursive;
    font-size: 0.8rem !important;
    color: #26402D;
    box-shadow: 0px 4px 0px #b5915e !important;
    outline: none !important;
    transition: border-color 0.3s ease;
}

@media (min-width: 576px) {
    .custom-input {
        height: 75px;
        padding: 10px;
        font-size: 1.15rem !important;
    }
}

.custom-input:focus {
    border-color: #b5915e;
}

@keyframes retro-bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Keyframes for retro bounce */
@keyframes retro-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



.custom-card.animate {
    animation: fadeInUp 0.5s forwards; /* Trigger animation */
}

.custom-card {
    border: none; /* Remove card border */
    background-color: #2B4532; /* Set card background */
    color: white; /* Ensure text is visible */
    
    border-radius: 20px; /* Increase border radius */
    overflow: hidden; /* Ensure content respects border radius */
}

.custom-card-header {
    padding-top:20px;
    font-size: 2em !important;
    border: none; /* Remove header border */
    background-color: #2B4532; /* Match card background */
    color: #FDFBDD; /* Ensure header text is visible */
}

.card-text {
    color: #FDFBDD; /* Set color for card description text */
    max-width: 250px;
    padding-bottom: 20px;
    margin: auto;
}

@media (max-width: 575px) {
    .card-text {
        max-width: none;
    }
}

.learn-more-link {
    font-size:1.2em;
    color: #FDFBDD !important; /* Custom color for "Learn More" text */
    text-decoration: none;
    font-weight: bold;
}

.learn-more-link:hover {
    text-decoration: underline; /* Add underline on hover */
}

.card-img-top {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: block;
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 220px;
    object-fit: contain;
}





footer h4, footer p {
    font-family: 'Bungee';
    color: #26402D;
}

.footer-section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
}

.footer-link {
    color: #26402D; /* Link color */
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-link:hover {
    color: #F1D175; /* Hover color */
    transform: translateY(-2px); /* Slight upward movement on hover */
}

.footer-coming-soon {
    font-size: 0.9em;
    color: #26402D;
    opacity: 0.85;
}

.footer-item-hidden {
    display: none;
}

.social-icon {
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: #F1D175; /* Hover color for social icons */
    transform: scale(1.1); /* Zoom effect on hover */
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Slight upward movement for a dynamic effect */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





.section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .section.in-view {
    opacity: 1;
    transform: translateY(0);
  }




  @keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Common styling for the overlay text */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    color: #F1D175; /* Retro color */
}

/* Hero slogan typewriter effect */
.hero-slogan {
    font-family: 'Bungee', cursive;
    font-size: 4rem; /* Default size */
    margin-bottom: 10px; /* Space between text elements */
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides the text initially */
    border-right: 0.15em solid #F1D175; /* Cursor */
    width: 0; /* Initial width */
    animation: typewriter 2s steps(20, end) 0.5s forwards, blink 0.75s step-end 2s; /* Typing and limited cursor blink */
    animation-fill-mode: forwards; /* Ensures animation state remains at the end */
}

/* Subtext typewriter effect */
.hero-subtext {
    font-family: 'Bungee', cursive;
    font-size: 1.5rem; /* Default size */
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides the text initially */
    border-right: 0.15em solid #F1D175; /* Cursor */
    width: 0; /* Initial width */
    animation: typewriter 2.5s steps(25, end) 2.5s forwards, blink 0.75s step-end 5s; /* Delayed typing and limited cursor blink */
    animation-fill-mode: forwards; /* Ensures animation state remains at the end */
}

/* Remove the blinking cursor after the animation */
.hero-slogan, .hero-subtext {
    animation-fill-mode: forwards;
}

.hero-slogan::after, .hero-subtext::after {
    content: '';
    border-right: none; /* Remove the cursor after typing animation */
    display: inline; /* Ensures content displays inline */
}

/* Ensure the border is hidden after the animation completes */
.hero-slogan, .hero-subtext {
    border-right: none; /* Remove cursor */
}

/* Responsive adjustments for hero typewriter */
@media (max-width: 768px) {
    .hero-slogan {
        font-size: 2rem !important;
    }

    .hero-subtext {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-slogan {
        font-size: 1.5rem !important;
    }

    .hero-subtext {
        font-size: 0.85rem !important;
    }
}
