/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212; /* Dark background */
    color: #f4f4f4;
    padding: 20px;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    text-align: center;
    padding: 20px 0;
    background-color: #1a1a1a; /* Slightly lighter background */
}

header h1 {
    color: #00e676; /* Neon green, Apex theme color */
    font-size: 3rem;
    letter-spacing: 2px;
}

nav {
    background-color: #1a1a1a;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #00e676;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffffff;
}

/* Container and Card Layout */
.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card {
    background-color: #1f1f1f; /* Dark card background */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px); /* Elevates the card on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.card h2 {
    color: #00e676;
    font-size: 1.5rem;
}

.card p {
    color: #d0d0d0; /* Lighter text color */
}

/* Buttons */
button {
    background-color: #00e676;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: #00c85d; /* Darker green */
    color: #fff;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border: none; /* Remove borders between cells */
    color: #d0d0d0;
}

}

table th {
    background-color: #1a1a1a;
    color: #00e676;
}

table tr:nth-child(even) {
    background-color: #1f1f1f; /* Darker background for alternating rows */
}

table tr:nth-child(odd) {
    background-color: #121212; /* Slightly lighter for odd rows */
}

}

table tr:hover {
    background-color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #1a1a1a;
    margin-top: 20px;
    color: #d0d0d0;
}
/* Table header row styling */
table thead tr th, 
table thead tr td { /* Covers both <th> and <td> in header rows */
    background-color: #1a1a1a; /* Match the grey used in your website */
    color: #00e676; /* Neon green text for the header */
    font-weight: bold;
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #00e676; /* Green bottom border for headers */
    cursor: pointer; /* Indicate clickable sorting */
}

/* Data rows styling */
table tbody tr {
    background-color: #1f1f1f; /* Slightly darker grey for data rows */
    color: #d0d0d0; /* Light grey text for data */
}

table tbody tr:nth-child(even) {
    background-color: #121212; /* Alternate row color */
}

/* Hover effect for data rows */
table tbody tr:hover {
    background-color: #333333; /* Highlight row on hover */
}

/* Input box styling */
input[type="text"] {
    background-color: #1a1a1a; /* Grey input background */
    color: #00e676; /* Green text */
    border: 1px solid #00e676; /* Green border */
    padding: 5px;
    margin-bottom: 10px;
    width: 100%; /* Full width */
    font-size: 1rem;
}
img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}
/* Hide menu by default */
.menu {
    display: none;
}

/* Show menu on small screens */
@media screen and (max-width: 768px) {
    .menu {
        display: block;
    }
}
<div class="container">
    <div class="row">
        <div class="col-sm-6 col-md-4">Content</div>
        <div class="col-sm-6 col-md-4">Content</div>
        <div class="col-sm-6 col-md-4">Content</div>
    </div>
</div>

/* Flexbox Example */
.navbar {
    display: flex;
    flex-wrap: wrap; /* Wrap items on small screens */
    justify-content: space-between;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 1rem;
}
/* Default styles (Desktop-first) */
.container {
    width: 80%;
    margin: auto;
    font-size: 16px;
}

/* Styles for smaller screens */
@media screen and (max-width: 768px) {
    .container {
        width: 95%; /* Reduce width for mobile */
        font-size: 14px; /* Smaller text size */
    }
}

/* Very small screens */
@media screen and (max-width: 480px) {
    .container {
        font-size: 12px; /* Further reduce text size */
    }
}
/* Instead of a fixed width */
.container {
    width: 100%; /* Full width for mobile screens */
    padding: 1rem; /* Spacing using relative units */
}

/* Styling for team logos */
.team-logo {
    width: 80%; /* Adjust to fit nicely within its container */
    max-width: 120px; /* Ensures images don't exceed a specific size */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto;
    display: block;
}

/* Styling for team containers */
.team {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff; /* White background for contrast */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
}

/* Adjust text styling */
.team-name {
    font-size: 16px;
    font-weight: bold;
    color: #333; /* Legible dark color */
}

.team-record {
    font-size: 14px;
    color: #555; /* Slightly lighter dark color for secondary information */
}

/* Responsive grid layout for teams */
.teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive layout */
    gap: 15px;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .team-logo {
        max-width: 100px;
    }
    .team {
        padding: 10px;
    }
}
/* Styling for team logos */
.team-logo {
    width: 80%; /* Adjust to fit nicely within its container */
    max-width: 120px; /* Ensures images don't exceed a specific size */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto;
    display: block;
}

/* Styling for team containers */
.team {
    text-align: center;
    padding: 10px; /* Adds spacing around content */
    border-radius: 0; /* Removes rounded corners */
    background-color: transparent; /* Removes the white background */
    box-shadow: none; /* Removes shadow */
}

/* Adjust text styling */
.team-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff; /* White text for better contrast on dark background */
}

.team-record {
    font-size: 14px;
    color: #ddd; /* Light grey for secondary information */
}

/* Responsive grid layout for teams */
.teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive layout */
    gap: 15px;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .team-logo {
        max-width: 100px;
    }
    .team {
        padding: 5px;
    }
}
/* Styling for team logos */
.team-logo {
    width: 80%; /* Adjust to fit nicely within its container */
    max-width: 120px; /* Ensures images don't exceed a specific size */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto;
    display: block;
}

/* Styling for team containers */
.team {
    text-align: center;
    padding: 10px; /* Adds spacing around content */
    background-color: transparent; /* Transparent background */
    box-shadow: none; /* Removes shadow */
    border: none; /* Removes outline or border */
}

/* Adjust text styling */
.team-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff; /* White text for better contrast on dark background */
}

.team-record {
    font-size: 14px;
    color: #ddd; /* Light grey for secondary information */
}

/* Responsive grid layout for teams */
.teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive layout */
    gap: 15px;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .team-logo
/* Styling for conference titles */
h2 {
    text-align: center; /* Centers the main conference headers */
    color: #fff;
    margin-bottom: 20px;
}

/* Styling for division titles */
.division-title {
    text-align: center; /* Centers the division headers */
    color: #fff;
    margin-bottom: 10px;
}

/* Styling for team logos */
.team-logo {
    width: 80%;
    max-width: 120px; /* Ensures logos resize proportionally */
    height: auto;
    margin: 0 auto; /* Centers the logo within its container */
    display: block;
}

/* Styling for team containers */
.team {
    text-align: center; /* Centers all text within each team container */
    padding: 10px;
    background-color: transparent;
    box-shadow: none;
    border: none;
}

/* Adjust text styling */
.team-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.team-record {
    font-size: 14px;
    color: #ddd;
}

/* Responsive grid layout for teams */
.teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid layout */
    gap: 15px;
    justify-content: center; /* Centers the grid within the division */
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .team-logo {
        max-width: 100px;
    }
    .team {
        padding: 5px;
    }
}
#latest-news {
    padding: 20px;
    background-color: #222;
    color: #fff;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.news-article {
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-article h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-article p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
}

.news-article a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: bold;
}

.news-article a:hover {
    text-decoration: underline;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    text-align: center;
    background: #1e90ff;
    color: white;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

h2 {
    color: #1e90ff;
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0077cc;
}

.post {
    background: #f9f9f9;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.post h3 {
    margin-top: 0;
    color: #333;
}

.post button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.post button:hover {
    background-color: darkred;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #1e90ff;
    color: white;
    margin-top: 20px;
}
<section id="new-post">
    <h2>Add a New Post</h2>
    <form id="post-form">
        <label for="password">Password:</label>
        <input type="password" id="password" placeholder="Enter your password" required>
        <label for="title">Title:</label>
        <input type="text" id="title" placeholder="Enter the post title" required>
        <label for="content">Content:</label>
        <textarea id="content" placeholder="Write your post content here..." required></textarea>
        <button type="submit">Post</button>
    </form>
</section>

<hr>

<section id="posts">
    <h2>Blog Posts</h2>
    <div id="posts-container">
        <!-- Blog posts will appear dynamically -->
    </div>
</section>
/* Contact Us Button Styling */
.contact-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #00e676;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.contact-button:hover {
    background-color: #00c85d;
    color: #fff;
}
