/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: white;
    color: black;
    line-height: 1.6;
    margin: 0 4rem;
    padding: 4rem 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #808080;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Paragraphs and Text */
p {
    margin-bottom: 1rem;
}

a {
    color: black;
    text-decoration: underline;
}

a:hover {
    opacity: 0.7;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

table {
    border-collapse: collapse;
}

th, td {
    border: 1px solid black; /* Adds a solid black border */
    padding: 8px; /* Adds spacing within the cells */
    text-align: left; /* Aligns text to the left */
}

th {
    background-color: #f2f2f2; /* Optional: Light background color for header */
}

.table-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows tables to wrap on smaller screens */
}

.table-wrapper {
    width: 30%; /* Adjust width as needed */
    margin: 10px; /* Adds space around each table */
}

.answer {
    display: none;
    margin-top: 10px;
    font-weight: bold;
    color: green;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        margin: 0 2rem;
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    ul {
        margin-left: 1rem;
    }

    li {
        margin-bottom: 0.25rem;
    }
}
