/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
}


.wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Center header and footer */
header, footer {
    text-align: center;
    padding: 20px 0;
}

/* Navigation and featured image */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
}

.nav-links-left, .nav-links-right {
    display: flex;
    gap: 20px;
}

.nav-links-left a, .nav-links-right a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
}

.featured-image {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    margin-bottom: 0;
}

.featured-image img {
    height: 200px;
}

.title {
    font-size: 30px;
    font-family: 'Permanent Marker', cursive;
    text-align: center;
    margin-top: -20px;
}

/* FAQ section */
.faq-section {
    padding: 40px;
    font-size: 20px;
}

.faq-question {
    font-weight: bold;
    font-family: 'Permanent Marker', cursive;
    margin-bottom: 5px;
    font-size: 24px;
}

.faq-answer {
    font-family: 'Nunito', sans-serif;
    margin-bottom: 20px;
}

/* Main Content - 2 columns on desktop, 1 column on mobile */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 rectangles across */
    grid-gap: 10px; /* Set max gutter to 10px */
    padding: 20px 0;
}

.content-box {
    display: flex;
    align-items: center;
    justify-content: start;
    background-color: white;
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 470px; /* Ensure each box stays within bounds */
    font-family: 'Nunito', sans-serif;
}

.content-box img {
    width: 100px;
    height: 100px;
    margin-right: 15px;
}

.content-box:hover {
    background-color: lightorange;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    text-decoration: none;
    color: black;
    font-family: 'Nunito', sans-serif;
}


 .footer-nav sub {
	 text-align: center;
 }


/* Responsive layout for mobile devices */
@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
    }

    .nav-links-left, .nav-links-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar.active .nav-links-left, .navbar.active .nav-links-right {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: white;
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    /* Mobile layout for the grid */
    .content-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        grid-gap: 10px;
    }

    .content-box {
        max-width: 90%;
    }

    .content-box img {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }

    .featured-image img {
        height: 150px;
    }
}
