:root {
    --primary-color: #385297;
    --primary-color-dark: #314884;
    --primary-color-darker: #2A3E72;
    --primary-color-darkest: #23345F;
    --primary-color-light: #3F5CAA;
    --primary-color-lighter: #4767BB;
    --primary-color-lightest: #5A76C2;
    --code-font-size: 95%;
    --highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Align items on both sides */
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better visual appeal */
}

.left-header a {
    font-size: 1.5em; /* Increase font size for better visibility */
    font-weight: bold; /* Make the text bold */
    color: white; /* Ensure the text color is white */
    text-decoration: none; /* Remove underline */
}

.right-header a {
    font-size: 1.2em; /* Slightly larger font size */
    color: white; /* Ensure the text color is white */
    text-decoration: none; /* Remove underline */
}

.right-header a:hover, .left-header a:hover {
    text-decoration: underline; /* Add underline on hover for better interactivity */
}

.content {
    flex: 1;
    padding: 20px;
    text-align: center;
}

h1 {
    color: var(--primary-color-darkest);
}

h2 {
    color: var(--primary-color);
}

.categories {
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: center; /* Center the flex items */
    gap: 20px;
    margin-bottom: 40px;
}

.categories div {
    flex: 1;
    max-width: 200px; /* Limit the width to ensure spacing */
    text-align: center;
    background-color: white; /* Add background color for better contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.categories ul {
    list-style: none;
    padding: 0;
}

.categories ul li {
    margin: 10px 0;
}

.categories ul li a {
    text-decoration: none;
    color: var(--primary-color-lightest);
}

.categories ul li a:hover {
    text-decoration: underline;
}

.all-tools {
    margin-top: 40px;
    text-align: center;
}

.all-tools-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.all-tools-button:hover {
    background-color: var(--primary-color-dark);
}

#footer {
    background-color: var(--primary-color-dark);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9em;
    margin-top: auto; /* Pushes footer to the bottom of the page */
}
