/* Updated Styles with Martian Mono Font and Adjusted Font Sizes */

@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@400;500;600;700&display=swap');

body {
    font-family: 'Martian Mono', monospace;
    font-size: 16px; /* Adjusted base font size */
    color: #f0f0f0;
    background-color: #121212;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #1b1b1b;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #00ffcc;
}

.logo h1 {
    margin: 0;
    font-size: 2rem; /* Adjusted font size */
    color: #00ffcc;
}

.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1rem; /* Adjusted font size */
}

.navbar ul li a:hover {
    color: #00ffcc;
    text-shadow: 0px 0px 8px #00ffcc;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1b1b1b;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 2px solid #00ffcc;
    border-radius: 10px;
}

.dropdown-content a {
    color: #f0f0f0;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 1rem;
}

.dropdown-content a:hover {
    color: #00ffcc;
    text-shadow: 0px 0px 8px #00ffcc;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.section {
    padding: 40px 20px; /* Reduced padding to fit content better */
    text-align: center;
    flex: 1;
}

/* Custom styles for the stats section */
.section.stats .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.section.stats h2 {
    color: #00ffcc;
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

.section.stats table {
    width: 100%;
    border-collapse: collapse;
}

.section.stats th,
.section.stats td {
    border: 1px solid #00ffcc;
    padding: 10px;
    text-align: left;
    color: #f0f0f0;
}

.section.stats th {
    background-color: #1b1b1b;
    cursor: pointer;
}

.section.stats td a {
    color: #00ffcc;
    text-decoration: none;
}

.section.stats td a:hover {
    text-decoration: underline;
    color: #f0f0f0;
}

.section.stats p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: center;
}


.home {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home .intro h2 {
    font-size: 2.5rem; /* Adjusted font size */
    margin-bottom: 10px;
    color: #00ffcc;
}

.home .intro p {
    font-size: 1.25rem; /* Adjusted font size */
    margin-bottom: 20px;
}

.btn.neon {
    display: inline-block;
    padding: 10px 30px;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    text-decoration: none;
    font-size: 1rem; /* Adjusted font size */
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.btn.neon:hover {
    background-color: #00ffcc;
    color: #121212;
    box-shadow: 0px 0px 20px #00ffcc, 0px 0px 30px #00ffcc, 0px 0px 40px #00ffcc;
}

.features .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    background-color: #1b1b1b;
    padding: 20px;
    border: 2px solid #00ffcc;
    border-radius: 10px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #1b1b1b;
    border: 2px solid #00ffcc;
    color: #f0f0f0;
    font-size: 1rem;
}

.contact-form button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #1b1b1b;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.footer {
    background-color: #1b1b1b;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #00ffcc;
    margin-top: auto;
}

.footer p {
    margin: 0;
    color: #f0f0f0;
    font-size: 1rem;
}

.footer a {
    color: #00ffcc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #f0f0f0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-item {
    background-color: #1b1b1b;
    padding: 20px;
    border: 1px solid #00ffcc;
    border-radius: 10px;
}

.blog-item h3 {
    color: #00ffcc;
    margin-top: 0;
    font-size: 1.5rem; /* Adjusted font size */
}

.blog-item .date {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-item .summary {
    color: #ccc;
    font-size: 1rem; /* Adjusted font size */
}

.blog-item {
    margin-top: 10px;
    display: inline-block;
    padding: 10px 20px;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-item .btn.neon:hover {
    background-color: #00ffcc;
    color: #121212;
}

/* Servers Section */
.server-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.server-list li {
    padding: 15px 20px;
    border: 2px solid #00ffcc;
    background-color: #1b1b1b;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.server-info {
    margin-bottom: 15px;
    width: 100%;
    text-align: left;
}

.server-name {
    font-weight: bold;
    font-size: 1.5rem;
    color: #00ffcc;
    margin-bottom: 5px;
}

.server-location {
    color: #f0f0f0;
    font-size: 1rem;
    margin-bottom: 10px;
}

.server-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.server-details span {
    margin-right: 0;
    margin-bottom: 0;
}

.server-details .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #2a2a2a;
    border-radius: 5px;
}

.server-details .detail-label {
    font-weight: bold;
    color: #f0f0f0;
}

.server-details .protocol {
    background-color: #00ffcc;
    color: #121212;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
}

.ipv6-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 10px;
}

/* Media Query for Larger Screens */
@media (min-width: 1024px) {
    .server-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1440px) {
    .section {
        padding: 30px 10px;
    }
}

/* Chat Frame */
.chat-frame {
    width: 100%;
    border: none;
    overflow: hidden;
    flex: 1;
}

/* IRC Clients Section */
.irc-clients .client-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.client-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.client-item {
    background-color: #1b1b1b;
    padding: 20px;
    border: 2px solid #00ffcc;
    border-radius: 10px;
    width: 48%;
    text-align: left;
}

.client-item h3 {
    color: #00ffcc;
    margin-top: 0;
    font-size: 1.5rem; /* Adjusted font size */
}

.client-item p {
    color: #ccc;
    font-size: 1rem; /* Adjusted font size */
}

.client-item .btn.neon {
    margin-top: 10px;
    display: inline-block;
    padding: 10px 20px;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.client-item .btn.neon:hover {
    background-color: #00ffcc;
    color: #121212;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #f0f0f0;
    background-color: #1b1b1b;
    padding: 30px;
    border: 2px solid #00ffcc;
    border-radius: 10px;
}

.article-content h2 {
    color: #00ffcc;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem; /* Adjusted font size */
}

.article-content p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 1rem; /* Adjusted font size */
}

.article-content h3 {
    color: #00ffcc;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem; /* Adjusted font size */
}

.article-content .date {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
}

.article-content a.btn.neon {
    display: inline-block;
    margin-top: 20px;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    text-decoration: none;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.article-content a.btn.neon:hover {
    background-color: #00ffcc;
    color: #121212;
}

.etiquette-guidelines {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #f0f0f0;
    background-color: #1b1b1b;
    padding: 30px;
    border: 2px solid #00ffcc;
    border-radius: 10px;
}

.etiquette-guidelines .guideline-item {
    margin-bottom: 20px;
}

.etiquette-guidelines .guideline-item h3 {
    color: #00ffcc;
    margin-bottom: 10px;
}

.etiquette-guidelines .guideline-item p {
    color: #ccc;
    margin-bottom: 15px;
}

.etiquette-link {
    text-align: center;
    margin-top: 10px;
}

.etiquette-link a {
    color: #00ffcc;
    text-decoration: none;
    font-size: 1.2rem;
}

.etiquette-link a:hover {
    text-decoration: underline;
    color: #f0f0f0;
}

/* Dropdown Styles */
#wiki select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #1b1b1b;
    border: 2px solid #00ffcc;
    color: #00ffcc;
    font-family: 'Martian Mono', monospace;
    font-size: 1rem;
    border-radius: 5px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%2300ffcc" d="M2 0L0 2h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#wiki select:focus {
    border-color: #00ffcc;
    box-shadow: 0px 0px 10px #00ffcc;
    outline: none;
}

#wiki option {
    background-color: #1b1b1b;
    color: #00ffcc;
}

#wiki #honeypot {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}


/* Dropdown Styles */
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #1b1b1b; /* Background matches theme */
    border: 2px solid #00ffcc; /* Border matches theme */
    color: #00ffcc; /* Text color matches theme */
    font-family: 'Martian Mono', monospace; /* Matching font */
    font-size: 1rem;
    border-radius: 5px;
    box-sizing: border-box;
    -webkit-appearance: none; /* Remove default dropdown arrow in some browsers */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%2300ffcc" d="M2 0L0 2h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
    border-color: #00ffcc;
    box-shadow: 0px 0px 10px #00ffcc;
    outline: none;
}

option {
    background-color: #1b1b1b; /* Ensure dropdown options match the theme */
    color: #00ffcc;
}

#honeypot {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}
