body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.header {
    display: flex;
    justify-content: center; /* Centers logo horizontally */
    align-items: center; /* Centers logo vertically */
    width: 100%; /* Ensure full width */
    padding: 10px 0;
}

.logo {
    width: 20vw; /* 10% of the viewport width */
    max-width: 200px; /* Prevents it from getting too large */
    min-width: 60px; /* Prevents it from being too small */
    height: auto; /* Maintains aspect ratio */
}

.slogan {
	   display: flex;
	   width: 100%; 
	 justify-content: center; 
    align-items: center; 
    font-size: 1.2rem; /* Adjust as needed */
    color: #333;
    margin-top: 5px; /* Adds space between logo and slogan */
    font-weight: 500;
}


.forum-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Equal column widths */
    gap: 0; /* No space between the boxes */
    padding: 0; /* Remove padding */
    max-width: 90%; /* Keep the grid width restricted */
    margin: 0 auto; /* Center the grid horizontally */
}

.forum-section {
    background: #333;
    color: white;
    padding: 15px; /* Reduced padding */
    text-align: left; /* Left align the text */
  
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    height: 220px; /* Reduced height */
    margin: 0;
    width: 100%; /* Full width to fill the columns */
}

/* Remove rounded corners for touching boxes */
.forum-container .forum-section:nth-child(3n+1) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.forum-container .forum-section:nth-child(3n) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.forum-section h2 {
    font-size: 1.4em; /* Slightly smaller font size */
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-section p {
    font-size: 0.95em; /* Slightly smaller font size */
    margin: 0;
}

.sub-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
}

.sub-links a:hover {
    text-decoration: underline;
}

/* Color Coding for Sections */
.general { background: #777; }
.discover { background: #c00; }
.reviews { background: #004aad; }
.marketing { background: #a6a600; }
.earnings { background: #7d0096; }
.basics { background: #005f2f; }
.lounge { background: #ff00c3; }
.private { background: #007a00; }
.support { background: #333; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .forum-container {
        grid-template-columns: 1fr; /* 1 box per row */
    }
}

@media (max-width: 600px) {
    .forum-container {
        flex-direction: column; /* Stack vertically on very small screens */
    }

    /* Show paragraphs and sub-links on mobile */
    .forum-section p {
        display: block;
    }

    .sub-links {
        display: block;
        margin-top: 10px;
    }
}


