/* Global styles */
body {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    display: flex;
    justify-content: space-between; /* Adjusted to space-between */
    align-items: center; /* Adjusted to center vertically */
}
h1 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Add a media query for mobile devices */
@media screen and (max-width: 768px) {
    .pathfinder-menu {
        display: none;
    }

    /* Add additional styles for mobile responsiveness if needed */
}

/* Pathfinder-style CSS with updated menu styling */
/* Add styles for the homepage */
.home-content {
    padding: 20px;
}

.home-buttons {
    margin-top: 20px;
}

.pathfinder-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.pathfinder-button:hover {
    background-color: #0056b3;
}

/* Pathfinder menu items */
.pathfinder-menu {
    background-color: #333;
    color: #fff;
    padding: 20px;
    overflow-y: auto;
}

.pathfinder-menu ul {
    list-style-type: none;
    padding: 0;
}

.pathfinder-menu ul li {
    margin-bottom: 10px;
}

.pathfinder-menu ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    display: block;
    padding: 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.pathfinder-menu ul li a:hover {
    background-color: #0056b3;
}

/* General styles for both calculators */
.calculator-container {
    display: flex;
    justify-content: center; /* Adjusted to center horizontally */
    align-items: center;
    margin-top: 20px;
    min-height: 100vh;
    overflow-y: auto;
    padding-bottom: 100px;
}

.calculator {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 0 10px;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

input {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

/* Styling for "+" and "-" buttons */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pathfinder-button.increase,
.pathfinder-button.decrease {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#remaining-points-container,
#modifierlists,
#modifiers,
#race-modifiers,
#actual-scores {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    width: 100%; /* Updated to 100% for responsiveness */
    font-size: 20px;
}

/* Button hover effect */
.pathfinder-button:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Button focus effect */
.pathfinder-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.modifiers {
    flex: 1;
}

.character-statistics {
    flex: 1;
    margin-left: 10px;
    text-align: left; /* Align the content to the right */
}