body {
    margin: 0;
    padding: 0;
    background-image: url('/assets/backgroundimagee.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* Ensure the body takes at least the full viewport height */

    
}



@font-face {
    font-family: 'RiverAdventures';
    src: url('../River Adventurer.ttf');
}

.container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    color: white;
    flex: 1; /* Allow the container to take up available space */
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Ensure vertical stacking of elements */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #004d00;
    font-family: 'RiverAdventures', sans-serif;
}

header img {
    height: 80px;
    width: auto;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute; /* Ensure it can be positioned freely */
    top: 10px; /* Adjust vertical alignment */
    right: 20px;
}

.burger-menu .line {
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 2px;
}

nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-grow: 1;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    background-color: #66b266;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    text-align: center;
}

nav ul li a:hover {
    background-color: #007700;
    transform: scale(1.05);
}

nav.active {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #004d00;
    color: white;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .burger-menu {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
    }

    nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        background-color: #004d00;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #66b266;
    }

    .container {
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Ensure vertical centering in responsive view */
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%; /* Make cards take full width on smaller screens */
        max-width: 400px; /* Optional: set a max width */
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap to the next line if necessary */
    gap: 20px; /* Space between cards */
    justify-content: center; /* Center the cards horizontally */
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    align-items: center;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px; /* Reduce the card width */
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 150px; /* Reduce the image height */
    object-fit: cover;
}

.card-content {
    color: black; /* Set text color to black */
}

.card-link {
    text-decoration: none;
    font-size: 1rem;
    color: #0066cc;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.2s;
    width: 150px; /* Set a consistent width for buttons */
    text-align: center;
}

.card-link:hover {
    color: #004099;
}

@media (max-width: 768px) {
    .card-link {
        width: 150px; /* Ensure consistent button size in responsive view */
    }
}

.content-block {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px; /* Reduce padding */
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    order: -1; /* Place the content block above other elements */
    width: 80%; /* Reduce the width */
    max-width: 600px; /* Set a maximum width */
}

.content-block h2 {
    font-size: 24px;
    color: #fffdfd;
    margin-bottom: 15px;
}

.content-block p {
    font-size: 16px;
    line-height: 1.6;
    color: #f3f0f0;
}

footer {
    background-color: #004d00;
    color: white;
    text-align: center;
    padding: 2px 0;
    width: 100%;
    position: relative; /* Ensure the footer is not sticky */
    bottom: 0;
    margin-top: auto;
    flex-shrink: 0; /* Prevent the footer from shrinking */
    font-family: Arial, Helvetica, sans-serif;

}