﻿/* Global Reset and Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set font and background for the body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Title and Subtitle Styles */
h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.8em;
    color: #555;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Section Separator */
hr {
    border: 0;
    border-top: 2px solid #ddd;
    margin: 30px 0;
}

/* Section Headings */
h3 {
    font-size: 1.75em;
    color: #444;
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ccc;
    font-weight: bold;
     text-align: center;
}

/* Styling the <h4> tags */
h4 {
    font-size: 1.4em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Styling the <pre> tags for better readability */
pre {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Fira Code', 'Courier Prime', monospace; /* Softer modern monospaced fonts */
    line-height: 1.4;
    font-size: 1em;
}

/* You can also add a Google font link for Fira Code if it’s not already available: */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');

}

/* Wrapper around the table for centering */
.table-wrapper {
    width: 90%; /* Or any percentage depending on your design */
    max-width: 1200px; /* Optional: Sets a max width */
    margin: 0 auto; /* Center the wrapper */
    overflow-x: auto; /* Ensures horizontal scroll if the table is too wide */
}

/* Table Styling */
table {
    width: 100%; /* Full width of the parent wrapper */
    border-collapse: collapse;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

/* Table cell styling */
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    font-size: 1.1em;
}

/* Table header styling */
th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #555;
}

/* Table data cell styling */
td {
    background-color: #fff;
    color: #333;
}

/* Zebra striping for even rows */
tr:nth-child(even) td {
    background-color: #fafafa;
}

 
/* Link Styling */
a {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #0077cc;
    transition: color 0.3s, border-color 0.3s;
}

a:hover {
    color: #005fa3;
    border-bottom: 2px solid #005fa3;
}

/* General Paragraph Styling */
p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Button Styling for Interactive Elements */
button, a.button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 0;
    font-size: 1em;
    text-align: center;
    color: #fff;
    background-color: #0077cc;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, a.button:hover {
    background-color: #005fa3;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.3em;
    }

    table, pre {
        padding: 10px;
    }

    th, td {
        font-size: 1em;
    }

    p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.3em;
    }

    h4 {
        font-size: 1.2em;
    }

    th, td {
        font-size: 0.9em;
    }

    pre {
        padding: 8px;
    }

    body {
        padding: 15px;
    }
}
